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/display_manager.js"> | 7 <include src="../../../../ui/login/display_manager.js"> |
7 <include src="control_bar.js"> | 8 <include src="control_bar.js"> |
8 <include src="../../../../ui/login/account_picker/screen_account_picker.js"> | 9 <include src="../../../../ui/login/account_picker/screen_account_picker.js"> |
9 <include src="../../../../ui/login/account_picker/user_pod_row.js"> | 10 <include src="../../../../ui/login/account_picker/user_pod_row.js"> |
10 <include src="../../../../ui/login/resource_loader.js"> | 11 <include src="../../../../ui/login/resource_loader.js"> |
11 <include src="user_manager_tutorial.js"> | 12 <include src="user_manager_tutorial.js"> |
12 | 13 |
13 cr.define('cr.ui', function() { | 14 cr.define('cr.ui', function() { |
14 var DisplayManager = cr.ui.login.DisplayManager; | 15 var DisplayManager = cr.ui.login.DisplayManager; |
15 var UserManagerTutorial = cr.ui.login.UserManagerTutorial; | 16 var UserManagerTutorial = cr.ui.login.UserManagerTutorial; |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 // Allow selection events on components with editable text (password field) | 144 // Allow selection events on components with editable text (password field) |
144 // bug (http://code.google.com/p/chromium/issues/detail?id=125863) | 145 // bug (http://code.google.com/p/chromium/issues/detail?id=125863) |
145 disableTextSelectAndDrag(function(e) { | 146 disableTextSelectAndDrag(function(e) { |
146 var src = e.target; | 147 var src = e.target; |
147 return src instanceof HTMLTextAreaElement || | 148 return src instanceof HTMLTextAreaElement || |
148 src instanceof HTMLInputElement && | 149 src instanceof HTMLInputElement && |
149 /text|password|search/.test(src.type); | 150 /text|password|search/.test(src.type); |
150 }); | 151 }); |
151 | 152 |
152 document.addEventListener('DOMContentLoaded', UserManager.initialize); | 153 document.addEventListener('DOMContentLoaded', UserManager.initialize); |
OLD | NEW |