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

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

Issue 10408036: Modify the volume visuals: (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/chromeos/audio/audio_handler.cc ('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
diff --git a/chrome/browser/ui/views/ash/volume_controller_chromeos.cc b/chrome/browser/ui/views/ash/volume_controller_chromeos.cc
index d789dd07ec20407c6fd73b3417e36022698bc65b..37738ce53c47a044b00b7d4b4b0a029336311dfe 100644
--- a/chrome/browser/ui/views/ash/volume_controller_chromeos.cc
+++ b/chrome/browser/ui/views/ash/volume_controller_chromeos.cc
@@ -71,9 +71,6 @@ bool VolumeController::HandleVolumeUp(const ui::Accelerator& accelerator) {
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/chromeos/audio/audio_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698