| 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_COMMON_SYSTEM_CHROMEOS_AUDIO_TRAY_AUDIO_DELEGATE_CHROMEOS_H_ |
| 6 #define ASH_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_CHROMEOS_H_ | 6 #define ASH_COMMON_SYSTEM_CHROMEOS_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/common/system/chromeos/audio/tray_audio_delegate.h" |
| 10 | 10 |
| 11 namespace ash { | 11 namespace ash { |
| 12 namespace system { | 12 namespace system { |
| 13 | 13 |
| 14 class ASH_EXPORT TrayAudioDelegateChromeOs : public TrayAudioDelegate { | 14 class ASH_EXPORT TrayAudioDelegateChromeOs : public TrayAudioDelegate { |
| 15 public: | 15 public: |
| 16 ~TrayAudioDelegateChromeOs() override {} | 16 ~TrayAudioDelegateChromeOs() override {} |
| 17 | 17 |
| 18 // Overridden from TrayAudioDelegate. | 18 // Overridden from TrayAudioDelegate. |
| 19 void AdjustOutputVolumeToAudibleLevel() override; | 19 void AdjustOutputVolumeToAudibleLevel() override; |
| 20 int GetOutputDefaultVolumeMuteLevel() override; | 20 int GetOutputDefaultVolumeMuteLevel() override; |
| 21 int GetOutputVolumeLevel() override; | 21 int GetOutputVolumeLevel() override; |
| 22 const gfx::VectorIcon& GetActiveOutputDeviceVectorIcon() override; | 22 const gfx::VectorIcon& GetActiveOutputDeviceVectorIcon() override; |
| 23 bool HasAlternativeSources() override; | 23 bool HasAlternativeSources() override; |
| 24 bool IsOutputAudioMuted() override; | 24 bool IsOutputAudioMuted() override; |
| 25 void SetOutputAudioIsMuted(bool is_muted) override; | 25 void SetOutputAudioIsMuted(bool is_muted) override; |
| 26 void SetOutputVolumeLevel(int level) override; | 26 void SetOutputVolumeLevel(int level) override; |
| 27 void SetInternalSpeakerChannelMode(AudioChannelMode mode) override; | 27 void SetInternalSpeakerChannelMode(AudioChannelMode mode) override; |
| 28 void SetActiveHDMIOutoutRediscoveringIfNecessary( | 28 void SetActiveHDMIOutoutRediscoveringIfNecessary( |
| 29 bool force_rediscovering) override; | 29 bool force_rediscovering) override; |
| 30 }; | 30 }; |
| 31 | 31 |
| 32 } // namespace system | 32 } // namespace system |
| 33 } // namespace ash | 33 } // namespace ash |
| 34 | 34 |
| 35 #endif // ASH_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_CHROMEOS_H_ | 35 #endif // ASH_COMMON_SYSTEM_CHROMEOS_AUDIO_TRAY_AUDIO_DELEGATE_CHROMEOS_H_ |
| OLD | NEW |