| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_COMMON_SYSTEM_CHROMEOS_CAST_TRAY_CAST_H_ | 5 #ifndef ASH_COMMON_SYSTEM_CHROMEOS_CAST_TRAY_CAST_H_ |
| 6 #define ASH_COMMON_SYSTEM_CHROMEOS_CAST_TRAY_CAST_H_ | 6 #define ASH_COMMON_SYSTEM_CHROMEOS_CAST_TRAY_CAST_H_ |
| 7 | 7 |
| 8 #include "ash/common/cast_config_delegate.h" | 8 #include "ash/common/cast_config_delegate.h" |
| 9 #include "ash/common/shell_observer.h" | 9 #include "ash/common/shell_observer.h" |
| 10 #include "ash/common/system/tray/system_tray_item.h" | 10 #include "ash/common/system/tray/system_tray_item.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 | 12 |
| 13 namespace ash { | 13 namespace ash { |
| 14 namespace tray { | 14 namespace tray { |
| 15 class CastTrayView; | 15 class CastTrayView; |
| 16 class CastSelectDefaultView; | |
| 17 class CastDetailedView; | 16 class CastDetailedView; |
| 18 class CastDuplexView; | 17 class CastDuplexView; |
| 19 } // namespace tray | 18 } // namespace tray |
| 20 | 19 |
| 21 class ASH_EXPORT TrayCast : public SystemTrayItem, | 20 class ASH_EXPORT TrayCast : public SystemTrayItem, |
| 22 public ShellObserver, | 21 public ShellObserver, |
| 23 public CastConfigDelegate::Observer { | 22 public CastConfigDelegate::Observer { |
| 24 public: | 23 public: |
| 25 explicit TrayCast(SystemTray* system_tray); | 24 explicit TrayCast(SystemTray* system_tray); |
| 26 ~TrayCast() override; | 25 ~TrayCast() override; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 tray::CastTrayView* tray_ = nullptr; | 73 tray::CastTrayView* tray_ = nullptr; |
| 75 tray::CastDuplexView* default_ = nullptr; | 74 tray::CastDuplexView* default_ = nullptr; |
| 76 tray::CastDetailedView* detailed_ = nullptr; | 75 tray::CastDetailedView* detailed_ = nullptr; |
| 77 | 76 |
| 78 DISALLOW_COPY_AND_ASSIGN(TrayCast); | 77 DISALLOW_COPY_AND_ASSIGN(TrayCast); |
| 79 }; | 78 }; |
| 80 | 79 |
| 81 } // namespace ash | 80 } // namespace ash |
| 82 | 81 |
| 83 #endif // ASH_COMMON_SYSTEM_CHROMEOS_CAST_TRAY_CAST_H_ | 82 #endif // ASH_COMMON_SYSTEM_CHROMEOS_CAST_TRAY_CAST_H_ |
| OLD | NEW |