| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 Common OOBE controller methods. | 6 * @fileoverview Common OOBE controller methods. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 <include src="../../../../../ui/login/screen.js"> | 9 <include src="../../../../../ui/login/screen.js"> |
| 10 <include src="screen_context.js"> | 10 <include src="screen_context.js"> |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 <include src="../../../../../ui/login/account_picker/screen_account_picker.js"> | 22 <include src="../../../../../ui/login/account_picker/screen_account_picker.js"> |
| 23 <include src="screen_app_launch_splash.js"> | 23 <include src="screen_app_launch_splash.js"> |
| 24 <include src="screen_error_message.js"> | 24 <include src="screen_error_message.js"> |
| 25 <include src="screen_gaia_signin.js"> | 25 <include src="screen_gaia_signin.js"> |
| 26 <include src="screen_password_changed.js"> | 26 <include src="screen_password_changed.js"> |
| 27 <include src="screen_supervised_user_creation.js"> | 27 <include src="screen_supervised_user_creation.js"> |
| 28 <include src="screen_tpm_error.js"> | 28 <include src="screen_tpm_error.js"> |
| 29 <include src="screen_wrong_hwid.js"> | 29 <include src="screen_wrong_hwid.js"> |
| 30 <include src="screen_confirm_password.js"> | 30 <include src="screen_confirm_password.js"> |
| 31 <include src="screen_fatal_error.js"> | 31 <include src="screen_fatal_error.js"> |
| 32 <include src="../../../../../ui/login/login_ui_tools.js"> |
| 32 <include src="../../../../../ui/login/account_picker/user_pod_row.js"> | 33 <include src="../../../../../ui/login/account_picker/user_pod_row.js"> |
| 33 <include src="../../../../../ui/login/resource_loader.js"> | 34 <include src="../../../../../ui/login/resource_loader.js"> |
| 34 | 35 |
| 35 cr.define('cr.ui', function() { | 36 cr.define('cr.ui', function() { |
| 36 var DisplayManager = cr.ui.login.DisplayManager; | 37 var DisplayManager = cr.ui.login.DisplayManager; |
| 37 | 38 |
| 38 /** | 39 /** |
| 39 * Constructs an Out of box controller. It manages initialization of screens, | 40 * Constructs an Out of box controller. It manages initialization of screens, |
| 40 * transitions, error messages display. | 41 * transitions, error messages display. |
| 41 * @extends {DisplayManager} | 42 * @extends {DisplayManager} |
| (...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 cr.ui.login.ResourceLoader.loadAssets(SCREEN_OOBE_ENROLLMENT, function() { | 362 cr.ui.login.ResourceLoader.loadAssets(SCREEN_OOBE_ENROLLMENT, function() { |
| 362 // This screen is async-loaded so we manually trigger i18n processing. | 363 // This screen is async-loaded so we manually trigger i18n processing. |
| 363 i18nTemplate.process($('oauth-enrollment'), loadTimeData); | 364 i18nTemplate.process($('oauth-enrollment'), loadTimeData); |
| 364 // Delayed binding since this isn't defined yet. | 365 // Delayed binding since this isn't defined yet. |
| 365 login.OAuthEnrollmentScreen.register(); | 366 login.OAuthEnrollmentScreen.register(); |
| 366 }); | 367 }); |
| 367 | 368 |
| 368 // Delayed binding since this isn't defined yet. | 369 // Delayed binding since this isn't defined yet. |
| 369 cr.ui.Oobe.initialize(); | 370 cr.ui.Oobe.initialize(); |
| 370 }); | 371 }); |
| OLD | NEW |