Commit 63b53ad3 authored by xiyuan@chromium.org's avatar xiyuan@chromium.org

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
parent 2e5f6241
......@@ -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
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment