| 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="../../../../ui/login/screen.js"> | 4 <include src="../../../../ui/login/screen.js"> |
| 5 <include src="../../../../ui/login/bubble.js"> | 5 <include src="../../../../ui/login/bubble.js"> |
| 6 <include src="../../../../ui/login/login_ui_tools.js"> | 6 <include src="../../../../ui/login/login_ui_tools.js"> |
| 7 <include src="../../../../ui/login/display_manager.js"> | 7 <include src="../../../../ui/login/display_manager.js"> |
| 8 <include src="control_bar.js"> | 8 <include src="control_bar.js"> |
| 9 <include src="../../../../ui/login/account_picker/user_pod_template.js"> |
| 9 <include src="../../../../ui/login/account_picker/screen_account_picker.js"> | 10 <include src="../../../../ui/login/account_picker/screen_account_picker.js"> |
| 10 <include src="../../../../ui/login/account_picker/user_pod_row.js"> | 11 <include src="../../../../ui/login/account_picker/user_pod_row.js"> |
| 11 <include src="../../../../ui/login/resource_loader.js"> | 12 <include src="../../../../ui/login/resource_loader.js"> |
| 12 <include src="user_manager_tutorial.js"> | 13 <include src="user_manager_tutorial.js"> |
| 13 | 14 |
| 14 cr.define('cr.ui', function() { | 15 cr.define('cr.ui', function() { |
| 15 var DisplayManager = cr.ui.login.DisplayManager; | 16 var DisplayManager = cr.ui.login.DisplayManager; |
| 16 var UserManagerTutorial = cr.ui.login.UserManagerTutorial; | 17 var UserManagerTutorial = cr.ui.login.UserManagerTutorial; |
| 17 | 18 |
| 18 /** | 19 /** |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 // Allow selection events on components with editable text (password field) | 156 // Allow selection events on components with editable text (password field) |
| 156 // bug (http://code.google.com/p/chromium/issues/detail?id=125863) | 157 // bug (http://code.google.com/p/chromium/issues/detail?id=125863) |
| 157 disableTextSelectAndDrag(function(e) { | 158 disableTextSelectAndDrag(function(e) { |
| 158 var src = e.target; | 159 var src = e.target; |
| 159 return src instanceof HTMLTextAreaElement || | 160 return src instanceof HTMLTextAreaElement || |
| 160 src instanceof HTMLInputElement && | 161 src instanceof HTMLInputElement && |
| 161 /text|password|search/.test(src.type); | 162 /text|password|search/.test(src.type); |
| 162 }); | 163 }); |
| 163 | 164 |
| 164 document.addEventListener('DOMContentLoaded', UserManager.initialize); | 165 document.addEventListener('DOMContentLoaded', UserManager.initialize); |
| OLD | NEW |