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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview Login UI header bar implementation. 6 * @fileoverview Login UI header bar implementation.
7 */ 7 */
8 8
9 cr.define('login', function() { 9 cr.define('login', function() {
10 /** 10 /**
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 /** 219 /**
220 * Animates Header bar to slowly appear on the screen. 220 * Animates Header bar to slowly appear on the screen.
221 */ 221 */
222 animateIn: function() { 222 animateIn: function() {
223 this.classList.remove('login-header-bar-animate-fast'); 223 this.classList.remove('login-header-bar-animate-fast');
224 this.classList.add('login-header-bar-animate-slow'); 224 this.classList.add('login-header-bar-animate-slow');
225 this.classList.remove('login-header-bar-hidden'); 225 this.classList.remove('login-header-bar-hidden');
226 }, 226 },
227 }; 227 };
228 228
229 /**
230 * Convenience wrapper of animateOut.
231 */
232 HeaderBar.animateOut = function(callback) {
233 $('login-header-bar').animateOut(callback);
234 };
235
236 /**
237 * Convenience wrapper of animateIn.
238 */
239 HeaderBar.animateIn = function() {
240 $('login-header-bar').animateIn();
241 }
242
229 return { 243 return {
230 HeaderBar: HeaderBar 244 HeaderBar: HeaderBar
231 }; 245 };
232 }); 246 });
OLDNEW
« 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