summaryrefslogtreecommitdiff
path: root/chromium/ui/base/models/combobox_model.cc
blob: c6913da55e5f3b370a2330fe0e5de3573e1d54fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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"

namespace ui {

bool ComboboxModel::IsItemSeparatorAt(int index) {
  return false;
}

int ComboboxModel::GetDefaultIndex() const {
  return 0;
}

bool ComboboxModel::IsItemEnabledAt(int index) const {
  return true;
}

}  // namespace ui