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