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/user_pod_template.js"> | |
25 | |
26 <include src="../../../../../ui/login/account_picker/screen_account_picker.js"> | 24 <include src="../../../../../ui/login/account_picker/screen_account_picker.js"> |
27 | 25 |
28 <include src="../../../../../ui/login/login_ui_tools.js"> | 26 <include src="../../../../../ui/login/login_ui_tools.js"> |
29 <include src="../../../../../ui/login/account_picker/user_pod_row.js"> | 27 <include src="../../../../../ui/login/account_picker/user_pod_row.js"> |
30 <include src="../../../../../ui/login/resource_loader.js"> | 28 <include src="../../../../../ui/login/resource_loader.js"> |
31 | 29 |
32 cr.define('cr.ui', function() { | 30 cr.define('cr.ui', function() { |
33 var DisplayManager = cr.ui.login.DisplayManager; | 31 var DisplayManager = cr.ui.login.DisplayManager; |
34 | 32 |
35 /** | 33 /** |
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 | 421 |
424 | 422 |
425 (function() { | 423 (function() { |
426 'use strict'; | 424 'use strict'; |
427 | 425 |
428 document.addEventListener('DOMContentLoaded', function() { | 426 document.addEventListener('DOMContentLoaded', function() { |
429 Oobe.initialize(); | 427 Oobe.initialize(); |
430 }); | 428 }); |
431 })(); | 429 })(); |
432 | 430 |
OLD | NEW |