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

Side by Side Diff: ash/common/system/chromeos/audio/tray_audio_delegate.h

Issue 2483393002: chromeos: Combine TrayAudio and TrayAudioChromeOs classes (Closed)
Patch Set: rebase Created 4 years, 1 month 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
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_COMMON_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_H_ 5 #ifndef ASH_COMMON_SYSTEM_CHROMEOS_AUDIO_TRAY_AUDIO_DELEGATE_H_
6 #define ASH_COMMON_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_H_ 6 #define ASH_COMMON_SYSTEM_CHROMEOS_AUDIO_TRAY_AUDIO_DELEGATE_H_
7 7
8 namespace gfx { 8 namespace gfx {
9 struct VectorIcon; 9 struct VectorIcon;
10 } 10 }
11 11
12 namespace ash { 12 namespace ash {
13 namespace system { 13 namespace system {
14 14
15 class ASH_EXPORT TrayAudioDelegate { 15 class TrayAudioDelegate {
16 public: 16 public:
17 enum { kNoAudioDeviceIcon = -1 }; 17 enum { kNoAudioDeviceIcon = -1 };
18 enum AudioChannelMode { 18 enum AudioChannelMode {
19 NORMAL, 19 NORMAL,
20 LEFT_RIGHT_SWAPPED, 20 LEFT_RIGHT_SWAPPED,
21 }; 21 };
22 22
23 virtual ~TrayAudioDelegate() {} 23 virtual ~TrayAudioDelegate() {}
24 24
25 // Sets the volume level of the output device to the minimum level which is 25 // Sets the volume level of the output device to the minimum level which is
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 // |force_rediscovering| is true, it will force to set the starting point for 62 // |force_rediscovering| is true, it will force to set the starting point for
63 // re-discovering the active HDMI output device again if it has been in the 63 // re-discovering the active HDMI output device again if it has been in the
64 // middle of rediscovering the HDMI active output device. 64 // middle of rediscovering the HDMI active output device.
65 virtual void SetActiveHDMIOutoutRediscoveringIfNecessary( 65 virtual void SetActiveHDMIOutoutRediscoveringIfNecessary(
66 bool force_rediscovering) = 0; 66 bool force_rediscovering) = 0;
67 }; 67 };
68 68
69 } // namespace system 69 } // namespace system
70 } // namespace ash 70 } // namespace ash
71 71
72 #endif // ASH_COMMON_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_H_ 72 #endif // ASH_COMMON_SYSTEM_CHROMEOS_AUDIO_TRAY_AUDIO_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698