OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_AUDIO_TRAY_AUDIO_H_ | 5 #ifndef ASH_COMMON_SYSTEM_CHROMEOS_AUDIO_TRAY_AUDIO_H_ |
6 #define ASH_COMMON_SYSTEM_CHROMEOS_AUDIO_TRAY_AUDIO_H_ | 6 #define ASH_COMMON_SYSTEM_CHROMEOS_AUDIO_TRAY_AUDIO_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 uint32_t changed_metrics) override; | 44 uint32_t changed_metrics) override; |
45 | 45 |
46 // Overridden from TrayImageItem. | 46 // Overridden from TrayImageItem. |
47 bool GetInitialVisibility() override; | 47 bool GetInitialVisibility() override; |
48 | 48 |
49 // Overridden from SystemTrayItem. | 49 // Overridden from SystemTrayItem. |
50 views::View* CreateDefaultView(LoginStatus status) override; | 50 views::View* CreateDefaultView(LoginStatus status) override; |
51 views::View* CreateDetailedView(LoginStatus status) override; | 51 views::View* CreateDetailedView(LoginStatus status) override; |
52 void DestroyDefaultView() override; | 52 void DestroyDefaultView() override; |
53 void DestroyDetailedView() override; | 53 void DestroyDetailedView() override; |
54 bool ShouldHideArrow() const override; | |
55 bool ShouldShowShelf() const override; | 54 bool ShouldShowShelf() const override; |
56 | 55 |
57 // Overridden from AudioObserver. | 56 // Overridden from AudioObserver. |
58 void OnOutputNodeVolumeChanged(uint64_t node_id, double volume) override; | 57 void OnOutputNodeVolumeChanged(uint64_t node_id, double volume) override; |
59 void OnOutputMuteChanged(bool mute_on, bool system_adjust) override; | 58 void OnOutputMuteChanged(bool mute_on, bool system_adjust) override; |
60 void OnAudioNodesChanged() override; | 59 void OnAudioNodesChanged() override; |
61 void OnActiveOutputNodeChanged() override; | 60 void OnActiveOutputNodeChanged() override; |
62 void OnActiveInputNodeChanged() override; | 61 void OnActiveInputNodeChanged() override; |
63 | 62 |
64 // Overridden from chromeos::PowerManagerClient::Observer. | 63 // Overridden from chromeos::PowerManagerClient::Observer. |
(...skipping 14 matching lines...) Expand all Loading... |
79 bool pop_up_volume_view_; | 78 bool pop_up_volume_view_; |
80 | 79 |
81 tray::AudioDetailedView* audio_detail_view_; | 80 tray::AudioDetailedView* audio_detail_view_; |
82 | 81 |
83 DISALLOW_COPY_AND_ASSIGN(TrayAudio); | 82 DISALLOW_COPY_AND_ASSIGN(TrayAudio); |
84 }; | 83 }; |
85 | 84 |
86 } // namespace ash | 85 } // namespace ash |
87 | 86 |
88 #endif // ASH_COMMON_SYSTEM_CHROMEOS_AUDIO_TRAY_AUDIO_H_ | 87 #endif // ASH_COMMON_SYSTEM_CHROMEOS_AUDIO_TRAY_AUDIO_H_ |
OLD | NEW |