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 | |
16 <include src="login_common.js"> | 10 <include src="login_common.js"> |
17 <include src="oobe_screen_auto_enrollment_check.js"> | 11 <include src="oobe_screen_auto_enrollment_check.js"> |
18 <include src="oobe_screen_controller_pairing.js"> | 12 <include src="oobe_screen_controller_pairing.js"> |
19 <include src="oobe_screen_enable_debugging.js"> | 13 <include src="oobe_screen_enable_debugging.js"> |
20 <include src="oobe_screen_eula.js"> | 14 <include src="oobe_screen_eula.js"> |
21 <include src="oobe_screen_hid_detection.js"> | 15 <include src="oobe_screen_hid_detection.js"> |
22 <include src="oobe_screen_host_pairing.js"> | 16 <include src="oobe_screen_host_pairing.js"> |
23 <include src="oobe_screen_network.js"> | 17 <include src="oobe_screen_network.js"> |
24 <include src="oobe_screen_update.js"> | 18 <include src="oobe_screen_update.js"> |
25 | 19 |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 /** | 285 /** |
292 * Updates localized content of the screens. | 286 * Updates localized content of the screens. |
293 * Should be executed on language change. | 287 * Should be executed on language change. |
294 */ | 288 */ |
295 updateLocalizedContent: function() { | 289 updateLocalizedContent: function() { |
296 // Buttons, headers and links. | 290 // Buttons, headers and links. |
297 Oobe.getInstance().updateLocalizedContent_(); | 291 Oobe.getInstance().updateLocalizedContent_(); |
298 } | 292 } |
299 }; | 293 }; |
300 }); | 294 }); |
OLD | NEW |