| 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 Shared data between oobe and the login screens. These files | 6 * @fileoverview Shared data between oobe and the login screens. These files |
| 7 * are *not* used in the lock screen. If a file should also be used in the lock | 7 * are *not* used in the lock screen. If a file should also be used in the lock |
| 8 * screen, added it to login_shared.js. | 8 * screen, added it to login_shared.js. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 // <include src="network_dropdown.js"> | 11 // <include src="network_dropdown.js"> |
| 12 | 12 |
| 13 // <include src="oobe_screen_reset_confirmation_overlay.js"> | 13 // <include src="oobe_screen_reset_confirmation_overlay.js"> |
| 14 // <include src="oobe_screen_reset.js"> | 14 // <include src="oobe_screen_reset.js"> |
| 15 // <include src="oobe_screen_autolaunch.js"> | 15 // <include src="oobe_screen_autolaunch.js"> |
| 16 // <include src="oobe_screen_enable_kiosk.js"> | 16 // <include src="oobe_screen_enable_kiosk.js"> |
| 17 // <include src="oobe_screen_terms_of_service.js"> | 17 // <include src="oobe_screen_terms_of_service.js"> |
| 18 // <include src="oobe_screen_user_image.js"> | 18 // <include src="oobe_screen_user_image.js"> |
| 19 // <include src="oobe_screen_voice_interaction_value_prop.js"> | 19 // <include src="oobe_screen_voice_interaction_value_prop.js"> |
| 20 // <include src="oobe_screen_wait_for_container_ready.js"> |
| 20 | 21 |
| 21 // <include src="screen_app_launch_splash.js"> | 22 // <include src="screen_app_launch_splash.js"> |
| 22 // <include src="screen_arc_kiosk_splash.js"> | 23 // <include src="screen_arc_kiosk_splash.js"> |
| 23 // <include src="screen_arc_terms_of_service.js"> | 24 // <include src="screen_arc_terms_of_service.js"> |
| 24 // <include src="screen_error_message.js"> | 25 // <include src="screen_error_message.js"> |
| 25 // <include src="screen_gaia_signin.js"> | 26 // <include src="screen_gaia_signin.js"> |
| 26 // <include src="screen_password_changed.js"> | 27 // <include src="screen_password_changed.js"> |
| 27 // <include src="screen_supervised_user_creation.js"> | 28 // <include src="screen_supervised_user_creation.js"> |
| 28 // <include src="screen_tpm_error.js"> | 29 // <include src="screen_tpm_error.js"> |
| 29 // <include src="screen_wrong_hwid.js"> | 30 // <include src="screen_wrong_hwid.js"> |
| (...skipping 20 matching lines...) Expand all Loading... |
| 50 document.addEventListener('DOMContentLoaded', function() { | 51 document.addEventListener('DOMContentLoaded', function() { |
| 51 // Immediately load async assets. | 52 // Immediately load async assets. |
| 52 cr.ui.login.ResourceLoader.loadAssets(SCREEN_OOBE_ENROLLMENT, function() { | 53 cr.ui.login.ResourceLoader.loadAssets(SCREEN_OOBE_ENROLLMENT, function() { |
| 53 // This screen is async-loaded so we manually trigger i18n processing. | 54 // This screen is async-loaded so we manually trigger i18n processing. |
| 54 i18nTemplate.process($('oauth-enrollment'), loadTimeData); | 55 i18nTemplate.process($('oauth-enrollment'), loadTimeData); |
| 55 // Delayed binding since this isn't defined yet. | 56 // Delayed binding since this isn't defined yet. |
| 56 login.OAuthEnrollmentScreen.register(); | 57 login.OAuthEnrollmentScreen.register(); |
| 57 }); | 58 }); |
| 58 }); | 59 }); |
| 59 })(); | 60 })(); |
| OLD | NEW |