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

Side by Side Diff: ash/system/tray/system_tray_delegate.h

Issue 10781021: Make audio volume icon HDC (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed comments Created 8 years, 5 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_TRAY_SYSTEM_TRAY_DELEGATE_H_ 5 #ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 141
142 // Shows help. 142 // Shows help.
143 virtual void ShowHelp() = 0; 143 virtual void ShowHelp() = 0;
144 144
145 // Is the system audio muted? 145 // Is the system audio muted?
146 virtual bool IsAudioMuted() const = 0; 146 virtual bool IsAudioMuted() const = 0;
147 147
148 // Mutes/Unmutes the audio system. 148 // Mutes/Unmutes the audio system.
149 virtual void SetAudioMuted(bool muted) = 0; 149 virtual void SetAudioMuted(bool muted) = 0;
150 150
151 // Gets the volume level. 151 // Gets the volume level. The range is [0, 1.0].
152 virtual float GetVolumeLevel() const = 0; 152 virtual float GetVolumeLevel() const = 0;
153 153
154 // Sets the volume level. 154 // Sets the volume level. The range is [0, 1.0].
155 virtual void SetVolumeLevel(float level) = 0; 155 virtual void SetVolumeLevel(float level) = 0;
156 156
157 // Gets whether the caps lock is on. 157 // Gets whether the caps lock is on.
158 virtual bool IsCapsLockOn() const = 0; 158 virtual bool IsCapsLockOn() const = 0;
159 159
160 // Sets the caps lock status to |enabled|. 160 // Sets the caps lock status to |enabled|.
161 virtual void SetCapsLockEnabled(bool enabled) = 0; 161 virtual void SetCapsLockEnabled(bool enabled) = 0;
162 162
163 // Attempts to shut down the system. 163 // Attempts to shut down the system.
164 virtual void ShutDown() = 0; 164 virtual void ShutDown() = 0;
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 // Opens the cellular network specific URL. 276 // Opens the cellular network specific URL.
277 virtual void ShowCellularURL(const std::string& url) = 0; 277 virtual void ShowCellularURL(const std::string& url) = 0;
278 278
279 // Shows UI for changing proxy settings. 279 // Shows UI for changing proxy settings.
280 virtual void ChangeProxySettings() = 0; 280 virtual void ChangeProxySettings() = 0;
281 }; 281 };
282 282
283 } // namespace ash 283 } // namespace ash
284 284
285 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 285 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/system/audio/tray_volume.cc ('k') | ui/resources/default_200_percent/ash/status_volume_dark.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698