diff options
author | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-20 14:25:05 +0000 |
---|---|---|
committer | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-20 14:25:05 +0000 |
commit | 63b53ad3450930ae1b63e78f45a43d21f47583d1 (patch) | |
tree | 477a938f7e12c4ee768884d0c2e9d1b7ef0d3e78 | |
parent | 2e5f6241bce60b00eeb0d62d45b7c1a28075e132 (diff) | |
download | chromium_src-63b53ad3450930ae1b63e78f45a43d21f47583d1.zip chromium_src-63b53ad3450930ae1b63e78f45a43d21f47583d1.tar.gz chromium_src-63b53ad3450930ae1b63e78f45a43d21f47583d1.tar.bz2 |
cros: Fix header bar not showing up on lock screen.
login.HeaderBar.animateIn/Out is preferred during refactoring. However,
they are not properly wired. This CL fixes the problem.
BUG=233722
Review URL: https://codereview.chromium.org/14220004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195395 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/resources/chromeos/login/header_bar.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/chrome/browser/resources/chromeos/login/header_bar.js b/chrome/browser/resources/chromeos/login/header_bar.js index 85aff72..abffe5f 100644 --- a/chrome/browser/resources/chromeos/login/header_bar.js +++ b/chrome/browser/resources/chromeos/login/header_bar.js @@ -226,6 +226,20 @@ cr.define('login', function() { }, }; + /** + * Convenience wrapper of animateOut. + */ + HeaderBar.animateOut = function(callback) { + $('login-header-bar').animateOut(callback); + }; + + /** + * Convenience wrapper of animateIn. + */ + HeaderBar.animateIn = function() { + $('login-header-bar').animateIn(); + } + return { HeaderBar: HeaderBar }; |