Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 login.createScreen('OAuthEnrollmentScreen', 'oauth-enrollment', function() { | 5 login.createScreen('OAuthEnrollmentScreen', 'oauth-enrollment', function() { |
| 6 /** @const */ var STEP_SIGNIN = 'signin'; | 6 /** @const */ var STEP_SIGNIN = 'signin'; |
| 7 /** @const */ var STEP_WORKING = 'working'; | 7 /** @const */ var STEP_WORKING = 'working'; |
| 8 /** @const */ var STEP_ERROR = 'error'; | 8 /** @const */ var STEP_ERROR = 'error'; |
| 9 /** @const */ var STEP_SUCCESS = 'success'; | 9 /** @const */ var STEP_SUCCESS = 'success'; |
| 10 | 10 |
| (...skipping 15 matching lines...) Expand all Loading... | |
| 26 * Gaia auth params for sign in frame. | 26 * Gaia auth params for sign in frame. |
| 27 */ | 27 */ |
| 28 signInParams_: {}, | 28 signInParams_: {}, |
| 29 | 29 |
| 30 /** | 30 /** |
| 31 * The current step. This is the last value passed to showStep(). | 31 * The current step. This is the last value passed to showStep(). |
| 32 */ | 32 */ |
| 33 currentStep_: null, | 33 currentStep_: null, |
| 34 | 34 |
| 35 /** | 35 /** |
| 36 * Opaque token used to correlate request and response while retrieving the | |
| 37 * authenticated user's e-mail address from GAIA. | |
| 38 */ | |
| 39 attemptToken_: null, | |
|
dzhioev (left Google)
2015/03/18 20:38:27
This one is unused.
| |
| 40 | |
| 41 /** | |
| 42 * The help topic to show when the user clicks the learn more link. | 36 * The help topic to show when the user clicks the learn more link. |
| 43 */ | 37 */ |
| 44 learnMoreHelpTopicID_: null, | 38 learnMoreHelpTopicID_: null, |
| 45 | 39 |
| 46 /** | 40 /** |
| 47 * We block esc, back button and cancel button until gaia is loaded to | 41 * We block esc, back button and cancel button until gaia is loaded to |
| 48 * prevent multiple cancel events. | 42 * prevent multiple cancel events. |
| 49 */ | 43 */ |
| 50 isCancelDisabled_: null, | 44 isCancelDisabled_: null, |
| 51 | 45 |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 295 * Opens the learn more help topic. | 289 * Opens the learn more help topic. |
| 296 */ | 290 */ |
| 297 launchLearnMoreHelp_: function() { | 291 launchLearnMoreHelp_: function() { |
| 298 if (this.learnMoreHelpTopicID_) { | 292 if (this.learnMoreHelpTopicID_) { |
| 299 chrome.send('launchHelpApp', [this.learnMoreHelpTopicID_]); | 293 chrome.send('launchHelpApp', [this.learnMoreHelpTopicID_]); |
| 300 } | 294 } |
| 301 } | 295 } |
| 302 }; | 296 }; |
| 303 }); | 297 }); |
| 304 | 298 |
| OLD | NEW |