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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 uint32_t changed_metrics) override; | 51 uint32_t changed_metrics) override; |
52 | 52 |
53 // Overridden from TrayImageItem. | 53 // Overridden from TrayImageItem. |
54 bool GetInitialVisibility() override; | 54 bool GetInitialVisibility() override; |
55 | 55 |
56 // Overridden from SystemTrayItem. | 56 // Overridden from SystemTrayItem. |
57 views::View* CreateDefaultView(LoginStatus status) override; | 57 views::View* CreateDefaultView(LoginStatus status) override; |
58 views::View* CreateDetailedView(LoginStatus status) override; | 58 views::View* CreateDetailedView(LoginStatus status) override; |
59 void DestroyDefaultView() override; | 59 void DestroyDefaultView() override; |
60 void DestroyDetailedView() override; | 60 void DestroyDetailedView() override; |
61 bool ShouldHideArrow() const override; | |
62 bool ShouldShowShelf() const override; | 61 bool ShouldShowShelf() const override; |
63 | 62 |
64 // Overridden from CrasAudioHandler::AudioObserver. | 63 // Overridden from CrasAudioHandler::AudioObserver. |
65 void OnOutputNodeVolumeChanged(uint64_t node_id, int volume) override; | 64 void OnOutputNodeVolumeChanged(uint64_t node_id, int volume) override; |
66 void OnOutputMuteChanged(bool mute_on, bool system_adjust) override; | 65 void OnOutputMuteChanged(bool mute_on, bool system_adjust) override; |
67 void OnAudioNodesChanged() override; | 66 void OnAudioNodesChanged() override; |
68 void OnActiveOutputNodeChanged() override; | 67 void OnActiveOutputNodeChanged() override; |
69 void OnActiveInputNodeChanged() override; | 68 void OnActiveInputNodeChanged() override; |
70 | 69 |
71 // Overridden from chromeos::PowerManagerClient::Observer. | 70 // Overridden from chromeos::PowerManagerClient::Observer. |
(...skipping 14 matching lines...) Expand all Loading... |
86 bool pop_up_volume_view_; | 85 bool pop_up_volume_view_; |
87 | 86 |
88 tray::AudioDetailedView* audio_detail_view_; | 87 tray::AudioDetailedView* audio_detail_view_; |
89 | 88 |
90 DISALLOW_COPY_AND_ASSIGN(TrayAudio); | 89 DISALLOW_COPY_AND_ASSIGN(TrayAudio); |
91 }; | 90 }; |
92 | 91 |
93 } // namespace ash | 92 } // namespace ash |
94 | 93 |
95 #endif // ASH_COMMON_SYSTEM_CHROMEOS_AUDIO_TRAY_AUDIO_H_ | 94 #endif // ASH_COMMON_SYSTEM_CHROMEOS_AUDIO_TRAY_AUDIO_H_ |
OLD | NEW |