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

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

Issue 19693018: Do not increase volume when user press Volume Up Button to unmute the audio output. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/volume_controller_chromeos.cc
diff --git a/chrome/browser/ui/ash/volume_controller_chromeos.cc b/chrome/browser/ui/ash/volume_controller_chromeos.cc
index db93e82a8abc04df1b545199af97e2b73d5470f9..6779b954d8854e4b13d4bbf0557f647865bac0cf 100644
--- a/chrome/browser/ui/ash/volume_controller_chromeos.cc
+++ b/chrome/browser/ui/ash/volume_controller_chromeos.cc
@@ -86,7 +86,8 @@ bool VolumeController::HandleVolumeUp(const ui::Accelerator& accelerator) {
if (audio_handler->IsOutputMuted())
audio_handler->SetOutputMute(false);
- audio_handler->AdjustOutputVolumeByPercent(kStepPercentage);
+ else
+ audio_handler->AdjustOutputVolumeByPercent(kStepPercentage);
return true;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698