diff options
author | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-23 21:51:00 +0000 |
---|---|---|
committer | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-23 21:51:00 +0000 |
commit | 5d1491d00579750acfc8e3939b26cc8a598e2125 (patch) | |
tree | b7a642bde96b3df5f17fa3002dc86c10a8dee1f2 /ash/system/tray_accessibility.cc | |
parent | 74cb8e591479014f1b715cba0aa89f8fcb256251 (diff) | |
download | chromium_src-5d1491d00579750acfc8e3939b26cc8a598e2125.zip chromium_src-5d1491d00579750acfc8e3939b26cc8a598e2125.tar.gz chromium_src-5d1491d00579750acfc8e3939b26cc8a598e2125.tar.bz2 |
ash: Animate changes in the uber tray.
Specifically, animate when a view in the tray hides/shows itself. For now, the
tray does not animate when the size of a view changes (e.g. date-view changes
size because it's 10:00).
BUG=117209
TEST=none
Review URL: https://chromiumcodereview.appspot.com/9969068
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133526 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/system/tray_accessibility.cc')
-rw-r--r-- | ash/system/tray_accessibility.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ash/system/tray_accessibility.cc b/ash/system/tray_accessibility.cc index 941ae21..1332d71 100644 --- a/ash/system/tray_accessibility.cc +++ b/ash/system/tray_accessibility.cc @@ -55,8 +55,8 @@ void TrayAccessibility::DestroyDetailedView() { void TrayAccessibility::OnAccessibilityModeChanged(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; |