| 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_USER_TRAY_USER_H_ | 5 #ifndef ASH_SYSTEM_USER_TRAY_USER_H_ |
| 6 #define ASH_SYSTEM_USER_TRAY_USER_H_ | 6 #define ASH_SYSTEM_USER_TRAY_USER_H_ |
| 7 | 7 |
| 8 #include "ash/system/tray/system_tray_item.h" | 8 #include "ash/system/tray/system_tray_item.h" |
| 9 #include "ash/system/user/user_observer.h" | 9 #include "ash/system/user/user_observer.h" |
| 10 | 10 |
| 11 namespace views { | 11 namespace views { |
| 12 class ImageView; | 12 class ImageView; |
| 13 class Label; |
| 13 } | 14 } |
| 14 | 15 |
| 15 namespace ash { | 16 namespace ash { |
| 16 namespace internal { | 17 namespace internal { |
| 17 | 18 |
| 18 namespace tray { | 19 namespace tray { |
| 19 class UserView; | 20 class UserView; |
| 20 class RoundedImageView; | 21 class RoundedImageView; |
| 21 } | 22 } |
| 22 | 23 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 36 virtual void DestroyDetailedView() OVERRIDE; | 37 virtual void DestroyDetailedView() OVERRIDE; |
| 37 virtual void UpdateAfterLoginStatusChange(user::LoginStatus status) OVERRIDE; | 38 virtual void UpdateAfterLoginStatusChange(user::LoginStatus status) OVERRIDE; |
| 38 virtual void UpdateAfterShelfAlignmentChange( | 39 virtual void UpdateAfterShelfAlignmentChange( |
| 39 ShelfAlignment alignment) OVERRIDE; | 40 ShelfAlignment alignment) OVERRIDE; |
| 40 | 41 |
| 41 // Overridden from UserObserver. | 42 // Overridden from UserObserver. |
| 42 virtual void OnUserUpdate() OVERRIDE; | 43 virtual void OnUserUpdate() OVERRIDE; |
| 43 | 44 |
| 44 tray::UserView* user_; | 45 tray::UserView* user_; |
| 45 tray::RoundedImageView* avatar_; | 46 tray::RoundedImageView* avatar_; |
| 47 views::Label* label_; |
| 46 | 48 |
| 47 DISALLOW_COPY_AND_ASSIGN(TrayUser); | 49 DISALLOW_COPY_AND_ASSIGN(TrayUser); |
| 48 }; | 50 }; |
| 49 | 51 |
| 50 } // namespace internal | 52 } // namespace internal |
| 51 } // namespace ash | 53 } // namespace ash |
| 52 | 54 |
| 53 #endif // ASH_SYSTEM_USER_TRAY_USER_H_ | 55 #endif // ASH_SYSTEM_USER_TRAY_USER_H_ |
| OLD | NEW |