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_TRAY_USER_H_ | 5 #ifndef ASH_SYSTEM_USER_TRAY_USER_H_ |
6 #define ASH_SYSTEM_TRAY_USER_H_ | 6 #define ASH_SYSTEM_USER_TRAY_USER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "ash/system/tray/system_tray_item.h" | 9 #include "ash/system/tray/system_tray_item.h" |
10 | 10 |
11 namespace ash { | 11 namespace ash { |
12 namespace internal { | 12 namespace internal { |
13 | 13 |
14 class TrayUser : public SystemTrayItem { | 14 class TrayUser : public SystemTrayItem { |
15 public: | 15 public: |
16 TrayUser(); | 16 TrayUser(); |
17 virtual ~TrayUser(); | 17 virtual ~TrayUser(); |
18 | 18 |
19 private: | 19 private: |
20 // Overridden from SystemTrayItem | 20 // Overridden from SystemTrayItem |
21 virtual views::View* CreateTrayView() OVERRIDE; | 21 virtual views::View* CreateTrayView(user::LoginStatus status) OVERRIDE; |
22 virtual views::View* CreateDefaultView() OVERRIDE; | 22 virtual views::View* CreateDefaultView(user::LoginStatus status) OVERRIDE; |
23 virtual views::View* CreateDetailedView() OVERRIDE; | 23 virtual views::View* CreateDetailedView(user::LoginStatus status) OVERRIDE; |
24 virtual void DestroyTrayView() OVERRIDE; | 24 virtual void DestroyTrayView() OVERRIDE; |
25 virtual void DestroyDefaultView() OVERRIDE; | 25 virtual void DestroyDefaultView() OVERRIDE; |
26 virtual void DestroyDetailedView() OVERRIDE; | 26 virtual void DestroyDetailedView() OVERRIDE; |
27 | 27 |
28 DISALLOW_COPY_AND_ASSIGN(TrayUser); | 28 DISALLOW_COPY_AND_ASSIGN(TrayUser); |
29 }; | 29 }; |
30 | 30 |
31 } // namespace internal | 31 } // namespace internal |
32 } // namespace ash | 32 } // namespace ash |
33 | 33 |
34 #endif // ASH_SYSTEM_TRAY_USER_H_ | 34 #endif // ASH_SYSTEM_USER_TRAY_USER_H_ |
OLD | NEW |