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

Side by Side Diff: chrome/browser/ui/autofill/account_chooser_model.h

Issue 627043002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[a-s]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_AUTOFILL_ACCOUNT_CHOOSER_MODEL_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_ACCOUNT_CHOOSER_MODEL_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_ACCOUNT_CHOOSER_MODEL_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_ACCOUNT_CHOOSER_MODEL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 public: 48 public:
49 // |disable_wallet| overrides the starting value, which is normally set by a 49 // |disable_wallet| overrides the starting value, which is normally set by a
50 // pref. 50 // pref.
51 AccountChooserModel(AccountChooserModelDelegate* delegate, 51 AccountChooserModel(AccountChooserModelDelegate* delegate,
52 Profile* profile, 52 Profile* profile,
53 bool disable_wallet, 53 bool disable_wallet,
54 const AutofillMetrics& metric_logger); 54 const AutofillMetrics& metric_logger);
55 virtual ~AccountChooserModel(); 55 virtual ~AccountChooserModel();
56 56
57 // ui::SimpleMenuModel::Delegate implementation. 57 // ui::SimpleMenuModel::Delegate implementation.
58 virtual bool IsCommandIdChecked(int command_id) const OVERRIDE; 58 virtual bool IsCommandIdChecked(int command_id) const override;
59 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE; 59 virtual bool IsCommandIdEnabled(int command_id) const override;
60 virtual bool GetAcceleratorForCommandId( 60 virtual bool GetAcceleratorForCommandId(
61 int command_id, 61 int command_id,
62 ui::Accelerator* accelerator) OVERRIDE; 62 ui::Accelerator* accelerator) override;
63 virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE; 63 virtual void ExecuteCommand(int command_id, int event_flags) override;
64 64
65 // Sets the selection to the given wallet account. 65 // Sets the selection to the given wallet account.
66 void SelectWalletAccount(size_t user_index); 66 void SelectWalletAccount(size_t user_index);
67 67
68 // Sets the selection to the local Autofill data. 68 // Sets the selection to the local Autofill data.
69 void SelectUseAutofill(); 69 void SelectUseAutofill();
70 70
71 // Returns true if there are any accounts for the user to choose from. 71 // Returns true if there are any accounts for the user to choose from.
72 bool HasAccountsToChoose() const; 72 bool HasAccountsToChoose() const;
73 73
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 // The names (emails) of the signed in accounts, gotten from the 129 // The names (emails) of the signed in accounts, gotten from the
130 // Online Wallet service. 130 // Online Wallet service.
131 std::vector<std::string> wallet_accounts_; 131 std::vector<std::string> wallet_accounts_;
132 132
133 DISALLOW_COPY_AND_ASSIGN(AccountChooserModel); 133 DISALLOW_COPY_AND_ASSIGN(AccountChooserModel);
134 }; 134 };
135 135
136 } // namespace autofill 136 } // namespace autofill
137 137
138 #endif // CHROME_BROWSER_UI_AUTOFILL_ACCOUNT_CHOOSER_MODEL_H_ 138 #endif // CHROME_BROWSER_UI_AUTOFILL_ACCOUNT_CHOOSER_MODEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/auto_login_infobar_delegate.cc ('k') | chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698