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

Side by Side Diff: ash/system/user/accounts_detailed_view.h

Issue 621133002: replace OVERRIDE and FINAL with override and final in ash/ (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
« no previous file with comments | « ash/system/tray_update.cc ('k') | ash/system/user/button_from_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 ASH_SYSTEM_USER_ACCOUNTS_DETAILED_VIEW_H_ 5 #ifndef ASH_SYSTEM_USER_ACCOUNTS_DETAILED_VIEW_H_
6 #define ASH_SYSTEM_USER_ACCOUNTS_DETAILED_VIEW_H_ 6 #define ASH_SYSTEM_USER_ACCOUNTS_DETAILED_VIEW_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 17 matching lines...) Expand all
28 class AccountsDetailedView : public TrayDetailsView, 28 class AccountsDetailedView : public TrayDetailsView,
29 public ViewClickListener, 29 public ViewClickListener,
30 public views::ButtonListener, 30 public views::ButtonListener,
31 public ash::tray::UserAccountsDelegate::Observer { 31 public ash::tray::UserAccountsDelegate::Observer {
32 public: 32 public:
33 AccountsDetailedView(TrayUser* owner, user::LoginStatus login_status); 33 AccountsDetailedView(TrayUser* owner, user::LoginStatus login_status);
34 virtual ~AccountsDetailedView(); 34 virtual ~AccountsDetailedView();
35 35
36 private: 36 private:
37 // Overridden from ViewClickListener. 37 // Overridden from ViewClickListener.
38 virtual void OnViewClicked(views::View* sender) OVERRIDE; 38 virtual void OnViewClicked(views::View* sender) override;
39 39
40 // Overridden from views::ButtonListener. 40 // Overridden from views::ButtonListener.
41 virtual void ButtonPressed(views::Button* sender, 41 virtual void ButtonPressed(views::Button* sender,
42 const ui::Event& event) OVERRIDE; 42 const ui::Event& event) override;
43 43
44 // Overridden from ash::tray::UserAccountsDelegate::Observer. 44 // Overridden from ash::tray::UserAccountsDelegate::Observer.
45 virtual void AccountListChanged() OVERRIDE; 45 virtual void AccountListChanged() override;
46 46
47 void AddHeader(user::LoginStatus login_status); 47 void AddHeader(user::LoginStatus login_status);
48 void AddAccountList(); 48 void AddAccountList();
49 void AddAddAccountButton(); 49 void AddAddAccountButton();
50 void AddFooter(); 50 void AddFooter();
51 51
52 void UpdateAccountList(); 52 void UpdateAccountList();
53 53
54 views::View* CreateDeleteButton(); 54 views::View* CreateDeleteButton();
55 55
56 ash::tray::UserAccountsDelegate* delegate_; 56 ash::tray::UserAccountsDelegate* delegate_;
57 views::View* account_list_; 57 views::View* account_list_;
58 views::View* add_account_button_; 58 views::View* add_account_button_;
59 views::View* add_user_button_; 59 views::View* add_user_button_;
60 std::map<views::View*, std::string> delete_button_to_account_id_; 60 std::map<views::View*, std::string> delete_button_to_account_id_;
61 61
62 DISALLOW_COPY_AND_ASSIGN(AccountsDetailedView); 62 DISALLOW_COPY_AND_ASSIGN(AccountsDetailedView);
63 }; 63 };
64 64
65 } // namespace tray 65 } // namespace tray
66 } // namespace ash 66 } // namespace ash
67 67
68 #endif // ASH_SYSTEM_USER_ACCOUNTS_DETAILED_VIEW_H_ 68 #endif // ASH_SYSTEM_USER_ACCOUNTS_DETAILED_VIEW_H_
OLDNEW
« no previous file with comments | « ash/system/tray_update.cc ('k') | ash/system/user/button_from_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698