Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / ash / system / chromeos / audio / tray_audio_delegate_chromeos.h
blob0695e4bee4c63a6778b1c54dde69690f1d221007
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
3 // found in the LICENSE file.
5 #ifndef ASH_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_CHROMEOS_H_
6 #define ASH_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_CHROMEOS_H_
8 #include "ash/ash_export.h"
9 #include "ash/system/audio/tray_audio_delegate.h"
10 #include "base/compiler_specific.h"
12 namespace ash {
13 namespace system {
15 class ASH_EXPORT TrayAudioDelegateChromeOs : public TrayAudioDelegate {
16 public:
17 ~TrayAudioDelegateChromeOs() override {}
19 // Overridden from TrayAudioDelegate.
20 void AdjustOutputVolumeToAudibleLevel() override;
21 int GetOutputDefaultVolumeMuteLevel() override;
22 int GetOutputVolumeLevel() override;
23 int GetActiveOutputDeviceIconId() override;
24 bool HasAlternativeSources() override;
25 bool IsOutputAudioMuted() override;
26 void SetOutputAudioIsMuted(bool is_muted) override;
27 void SetOutputVolumeLevel(int level) override;
28 void SetInternalSpeakerChannelMode(AudioChannelMode mode) override;
29 void SetActiveHDMIOutoutRediscoveringIfNecessary(
30 bool force_rediscovering) override;
33 } // namespace system
34 } // namespace ash
36 #endif // ASH_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_CHROMEOS_H_