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

Unified Diff: chrome/browser/resources/chromeos/login/header_bar.js

Issue 14220004: cros: Fix header bar not showing up on lock screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/login/header_bar.js
diff --git a/chrome/browser/resources/chromeos/login/header_bar.js b/chrome/browser/resources/chromeos/login/header_bar.js
index 85aff7239d655b7eefb6373a2ff4615825352369..abffe5f782e3ff5f9f787c50d5084ba25aa4ca94 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
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698