OLD | NEW |
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_CHROMEOS_SUPERVISED_TRAY_SUPERVISED_USER_H | 5 #ifndef ASH_SYSTEM_CHROMEOS_SUPERVISED_TRAY_SUPERVISED_USER_H |
6 #define ASH_SYSTEM_CHROMEOS_SUPERVISED_TRAY_SUPERVISED_USER_H | 6 #define ASH_SYSTEM_CHROMEOS_SUPERVISED_TRAY_SUPERVISED_USER_H |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "ash/system/chromeos/supervised/custodian_info_tray_observer.h" | 9 #include "ash/system/chromeos/supervised/custodian_info_tray_observer.h" |
10 #include "ash/system/tray/system_tray_item.h" | 10 #include "ash/system/tray/system_tray_item.h" |
11 #include "ash/system/tray/view_click_listener.h" | 11 #include "ash/system/tray/view_click_listener.h" |
| 12 #include "base/macros.h" |
12 #include "base/strings/string16.h" | 13 #include "base/strings/string16.h" |
13 | 14 |
14 namespace ash { | 15 namespace ash { |
15 class LabelTrayView; | 16 class LabelTrayView; |
16 class SystemTray; | 17 class SystemTray; |
17 | 18 |
18 class ASH_EXPORT TraySupervisedUser : public SystemTrayItem, | 19 class ASH_EXPORT TraySupervisedUser : public SystemTrayItem, |
19 public ViewClickListener, | 20 public ViewClickListener, |
20 public CustodianInfoTrayObserver { | 21 public CustodianInfoTrayObserver { |
21 public: | 22 public: |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 56 |
56 // Previous user supervised state to avoid showing notification upon unlock. | 57 // Previous user supervised state to avoid showing notification upon unlock. |
57 bool is_user_supervised_; | 58 bool is_user_supervised_; |
58 | 59 |
59 DISALLOW_COPY_AND_ASSIGN(TraySupervisedUser); | 60 DISALLOW_COPY_AND_ASSIGN(TraySupervisedUser); |
60 }; | 61 }; |
61 | 62 |
62 } // namespace ash | 63 } // namespace ash |
63 | 64 |
64 #endif // ASH_SYSTEM_CHROMEOS_SUPERVISED_TRAY_SUPERVISED_USER_H | 65 #endif // ASH_SYSTEM_CHROMEOS_SUPERVISED_TRAY_SUPERVISED_USER_H |
OLD | NEW |