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

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

Issue 9969068: ash: Animate changes in the uber tray. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 8 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/ash.gyp ('k') | ash/system/date/tray_date.cc » ('j') | 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 b33d713d085b517ca8680860e78d85eb5231e09e..bd7606cc6539d790c4435ce03e04848b117fbcf1 100644
--- a/ash/system/audio/tray_volume.cc
+++ b/ash/system/audio/tray_volume.cc
@@ -192,8 +192,8 @@ void TrayVolume::DestroyDetailedView() {
}
void TrayVolume::OnVolumeChanged(float percent) {
- if (image_view())
- image_view()->SetVisible(GetInitialVisibility());
+ if (tray_view())
+ tray_view()->SetVisible(GetInitialVisibility());
if (volume_view_.get()) {
volume_view_->SetVolumeLevel(percent);
« no previous file with comments | « ash/ash.gyp ('k') | ash/system/date/tray_date.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698