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