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