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

Unified Diff: ash/system/audio/tray_volume.cc

Issue 10837062: Display the volume control detailed when user press mute button. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Show volume control UI when mute button is pressed. 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 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: ash/system/audio/tray_volume.cc
diff --git a/ash/system/audio/tray_volume.cc b/ash/system/audio/tray_volume.cc
index 0d63a8e50d8ca0508ccc51608040b0058ae08dab..6a24a4ee6be515676ec06007df8858bfae862e56 100644
--- a/ash/system/audio/tray_volume.cc
+++ b/ash/system/audio/tray_volume.cc
@@ -263,6 +263,8 @@ void TrayVolume::OnMuteToggled() {
if (volume_view_)
volume_view_->Update();
+ else
+ PopupDetailedView(kTrayPopupAutoCloseDelayInSeconds, false);
}
} // namespace internal
« 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