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 var WAIT_FOR_POLYMER = true; | |
Nikita (slow)
2014/09/25 20:19:59
nit: comment is missing.
dzhioev (left Google)
2014/09/26 22:56:11
Done.
| |
11 | |
10 <include src="login_common.js"> | 12 <include src="login_common.js"> |
13 <include src="oobe-screen.js"> | |
Nikita (slow)
2014/09/25 20:19:59
nit: Same regarding grouping Polymer specific elem
dzhioev (left Google)
2014/09/26 22:56:11
See my comment above.
| |
14 <include src="html-echo.js"> | |
11 <include src="oobe_screen_eula.js"> | 15 <include src="oobe_screen_eula.js"> |
12 <include src="oobe_screen_network.js"> | 16 <include src="oobe_screen_network.js"> |
13 <include src="oobe_screen_hid_detection.js"> | 17 <include src="oobe_screen_hid_detection.js"> |
14 <include src="oobe_screen_update.js"> | 18 <include src="oobe_screen_update.js"> |
15 <include src="oobe_screen_controller_pairing.js"> | 19 <include src="oobe_screen_controller_pairing.js"> |
16 <include src="oobe_screen_host_pairing.js"> | 20 <include src="oobe_screen_host_pairing.js"> |
17 <include src="oobe_screen_auto_enrollment_check.js"> | 21 <include src="oobe_screen_auto_enrollment_check.js"> |
18 | 22 |
19 cr.define('cr.ui.Oobe', function() { | 23 cr.define('cr.ui.Oobe', function() { |
20 return { | 24 return { |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
282 /** | 286 /** |
283 * Updates localized content of the screens. | 287 * Updates localized content of the screens. |
284 * Should be executed on language change. | 288 * Should be executed on language change. |
285 */ | 289 */ |
286 updateLocalizedContent: function() { | 290 updateLocalizedContent: function() { |
287 // Buttons, headers and links. | 291 // Buttons, headers and links. |
288 Oobe.getInstance().updateLocalizedContent_(); | 292 Oobe.getInstance().updateLocalizedContent_(); |
289 } | 293 } |
290 }; | 294 }; |
291 }); | 295 }); |
OLD | NEW |