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_AUDIO_TRAY_AUDIO_DELEGATE_H_ | 5 #ifndef ASH_COMMON_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_H_ |
6 #define ASH_COMMON_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_H_ | 6 #define ASH_COMMON_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_H_ |
7 | 7 |
8 namespace ash { | 8 namespace ash { |
9 namespace system { | 9 namespace system { |
10 | 10 |
11 class ASH_EXPORT TrayAudioDelegate { | 11 class ASH_EXPORT TrayAudioDelegate { |
12 public: | 12 public: |
13 | |
14 enum { kNoAudioDeviceIcon = -1 }; | 13 enum { kNoAudioDeviceIcon = -1 }; |
15 enum AudioChannelMode { | 14 enum AudioChannelMode { |
16 NORMAL, | 15 NORMAL, |
17 LEFT_RIGHT_SWAPPED, | 16 LEFT_RIGHT_SWAPPED, |
18 }; | 17 }; |
19 | 18 |
20 virtual ~TrayAudioDelegate() {} | 19 virtual ~TrayAudioDelegate() {} |
21 | 20 |
22 // Sets the volume level of the output device to the minimum level which is | 21 // Sets the volume level of the output device to the minimum level which is |
23 // deemed to be audible. | 22 // deemed to be audible. |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 // re-discovering the active HDMI output device again if it has been in the | 54 // re-discovering the active HDMI output device again if it has been in the |
56 // middle of rediscovering the HDMI active output device. | 55 // middle of rediscovering the HDMI active output device. |
57 virtual void SetActiveHDMIOutoutRediscoveringIfNecessary( | 56 virtual void SetActiveHDMIOutoutRediscoveringIfNecessary( |
58 bool force_rediscovering) = 0; | 57 bool force_rediscovering) = 0; |
59 }; | 58 }; |
60 | 59 |
61 } // namespace system | 60 } // namespace system |
62 } // namespace ash | 61 } // namespace ash |
63 | 62 |
64 #endif // ASH_COMMON_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_H_ | 63 #endif // ASH_COMMON_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_H_ |
OLD | NEW |