OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 Common OOBE controller methods. This method is shared between | 6 * @fileoverview Common OOBE controller methods. This method is shared between |
7 * OOBE, login, and the lock screen. Add only methods that need to be shared | 7 * OOBE, login, and the lock screen. Add only methods that need to be shared |
8 * between all *three* screens here, as each additional method increases the | 8 * between all *three* screens here, as each additional method increases the |
9 * time it takes to show the lock screen. | 9 * time it takes to show the lock screen. |
10 * | 10 * |
11 * If a method needs to be shared between the oobe and login screens, add it to | 11 * If a method needs to be shared between the oobe and login screens, add it to |
12 * login_non_lock_shared.js. | 12 * login_non_lock_shared.js. |
13 */ | 13 */ |
14 | 14 |
15 <include src="test_util.js"> | 15 // <include src="test_util.js"> |
16 <include src="../../../../../ui/login/screen.js"> | 16 // <include src="../../../../../ui/login/screen.js"> |
17 <include src="screen_context.js"> | 17 // <include src="screen_context.js"> |
18 <include src="../user_images_grid.js"> | 18 // <include src="../user_images_grid.js"> |
19 <include src="apps_menu.js"> | 19 // <include src="apps_menu.js"> |
20 <include src="../../../../../ui/login/bubble.js"> | 20 // <include src="../../../../../ui/login/bubble.js"> |
21 <include src="../../../../../ui/login/display_manager.js"> | 21 // <include src="../../../../../ui/login/display_manager.js"> |
22 <include src="header_bar.js"> | 22 // <include src="header_bar.js"> |
23 | 23 |
24 <include src="../../../../../ui/login/account_picker/screen_account_picker.js"> | 24 // <include src="../../../../../ui/login/account_picker/screen_account_picker.js
"> |
25 | 25 |
26 <include src="../../../../../ui/login/login_ui_tools.js"> | 26 // <include src="../../../../../ui/login/login_ui_tools.js"> |
27 <include src="../../../../../ui/login/account_picker/user_pod_row.js"> | 27 // <include src="../../../../../ui/login/account_picker/user_pod_row.js"> |
28 <include src="../../../../../ui/login/resource_loader.js"> | 28 // <include src="../../../../../ui/login/resource_loader.js"> |
29 | 29 |
30 cr.define('cr.ui', function() { | 30 cr.define('cr.ui', function() { |
31 var DisplayManager = cr.ui.login.DisplayManager; | 31 var DisplayManager = cr.ui.login.DisplayManager; |
32 | 32 |
33 /** | 33 /** |
34 * Constructs an Out of box controller. It manages initialization of screens, | 34 * Constructs an Out of box controller. It manages initialization of screens, |
35 * transitions, error messages display. | 35 * transitions, error messages display. |
36 * @extends {DisplayManager} | 36 * @extends {DisplayManager} |
37 * @constructor | 37 * @constructor |
38 */ | 38 */ |
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 | 428 |
429 | 429 |
430 (function() { | 430 (function() { |
431 'use strict'; | 431 'use strict'; |
432 | 432 |
433 document.addEventListener('DOMContentLoaded', function() { | 433 document.addEventListener('DOMContentLoaded', function() { |
434 Oobe.initialize(); | 434 Oobe.initialize(); |
435 }); | 435 }); |
436 })(); | 436 })(); |
437 | 437 |
OLD | NEW |