Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(356)

Side by Side Diff: ash/system/chromeos/audio/tray_audio_delegate_chromeos.h

Issue 2084533008: mash: Migrate tray audio and deps to common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync and rebase. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/system/chromeos/audio/tray_audio_chromeos.cc ('k') | ash/system/chromeos/tray_display.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/common/system/audio/tray_audio_delegate.h"
10 #include "base/compiler_specific.h"
11 10
12 namespace ash { 11 namespace ash {
13 namespace system { 12 namespace system {
14 13
15 class ASH_EXPORT TrayAudioDelegateChromeOs : public TrayAudioDelegate { 14 class ASH_EXPORT TrayAudioDelegateChromeOs : public TrayAudioDelegate {
16 public: 15 public:
17 ~TrayAudioDelegateChromeOs() override {} 16 ~TrayAudioDelegateChromeOs() override {}
18 17
19 // Overridden from TrayAudioDelegate. 18 // Overridden from TrayAudioDelegate.
20 void AdjustOutputVolumeToAudibleLevel() override; 19 void AdjustOutputVolumeToAudibleLevel() override;
21 int GetOutputDefaultVolumeMuteLevel() override; 20 int GetOutputDefaultVolumeMuteLevel() override;
22 int GetOutputVolumeLevel() override; 21 int GetOutputVolumeLevel() override;
23 int GetActiveOutputDeviceIconId() override; 22 int GetActiveOutputDeviceIconId() override;
24 bool HasAlternativeSources() override; 23 bool HasAlternativeSources() override;
25 bool IsOutputAudioMuted() override; 24 bool IsOutputAudioMuted() override;
26 void SetOutputAudioIsMuted(bool is_muted) override; 25 void SetOutputAudioIsMuted(bool is_muted) override;
27 void SetOutputVolumeLevel(int level) override; 26 void SetOutputVolumeLevel(int level) override;
28 void SetInternalSpeakerChannelMode(AudioChannelMode mode) override; 27 void SetInternalSpeakerChannelMode(AudioChannelMode mode) override;
29 void SetActiveHDMIOutoutRediscoveringIfNecessary( 28 void SetActiveHDMIOutoutRediscoveringIfNecessary(
30 bool force_rediscovering) override; 29 bool force_rediscovering) override;
31 }; 30 };
32 31
33 } // namespace system 32 } // namespace system
34 } // namespace ash 33 } // namespace ash
35 34
36 #endif // ASH_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_CHROMEOS_H_ 35 #endif // ASH_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_CHROMEOS_H_
OLDNEW
« no previous file with comments | « ash/system/chromeos/audio/tray_audio_chromeos.cc ('k') | ash/system/chromeos/tray_display.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698