| 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 /** | 5 /** |
| 6 * @fileoverview Out of the box experience flow (OOBE). | 6 * @fileoverview Out of the box experience flow (OOBE). |
| 7 * This is the main code for the OOBE WebUI implementation. | 7 * This is the main code for the OOBE WebUI implementation. |
| 8 */ | 8 */ |
| 9 | 9 |
| 10 /** | 10 /** |
| 11 * Setting WAIT_FOR_POLYMER to 'true' will delay screens' registration until | 11 * Setting WAIT_FOR_POLYMER to 'true' will delay screens' registration until |
| 12 * Polymer is loaded. | 12 * Polymer is loaded. |
| 13 */ | 13 */ |
| 14 /* @const */ var WAIT_FOR_POLYMER = true; | 14 /* @const */ var WAIT_FOR_POLYMER = true; |
| 15 | 15 |
| 16 <include src="login_common.js"> | 16 <include src="login_common.js"> |
| 17 <include src="oobe-screen.js"> | |
| 18 <include src="html-echo.js"> | |
| 19 <include src="oobe_screen_eula.js"> | 17 <include src="oobe_screen_eula.js"> |
| 20 <include src="oobe_screen_network.js"> | 18 <include src="oobe_screen_network.js"> |
| 21 <include src="oobe_screen_hid_detection.js"> | 19 <include src="oobe_screen_hid_detection.js"> |
| 22 <include src="oobe_screen_update.js"> | 20 <include src="oobe_screen_update.js"> |
| 23 <include src="oobe_screen_controller_pairing.js"> | 21 <include src="oobe_screen_controller_pairing.js"> |
| 24 <include src="oobe_screen_host_pairing.js"> | 22 <include src="oobe_screen_host_pairing.js"> |
| 25 <include src="oobe_screen_auto_enrollment_check.js"> | 23 <include src="oobe_screen_auto_enrollment_check.js"> |
| 26 | 24 |
| 27 cr.define('cr.ui.Oobe', function() { | 25 cr.define('cr.ui.Oobe', function() { |
| 28 return { | 26 return { |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 /** | 288 /** |
| 291 * Updates localized content of the screens. | 289 * Updates localized content of the screens. |
| 292 * Should be executed on language change. | 290 * Should be executed on language change. |
| 293 */ | 291 */ |
| 294 updateLocalizedContent: function() { | 292 updateLocalizedContent: function() { |
| 295 // Buttons, headers and links. | 293 // Buttons, headers and links. |
| 296 Oobe.getInstance().updateLocalizedContent_(); | 294 Oobe.getInstance().updateLocalizedContent_(); |
| 297 } | 295 } |
| 298 }; | 296 }; |
| 299 }); | 297 }); |
| OLD | NEW |