Chromium Code Reviews| 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..dac439bcf86c07ae7f01416e6ed19af004aa9f9c 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 MinuteMaid flow is active. |
|
Nikita (slow)
2015/03/24 14:33:11
nit: remove MM
|
| + 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 || |