| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <include src="../login/screen.js"> | 4 <include src="../../../../ui/login/screen.js"> |
| 5 <include src="../login/bubble.js"> | 5 <include src="../../../../ui/login/bubble.js"> |
| 6 <include src="../login/display_manager.js"> | 6 <include src="../../../../ui/login/display_manager.js"> |
| 7 <include src="control_bar.js"> | 7 <include src="control_bar.js"> |
| 8 <include src="../login/screen_account_picker.js"> | 8 <include src="../../../../ui/login/account_picker/screen_account_picker.js"> |
| 9 <include src="../login/user_pod_row.js"> | 9 <include src="../../../../ui/login/account_picker/user_pod_row.js"> |
| 10 <include src="../login/resource_loader.js"> | 10 <include src="../../../../ui/login/resource_loader.js"> |
| 11 <include src="user_manager_tutorial.js"> | 11 <include src="user_manager_tutorial.js"> |
| 12 | 12 |
| 13 cr.define('cr.ui', function() { | 13 cr.define('cr.ui', function() { |
| 14 var DisplayManager = cr.ui.login.DisplayManager; | 14 var DisplayManager = cr.ui.login.DisplayManager; |
| 15 var UserManagerTutorial = cr.ui.login.UserManagerTutorial; | 15 var UserManagerTutorial = cr.ui.login.UserManagerTutorial; |
| 16 | 16 |
| 17 /** | 17 /** |
| 18 * Constructs an Out of box controller. It manages initialization of screens, | 18 * Constructs an Out of box controller. It manages initialization of screens, |
| 19 * transitions, error messages display. | 19 * transitions, error messages display. |
| 20 * @extends {DisplayManager} | 20 * @extends {DisplayManager} |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 // Allow selection events on components with editable text (password field) | 143 // Allow selection events on components with editable text (password field) |
| 144 // bug (http://code.google.com/p/chromium/issues/detail?id=125863) | 144 // bug (http://code.google.com/p/chromium/issues/detail?id=125863) |
| 145 disableTextSelectAndDrag(function(e) { | 145 disableTextSelectAndDrag(function(e) { |
| 146 var src = e.target; | 146 var src = e.target; |
| 147 return src instanceof HTMLTextAreaElement || | 147 return src instanceof HTMLTextAreaElement || |
| 148 src instanceof HTMLInputElement && | 148 src instanceof HTMLInputElement && |
| 149 /text|password|search/.test(src.type); | 149 /text|password|search/.test(src.type); |
| 150 }); | 150 }); |
| 151 | 151 |
| 152 document.addEventListener('DOMContentLoaded', UserManager.initialize); | 152 document.addEventListener('DOMContentLoaded', UserManager.initialize); |
| OLD | NEW |