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

Unified Diff: ash/system/tray_caps_lock.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/system/tray_accessibility.cc ('k') | ash/system/tray_update.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray_caps_lock.cc
diff --git a/ash/system/tray_caps_lock.cc b/ash/system/tray_caps_lock.cc
index b2eb2285b3f400e443a25d3a90d4bf98d09baf4b..195ff0c3ac11d1afdbf3912bfa8677e791154806 100644
--- a/ash/system/tray_caps_lock.cc
+++ b/ash/system/tray_caps_lock.cc
@@ -55,8 +55,8 @@ void TrayCapsLock::DestroyDetailedView() {
void TrayCapsLock::OnCapsLockChanged(bool enabled,
int string_id) {
- if (image_view())
- image_view()->SetVisible(enabled);
+ if (tray_view())
+ tray_view()->SetVisible(enabled);
if (enabled) {
string_id_ = string_id;
« no previous file with comments | « ash/system/tray_accessibility.cc ('k') | ash/system/tray_update.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698