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="../../login/screen.js"> | 9 <include src="../../../../../ui/login/screen.js"> |
10 <include src="screen_context.js"> | 10 <include src="screen_context.js"> |
11 <include src="../user_images_grid.js"> | 11 <include src="../user_images_grid.js"> |
12 <include src="apps_menu.js"> | 12 <include src="apps_menu.js"> |
13 <include src="../../login/bubble.js"> | 13 <include src="../../../../../ui/login/bubble.js"> |
14 <include src="../../login/display_manager.js"> | 14 <include src="../../../../../ui/login/display_manager.js"> |
15 <include src="header_bar.js"> | 15 <include src="header_bar.js"> |
16 <include src="network_dropdown.js"> | 16 <include src="network_dropdown.js"> |
17 <include src="oobe_screen_reset.js"> | 17 <include src="oobe_screen_reset.js"> |
18 <include src="oobe_screen_autolaunch.js"> | 18 <include src="oobe_screen_autolaunch.js"> |
19 <include src="oobe_screen_enable_kiosk.js"> | 19 <include src="oobe_screen_enable_kiosk.js"> |
20 <include src="oobe_screen_terms_of_service.js"> | 20 <include src="oobe_screen_terms_of_service.js"> |
21 <include src="oobe_screen_user_image.js"> | 21 <include src="oobe_screen_user_image.js"> |
22 <include src="../../login/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_locally_managed_user_creation.js"> | 26 <include src="screen_locally_managed_user_creation.js"> |
27 <include src="screen_password_changed.js"> | 27 <include src="screen_password_changed.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="../../login/user_pod_row.js"> | 32 <include src="../../../../../ui/login/account_picker/user_pod_row.js"> |
33 <include src="../../login/resource_loader.js"> | 33 <include src="../../../../../ui/login/resource_loader.js"> |
34 | 34 |
35 cr.define('cr.ui', function() { | 35 cr.define('cr.ui', function() { |
36 var DisplayManager = cr.ui.login.DisplayManager; | 36 var DisplayManager = cr.ui.login.DisplayManager; |
37 | 37 |
38 /** | 38 /** |
39 * Constructs an Out of box controller. It manages initialization of screens, | 39 * Constructs an Out of box controller. It manages initialization of screens, |
40 * transitions, error messages display. | 40 * transitions, error messages display. |
41 * @extends {DisplayManager} | 41 * @extends {DisplayManager} |
42 * @constructor | 42 * @constructor |
43 */ | 43 */ |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 cr.ui.login.ResourceLoader.loadAssets(SCREEN_OOBE_ENROLLMENT, function() { | 361 cr.ui.login.ResourceLoader.loadAssets(SCREEN_OOBE_ENROLLMENT, function() { |
362 // This screen is async-loaded so we manually trigger i18n processing. | 362 // This screen is async-loaded so we manually trigger i18n processing. |
363 i18nTemplate.process($('oauth-enrollment'), loadTimeData); | 363 i18nTemplate.process($('oauth-enrollment'), loadTimeData); |
364 // Delayed binding since this isn't defined yet. | 364 // Delayed binding since this isn't defined yet. |
365 login.OAuthEnrollmentScreen.register(); | 365 login.OAuthEnrollmentScreen.register(); |
366 }); | 366 }); |
367 | 367 |
368 // Delayed binding since this isn't defined yet. | 368 // Delayed binding since this isn't defined yet. |
369 cr.ui.Oobe.initialize(); | 369 cr.ui.Oobe.initialize(); |
370 }); | 370 }); |
OLD | NEW |