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

Side by Side Diff: chrome/browser/resources/chromeos/login/header_bar.js

Issue 170313004: New kiosk UI: handle edge cases (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 6 years, 10 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 | chrome/browser/resources/chromeos/login/screen_gaia_signin.js » ('j') | 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 * If true then "Browse as Guest" button is shown. 157 * If true then "Browse as Guest" button is shown.
158 * 158 *
159 * @type {boolean} 159 * @type {boolean}
160 */ 160 */
161 set showGuestButton(value) { 161 set showGuestButton(value) {
162 this.showGuest_ = value; 162 this.showGuest_ = value;
163 this.updateUI_(); 163 this.updateUI_();
164 }, 164 },
165 165
166 /** 166 /**
167 * Update current header bar UI. 167 * Current header bar UI / sign in state.
168 * 168 *
169 * @type {number} state Current state of the sign-in screen (see 169 * @type {number} state Current state of the sign-in screen (see
170 * SIGNIN_UI_STATE). 170 * SIGNIN_UI_STATE).
171 */ 171 */
172 get signinUIState() {
173 return this.signinUIState_;
174 },
172 set signinUIState(state) { 175 set signinUIState(state) {
173 this.signinUIState_ = state; 176 this.signinUIState_ = state;
174 this.updateUI_(); 177 this.updateUI_();
175 }, 178 },
176 179
177 /** 180 /**
178 * Whether the Cancel button is enabled during Gaia sign-in. 181 * Whether the Cancel button is enabled during Gaia sign-in.
179 * 182 *
180 * @type {boolean} 183 * @type {boolean}
181 */ 184 */
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 * Convenience wrapper of animateIn. 284 * Convenience wrapper of animateIn.
282 */ 285 */
283 HeaderBar.animateIn = function() { 286 HeaderBar.animateIn = function() {
284 $('login-header-bar').animateIn(); 287 $('login-header-bar').animateIn();
285 } 288 }
286 289
287 return { 290 return {
288 HeaderBar: HeaderBar 291 HeaderBar: HeaderBar
289 }; 292 };
290 }); 293 });
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/login/screen_gaia_signin.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698