OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_TRACING_H_ | 5 #ifndef ASH_SYSTEM_TRAY_TRACING_H_ |
6 #define ASH_SYSTEM_TRAY_TRACING_H_ | 6 #define ASH_SYSTEM_TRAY_TRACING_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "ash/system/tray/tray_image_item.h" | 9 #include "ash/system/tray/tray_image_item.h" |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 19 matching lines...) Expand all Loading... |
30 public TracingObserver { | 30 public TracingObserver { |
31 public: | 31 public: |
32 explicit TrayTracing(SystemTray* system_tray); | 32 explicit TrayTracing(SystemTray* system_tray); |
33 ~TrayTracing() override; | 33 ~TrayTracing() override; |
34 | 34 |
35 private: | 35 private: |
36 void SetTrayIconVisible(bool visible); | 36 void SetTrayIconVisible(bool visible); |
37 | 37 |
38 // Overridden from TrayImageItem. | 38 // Overridden from TrayImageItem. |
39 bool GetInitialVisibility() override; | 39 bool GetInitialVisibility() override; |
40 views::View* CreateDefaultView(user::LoginStatus status) override; | 40 views::View* CreateDefaultView(LoginStatus status) override; |
41 views::View* CreateDetailedView(user::LoginStatus status) override; | 41 views::View* CreateDetailedView(LoginStatus status) override; |
42 void DestroyDefaultView() override; | 42 void DestroyDefaultView() override; |
43 void DestroyDetailedView() override; | 43 void DestroyDetailedView() override; |
44 | 44 |
45 // Overridden from TracingObserver. | 45 // Overridden from TracingObserver. |
46 void OnTracingModeChanged(bool value) override; | 46 void OnTracingModeChanged(bool value) override; |
47 | 47 |
48 views::View* default_; | 48 views::View* default_; |
49 | 49 |
50 DISALLOW_COPY_AND_ASSIGN(TrayTracing); | 50 DISALLOW_COPY_AND_ASSIGN(TrayTracing); |
51 }; | 51 }; |
52 | 52 |
53 } // namespace ash | 53 } // namespace ash |
54 | 54 |
55 #endif // ASH_SYSTEM_TRAY_TRACING_H_ | 55 #endif // ASH_SYSTEM_TRAY_TRACING_H_ |
OLD | NEW |