| 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 ||
|
|
|