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

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

Issue 1131683004: Add close button to the supervised user pages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: linebreak closing tag Created 5 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/login/screen_supervised_user_creation.css » ('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 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 supervisedUserCreationDialogIsActiveAndNotIntro; 345 supervisedUserCreationDialogIsActiveAndNotIntro;
346 $('more-settings-header-bar-item').hidden = 346 $('more-settings-header-bar-item').hidden =
347 !this.showCreateSupervised_ || 347 !this.showCreateSupervised_ ||
348 isNewGaiaScreenWithBackButton || 348 isNewGaiaScreenWithBackButton ||
349 supervisedUserCreationDialogIsActive; 349 supervisedUserCreationDialogIsActive;
350 $('cancel-add-user-button').hidden = 350 $('cancel-add-user-button').hidden =
351 ((gaiaIsActive || isPasswordChangedUI) && this.isNewGaiaFlow_) || 351 ((gaiaIsActive || isPasswordChangedUI) && this.isNewGaiaFlow_) ||
352 accountPickerIsActive || 352 accountPickerIsActive ||
353 !this.allowCancel_ || 353 !this.allowCancel_ ||
354 wrongHWIDWarningIsActive || 354 wrongHWIDWarningIsActive ||
355 isMultiProfilesUI; 355 isMultiProfilesUI ||
356 supervisedUserCreationDialogIsActive;
356 $('guest-user-header-bar-item').hidden = 357 $('guest-user-header-bar-item').hidden =
357 (gaiaIsActive && !this.isNewGaiaFlow_) || 358 (gaiaIsActive && !this.isNewGaiaFlow_) ||
358 supervisedUserCreationDialogIsActiveAndNotIntro || 359 supervisedUserCreationDialogIsActiveAndNotIntro ||
359 !this.showGuest_ || 360 !this.showGuest_ ||
360 wrongHWIDWarningIsActive || 361 wrongHWIDWarningIsActive ||
361 isSamlPasswordConfirm || 362 isSamlPasswordConfirm ||
362 isMultiProfilesUI || 363 isMultiProfilesUI ||
363 isNewGaiaScreenWithBackButton; 364 isNewGaiaScreenWithBackButton;
364 $('restart-header-bar-item').hidden = !this.showReboot_; 365 $('restart-header-bar-item').hidden = !this.showReboot_;
365 $('shutdown-header-bar-item').hidden = !this.showShutdown_; 366 $('shutdown-header-bar-item').hidden = !this.showShutdown_;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 * Convenience wrapper of animateIn. 442 * Convenience wrapper of animateIn.
442 */ 443 */
443 HeaderBar.animateIn = function(fast, callback) { 444 HeaderBar.animateIn = function(fast, callback) {
444 $('login-header-bar').animateIn(fast, callback); 445 $('login-header-bar').animateIn(fast, callback);
445 }; 446 };
446 447
447 return { 448 return {
448 HeaderBar: HeaderBar 449 HeaderBar: HeaderBar
449 }; 450 };
450 }); 451 });
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/login/screen_supervised_user_creation.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698