From 63b53ad3450930ae1b63e78f45a43d21f47583d1 Mon Sep 17 00:00:00 2001 From: "xiyuan@chromium.org" Date: Sat, 20 Apr 2013 14:25:05 +0000 Subject: 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 --- chrome/browser/resources/chromeos/login/header_bar.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 }; -- cgit v1.1