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

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

Issue 1031833005: Renaming MinuteMaid to NewGaiaFlow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed from comments. Created 5 years, 9 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 | chrome/browser/resources/chromeos/login/screen_gaia_signin.js » ('j') | 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 6c6a75911e21697b371ad6ed14e8f25c27e9678c..cc718ce8044d940627465172d02d8c6e18f60018 100644
--- a/chrome/browser/resources/chromeos/login/header_bar.js
+++ b/chrome/browser/resources/chromeos/login/header_bar.js
@@ -21,8 +21,8 @@ cr.define('login', function() {
// Whether guest button should be shown when header bar is in normal mode.
showGuest_: false,
- // Whehter MinuteMaid flow is active.
- isMinuteMaid_: false,
+ // Whether new Gaia flow is active.
+ isNewGaiaFlow_: false,
// Whether the reboot button should be shown the when header bar is in
// normal mode.
@@ -241,8 +241,8 @@ cr.define('login', function() {
this.updateUI_();
},
- set minuteMaid(value) {
- this.isMinuteMaid_ = value;
+ set newGaiaFlow(value) {
+ this.isNewGaiaFlow_ = value;
this.updateUI_();
},
@@ -330,17 +330,17 @@ cr.define('login', function() {
$('add-user-button').hidden =
!accountPickerIsActive || isMultiProfilesUI || isLockScreen;
- $('more-settings-header-bar-item').hidden = !this.isMinuteMaid_ ||
+ $('more-settings-header-bar-item').hidden = !this.isNewGaiaFlow_ ||
!this.showCreateSupervised_ ||
!accountPickerIsActive;
$('cancel-add-user-button').hidden =
- (gaiaIsActive && this.isMinuteMaid_) ||
+ (gaiaIsActive && this.isNewGaiaFlow_) ||
accountPickerIsActive ||
!this.allowCancel_ ||
wrongHWIDWarningIsActive ||
isMultiProfilesUI;
$('guest-user-header-bar-item').hidden =
- (gaiaIsActive && !this.isMinuteMaid_) ||
+ (gaiaIsActive && !this.isNewGaiaFlow_) ||
supervisedUserCreationDialogIsActive ||
!this.showGuest_ ||
wrongHWIDWarningIsActive ||
« 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