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

Side by Side Diff: ash/system/chromeos/enterprise/tray_enterprise.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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_CHROMEOS_ENTERPRISE_TRAY_ENTERPRISE_H 5 #ifndef ASH_SYSTEM_CHROMEOS_ENTERPRISE_TRAY_ENTERPRISE_H
6 #define ASH_SYSTEM_CHROMEOS_ENTERPRISE_TRAY_ENTERPRISE_H 6 #define ASH_SYSTEM_CHROMEOS_ENTERPRISE_TRAY_ENTERPRISE_H
7 7
8 #include "ash/system/chromeos/enterprise/enterprise_domain_observer.h" 8 #include "ash/system/chromeos/enterprise/enterprise_domain_observer.h"
9 #include "ash/system/tray/system_tray_item.h" 9 #include "ash/system/tray/system_tray_item.h"
10 #include "ash/system/tray/view_click_listener.h" 10 #include "ash/system/tray/view_click_listener.h"
(...skipping 11 matching lines...) Expand all
22 public EnterpriseDomainObserver { 22 public EnterpriseDomainObserver {
23 public: 23 public:
24 explicit TrayEnterprise(SystemTray* system_tray); 24 explicit TrayEnterprise(SystemTray* system_tray);
25 virtual ~TrayEnterprise(); 25 virtual ~TrayEnterprise();
26 26
27 // If message is not empty updates content of default view, otherwise hides 27 // If message is not empty updates content of default view, otherwise hides
28 // tray items. 28 // tray items.
29 void UpdateEnterpriseMessage(); 29 void UpdateEnterpriseMessage();
30 30
31 // Overridden from SystemTrayItem. 31 // Overridden from SystemTrayItem.
32 virtual views::View* CreateDefaultView(user::LoginStatus status) OVERRIDE; 32 virtual views::View* CreateDefaultView(user::LoginStatus status) override;
33 virtual void DestroyDefaultView() OVERRIDE; 33 virtual void DestroyDefaultView() override;
34 34
35 // Overridden from EnterpriseDomainObserver. 35 // Overridden from EnterpriseDomainObserver.
36 virtual void OnEnterpriseDomainChanged() OVERRIDE; 36 virtual void OnEnterpriseDomainChanged() override;
37 37
38 // Overridden from ViewClickListener. 38 // Overridden from ViewClickListener.
39 virtual void OnViewClicked(views::View* sender) OVERRIDE; 39 virtual void OnViewClicked(views::View* sender) override;
40 40
41 private: 41 private:
42 LabelTrayView* tray_view_; 42 LabelTrayView* tray_view_;
43 43
44 DISALLOW_COPY_AND_ASSIGN(TrayEnterprise); 44 DISALLOW_COPY_AND_ASSIGN(TrayEnterprise);
45 }; 45 };
46 46
47 } // namespace ash 47 } // namespace ash
48 48
49 #endif // ASH_SYSTEM_CHROMEOS_ENTERPRISE_TRAY_ENTERPRISE_H 49 #endif // ASH_SYSTEM_CHROMEOS_ENTERPRISE_TRAY_ENTERPRISE_H
50 50
OLDNEW
« no previous file with comments | « ash/system/chromeos/brightness/tray_brightness.cc ('k') | ash/system/chromeos/keyboard_brightness_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698