Disable accessible touch exploration by default.
[chromium-blink-merge.git] / ash / system / win / audio / tray_audio_delegate_win.h
blob4014f95ff9f7b5eb5ed1608f64bbe933e5698222
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_WIN_AUDIO_TRAY_AUDIO_DELEGATE_WIN_H_
6 #define ASH_SYSTEM_WIN_AUDIO_TRAY_AUDIO_DELEGATE_WIN_H_
8 #include <audioclient.h>
9 #include <mmdeviceapi.h>
11 #include "ash/ash_export.h"
12 #include "ash/system/audio/tray_audio_delegate.h"
13 #include "base/compiler_specific.h"
14 #include "base/win/scoped_comptr.h"
16 namespace ash {
17 namespace system {
19 class ASH_EXPORT TrayAudioDelegateWin : public TrayAudioDelegate {
20 public:
21 virtual ~TrayAudioDelegateWin() {}
23 // Overridden from TrayAudioDelegate.
24 virtual void AdjustOutputVolumeToAudibleLevel() OVERRIDE;
25 virtual int GetOutputDefaultVolumeMuteLevel() OVERRIDE;
26 virtual int GetOutputVolumeLevel() OVERRIDE;
27 virtual int GetActiveOutputDeviceIconId() OVERRIDE;
28 virtual bool HasAlternativeSources() OVERRIDE;
29 virtual bool IsOutputAudioMuted() OVERRIDE;
30 virtual void SetOutputAudioIsMuted(bool is_muted) OVERRIDE;
31 virtual void SetOutputVolumeLevel(int level) OVERRIDE;
33 private:
34 base::win::ScopedComPtr<ISimpleAudioVolume> CreateDefaultVolumeControl();
37 } // namespace system
38 } // namespace ash
40 #endif // ASH_SYSTEM_WIN_AUDIO_TRAY_AUDIO_DELEGATE_WIN_H_