Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Side by Side Diff: chrome/browser/ui/passwords/account_chooser_more_combobox_model.h

Issue 1548993002: Switch to standard integer types in base/strings/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_PASSWORDS_ACCOUNT_CHOOSER_MORE_COMBOBOX_MODEL_H_ 5 #ifndef CHROME_BROWSER_UI_PASSWORDS_ACCOUNT_CHOOSER_MORE_COMBOBOX_MODEL_H_
6 #define CHROME_BROWSER_UI_PASSWORDS_ACCOUNT_CHOOSER_MORE_COMBOBOX_MODEL_H_ 6 #define CHROME_BROWSER_UI_PASSWORDS_ACCOUNT_CHOOSER_MORE_COMBOBOX_MODEL_H_
7 7
8 #include "base/macros.h"
8 #include "ui/base/models/combobox_model.h" 9 #include "ui/base/models/combobox_model.h"
9 10
10 // Model for the account chooser's "More" combobox. 11 // Model for the account chooser's "More" combobox.
11 class AccountChooserMoreComboboxModel : public ui::ComboboxModel { 12 class AccountChooserMoreComboboxModel : public ui::ComboboxModel {
12 public: 13 public:
13 AccountChooserMoreComboboxModel(); 14 AccountChooserMoreComboboxModel();
14 ~AccountChooserMoreComboboxModel() override; 15 ~AccountChooserMoreComboboxModel() override;
15 16
16 // Index constants. 17 // Index constants.
17 static const int INDEX_MORE; 18 static const int INDEX_MORE;
18 static const int INDEX_LEARN_MORE; 19 static const int INDEX_LEARN_MORE;
19 static const int INDEX_SETTINGS; 20 static const int INDEX_SETTINGS;
20 21
21 // ui::ComboboxModel: 22 // ui::ComboboxModel:
22 int GetItemCount() const override; 23 int GetItemCount() const override;
23 base::string16 GetItemAt(int index) override; 24 base::string16 GetItemAt(int index) override;
24 bool IsItemSeparatorAt(int index) override; 25 bool IsItemSeparatorAt(int index) override;
25 int GetDefaultIndex() const override; 26 int GetDefaultIndex() const override;
26 bool IsItemEnabledAt(int index) const override; 27 bool IsItemEnabledAt(int index) const override;
27 28
28 private: 29 private:
29 DISALLOW_COPY_AND_ASSIGN(AccountChooserMoreComboboxModel); 30 DISALLOW_COPY_AND_ASSIGN(AccountChooserMoreComboboxModel);
30 }; 31 };
31 32
32 #endif // CHROME_BROWSER_UI_PASSWORDS_ACCOUNT_CHOOSER_MORE_COMBOBOX_MODEL_H_ 33 #endif // CHROME_BROWSER_UI_PASSWORDS_ACCOUNT_CHOOSER_MORE_COMBOBOX_MODEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/search/search_resource_manager.h ('k') | chrome/installer/util/registry_entry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698