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