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"
15 class ASH_EXPORT TrayAudioDelegateChromeOs
: public TrayAudioDelegate
{
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
;
36 #endif // ASH_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_CHROMEOS_H_