OLD | NEW |
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" |
11 | 11 |
12 namespace ash { | 12 namespace views { |
13 class SystemTray; | 13 class View; |
14 } | 14 } |
15 | 15 |
16 namespace ash { | 16 namespace ash { |
17 class LabelTrayView; | 17 class LabelTrayView; |
| 18 class SystemTray; |
18 | 19 |
19 class TrayEnterprise : public SystemTrayItem, | 20 class TrayEnterprise : public SystemTrayItem, |
20 public ViewClickListener, | 21 public ViewClickListener, |
21 public EnterpriseDomainObserver { | 22 public EnterpriseDomainObserver { |
22 public: | 23 public: |
23 explicit TrayEnterprise(SystemTray* system_tray); | 24 explicit TrayEnterprise(SystemTray* system_tray); |
24 virtual ~TrayEnterprise(); | 25 virtual ~TrayEnterprise(); |
25 | 26 |
26 // 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 |
27 // tray items. | 28 // tray items. |
(...skipping 12 matching lines...) Expand all Loading... |
40 private: | 41 private: |
41 LabelTrayView* tray_view_; | 42 LabelTrayView* tray_view_; |
42 | 43 |
43 DISALLOW_COPY_AND_ASSIGN(TrayEnterprise); | 44 DISALLOW_COPY_AND_ASSIGN(TrayEnterprise); |
44 }; | 45 }; |
45 | 46 |
46 } // namespace ash | 47 } // namespace ash |
47 | 48 |
48 #endif // ASH_SYSTEM_CHROMEOS_ENTERPRISE_TRAY_ENTERPRISE_H | 49 #endif // ASH_SYSTEM_CHROMEOS_ENTERPRISE_TRAY_ENTERPRISE_H |
49 | 50 |
OLD | NEW |