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

Unified Diff: ash/volume_control_delegate.h

Issue 10383108: Adding four bezel gestures (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixing build breakage Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/test/test_launcher_delegate.cc ('k') | ash/wm/system_gesture_event_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/volume_control_delegate.h
diff --git a/ash/volume_control_delegate.h b/ash/volume_control_delegate.h
index 46b3cf3a8f6be5e780c24e889d00889bde1493ac..d922ea689262c584b7699576ad673bbc9703f1f0 100644
--- a/ash/volume_control_delegate.h
+++ b/ash/volume_control_delegate.h
@@ -20,6 +20,10 @@ class VolumeControlDelegate {
virtual bool HandleVolumeMute(const ui::Accelerator& accelerator) = 0;
virtual bool HandleVolumeDown(const ui::Accelerator& accelerator) = 0;
virtual bool HandleVolumeUp(const ui::Accelerator& accelerator) = 0;
+
+ // Requests that the volume be set to |percent|, in the range
+ // [0.0, 100.0].
+ virtual void SetVolumePercent(double percent) = 0;
};
} // namespace ash
« no previous file with comments | « ash/test/test_launcher_delegate.cc ('k') | ash/wm/system_gesture_event_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698