// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_VIEWS_CONTROLS_COMBOBOX_EMPTY_COMBOBOX_MODEL_H_ #define UI_VIEWS_CONTROLS_COMBOBOX_EMPTY_COMBOBOX_MODEL_H_ #include "ui/base/models/combobox_model.h" namespace views { namespace internal { // An empty model for a combo box. class EmptyComboboxModel final : public ui::ComboboxModel { public: EmptyComboboxModel(); EmptyComboboxModel(EmptyComboboxModel&) = delete; EmptyComboboxModel& operator=(const EmptyComboboxModel&) = delete; ~EmptyComboboxModel() override; // ui::ComboboxModel: int GetItemCount() const override; base::string16 GetItemAt(int index) const override; int GetDefaultIndex() const override; }; } // namespace internal } // namespace views #endif // UI_VIEWS_CONTROLS_COMBOBOX_EMPTY_COMBOBOX_MODEL_H_