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

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

Issue 188693004: Revert of Enable the volume slider in Ash for windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « ash/ash.gyp ('k') | ash/system/tray/system_tray.cc » ('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_H_ 5 #ifndef ASH_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_H_
6 #define ASH_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_H_ 6 #define ASH_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_H_
7 7
8 namespace ash { 8 namespace ash {
9 namespace system { 9 namespace system {
10 10
11 class ASH_EXPORT TrayAudioDelegate { 11 class TrayAudioDelegate {
12 public: 12 public:
13 13
14 enum { kNoAudioDeviceIcon = -1 }; 14 enum { kNoAudioDeviceIcon = -1 };
15 15
16 virtual ~TrayAudioDelegate() {} 16 virtual ~TrayAudioDelegate() {}
17 17
18 // Sets the volume level of the output device to the minimum level which is 18 // Sets the volume level of the output device to the minimum level which is
19 // deemed to be audible. 19 // deemed to be audible.
20 virtual void AdjustOutputVolumeToAudibleLevel() = 0; 20 virtual void AdjustOutputVolumeToAudibleLevel() = 0;
21 21
(...skipping 17 matching lines...) Expand all
39 virtual void SetOutputAudioIsMuted(bool is_muted) = 0; 39 virtual void SetOutputAudioIsMuted(bool is_muted) = 0;
40 40
41 // Sets the volume level of the output device in the range 0%-100% 41 // Sets the volume level of the output device in the range 0%-100%
42 virtual void SetOutputVolumeLevel(int level) = 0; 42 virtual void SetOutputVolumeLevel(int level) = 0;
43 }; 43 };
44 44
45 } // namespace system 45 } // namespace system
46 } // namespace ash 46 } // namespace ash
47 47
48 #endif // ASH_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_H_ 48 #endif // ASH_SYSTEM_AUDIO_TRAY_AUDIO_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/ash.gyp ('k') | ash/system/tray/system_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698