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_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_CHROMEOS_H_ | 5 #ifndef ASH_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_CHROMEOS_H_ |
6 #define ASH_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_CHROMEOS_H_ | 6 #define ASH_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_CHROMEOS_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "ash/system/audio/tray_audio_delegate.h" | 9 #include "ash/system/audio/tray_audio_delegate.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 | 11 |
12 namespace ash { | 12 namespace ash { |
13 namespace system { | 13 namespace system { |
14 | 14 |
15 class ASH_EXPORT TrayAudioDelegateChromeOs : public TrayAudioDelegate { | 15 class ASH_EXPORT TrayAudioDelegateChromeOs : public TrayAudioDelegate { |
16 public: | 16 public: |
17 virtual ~TrayAudioDelegateChromeOs() {} | 17 virtual ~TrayAudioDelegateChromeOs() {} |
18 | 18 |
19 // Overridden from TrayAudioDelegate. | 19 // Overridden from TrayAudioDelegate. |
20 virtual void AdjustOutputVolumeToAudibleLevel() OVERRIDE; | 20 virtual void AdjustOutputVolumeToAudibleLevel() override; |
21 virtual int GetOutputDefaultVolumeMuteLevel() OVERRIDE; | 21 virtual int GetOutputDefaultVolumeMuteLevel() override; |
22 virtual int GetOutputVolumeLevel() OVERRIDE; | 22 virtual int GetOutputVolumeLevel() override; |
23 virtual int GetActiveOutputDeviceIconId() OVERRIDE; | 23 virtual int GetActiveOutputDeviceIconId() override; |
24 virtual bool HasAlternativeSources() OVERRIDE; | 24 virtual bool HasAlternativeSources() override; |
25 virtual bool IsOutputAudioMuted() OVERRIDE; | 25 virtual bool IsOutputAudioMuted() override; |
26 virtual void SetOutputAudioIsMuted(bool is_muted) OVERRIDE; | 26 virtual void SetOutputAudioIsMuted(bool is_muted) override; |
27 virtual void SetOutputVolumeLevel(int level) OVERRIDE; | 27 virtual void SetOutputVolumeLevel(int level) override; |
28 virtual void SetInternalSpeakerChannelMode(AudioChannelMode mode) OVERRIDE; | 28 virtual void SetInternalSpeakerChannelMode(AudioChannelMode mode) override; |
29 }; | 29 }; |
30 | 30 |
31 } // namespace system | 31 } // namespace system |
32 } // namespace ash | 32 } // namespace ash |
33 | 33 |
34 #endif // ASH_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_CHROMEOS_H_ | 34 #endif // ASH_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_CHROMEOS_H_ |
OLD | NEW |