// Copyright (c) 2012 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. #include "ui/base/models/combobox_model.h" #include "ui/base/models/image_model.h" namespace ui { base::string16 ComboboxModel::GetDropDownTextAt(int index) const { return GetItemAt(index); } base::string16 ComboboxModel::GetDropDownSecondaryTextAt(int index) const { return base::string16(); } ImageModel ComboboxModel::GetIconAt(int index) const { return ui::ImageModel(); } ImageModel ComboboxModel::GetDropDownIconAt(int index) const { return GetIconAt(index); } bool ComboboxModel::IsItemSeparatorAt(int index) const { return false; } int ComboboxModel::GetDefaultIndex() const { return 0; } bool ComboboxModel::IsItemEnabledAt(int index) const { return true; } } // namespace ui