| 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 12 matching lines...) Expand all Loading... |
| 23 <include src="../../../../../ui/login/account_picker/screen_account_picker.js"> | 23 <include src="../../../../../ui/login/account_picker/screen_account_picker.js"> |
| 24 <include src="screen_app_launch_splash.js"> | 24 <include src="screen_app_launch_splash.js"> |
| 25 <include src="screen_error_message.js"> | 25 <include src="screen_error_message.js"> |
| 26 <include src="screen_gaia_signin.js"> | 26 <include src="screen_gaia_signin.js"> |
| 27 <include src="screen_password_changed.js"> | 27 <include src="screen_password_changed.js"> |
| 28 <include src="screen_supervised_user_creation.js"> | 28 <include src="screen_supervised_user_creation.js"> |
| 29 <include src="screen_tpm_error.js"> | 29 <include src="screen_tpm_error.js"> |
| 30 <include src="screen_wrong_hwid.js"> | 30 <include src="screen_wrong_hwid.js"> |
| 31 <include src="screen_confirm_password.js"> | 31 <include src="screen_confirm_password.js"> |
| 32 <include src="screen_fatal_error.js"> | 32 <include src="screen_fatal_error.js"> |
| 33 <include src="screen_device_disabled.js"> |
| 33 <include src="../../../../../ui/login/login_ui_tools.js"> | 34 <include src="../../../../../ui/login/login_ui_tools.js"> |
| 34 <include src="../../../../../ui/login/account_picker/user_pod_row.js"> | 35 <include src="../../../../../ui/login/account_picker/user_pod_row.js"> |
| 35 <include src="../../../../../ui/login/resource_loader.js"> | 36 <include src="../../../../../ui/login/resource_loader.js"> |
| 36 | 37 |
| 37 cr.define('cr.ui', function() { | 38 cr.define('cr.ui', function() { |
| 38 var DisplayManager = cr.ui.login.DisplayManager; | 39 var DisplayManager = cr.ui.login.DisplayManager; |
| 39 | 40 |
| 40 /** | 41 /** |
| 41 * Constructs an Out of box controller. It manages initialization of screens, | 42 * Constructs an Out of box controller. It manages initialization of screens, |
| 42 * transitions, error messages display. | 43 * transitions, error messages display. |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 document.addEventListener('DOMContentLoaded', function() { | 375 document.addEventListener('DOMContentLoaded', function() { |
| 375 if (!window['WAIT_FOR_POLYMER']) { | 376 if (!window['WAIT_FOR_POLYMER']) { |
| 376 initializeOobe(); | 377 initializeOobe(); |
| 377 return; | 378 return; |
| 378 } | 379 } |
| 379 window.addEventListener('polymer-ready', function() { | 380 window.addEventListener('polymer-ready', function() { |
| 380 initializeOobe(); | 381 initializeOobe(); |
| 381 }); | 382 }); |
| 382 }); | 383 }); |
| 383 })(); | 384 })(); |
| OLD | NEW |