Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / ui / passwords / account_chooser_more_combobox_model.h
blobbfc8e608cb3398ae5819ac859eb465278f4cd35f
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_PASSWORDS_ACCOUNT_CHOOSER_MORE_COMBOBOX_MODEL_H_
6 #define CHROME_BROWSER_UI_PASSWORDS_ACCOUNT_CHOOSER_MORE_COMBOBOX_MODEL_H_
8 #include "ui/base/models/combobox_model.h"
10 // Model for the account chooser's "More" combobox.
11 class AccountChooserMoreComboboxModel : public ui::ComboboxModel {
12 public:
13 AccountChooserMoreComboboxModel();
14 ~AccountChooserMoreComboboxModel() override;
16 // Index constants.
17 static const int INDEX_MORE;
18 static const int INDEX_LEARN_MORE;
19 static const int INDEX_SETTINGS;
21 // ui::ComboboxModel:
22 int GetItemCount() const override;
23 base::string16 GetItemAt(int index) override;
24 bool IsItemSeparatorAt(int index) override;
25 int GetDefaultIndex() const override;
26 bool IsItemEnabledAt(int index) const override;
28 private:
29 DISALLOW_COPY_AND_ASSIGN(AccountChooserMoreComboboxModel);
32 #endif // CHROME_BROWSER_UI_PASSWORDS_ACCOUNT_CHOOSER_MORE_COMBOBOX_MODEL_H_