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

Unified Diff: chrome/browser/ui/views/ash/volume_controller_chromeos.cc

Issue 10412012: Revert 137968 - Adding four bezel gestures (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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 | « chrome/browser/ui/views/ash/volume_controller_chromeos.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/ash/volume_controller_chromeos.cc
===================================================================
--- chrome/browser/ui/views/ash/volume_controller_chromeos.cc (revision 137969)
+++ chrome/browser/ui/views/ash/volume_controller_chromeos.cc (working copy)
@@ -68,13 +68,3 @@
audio_handler->IsMuted());
return true;
}
-
-void VolumeController::SetVolumePercent(double percent) {
- chromeos::AudioHandler* audio_handler = chromeos::AudioHandler::GetInstance();
- if (audio_handler->IsMuted()) {
- audio_handler->SetMuted(false);
- }
- audio_handler->SetVolumePercent(percent);
- extensions::DispatchVolumeChangedEvent(audio_handler->GetVolumePercent(),
- audio_handler->IsMuted());
-}
« no previous file with comments | « chrome/browser/ui/views/ash/volume_controller_chromeos.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698