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 <include src="../../../../ui/login/screen.js"> | 5 <include src="../../../../ui/login/screen.js"> |
6 <include src="../../../../ui/login/bubble.js"> | 6 <include src="../../../../ui/login/bubble.js"> |
7 <include src="../../../../ui/login/login_ui_tools.js"> | 7 <include src="../../../../ui/login/login_ui_tools.js"> |
8 <include src="../../../../ui/login/display_manager.js"> | 8 <include src="../../../../ui/login/display_manager.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 | 11 |
13 | 12 |
14 cr.define('cr.ui', function() { | 13 cr.define('cr.ui', function() { |
15 var DisplayManager = cr.ui.login.DisplayManager; | 14 var DisplayManager = cr.ui.login.DisplayManager; |
16 | 15 |
17 /** | 16 /** |
18 * Maximum possible height of the #login-header-bar, including the padding | 17 * Maximum possible height of the #login-header-bar, including the padding |
19 * and the border. | 18 * and the border. |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 // Allow selection events on components with editable text (password field) | 143 // Allow selection events on components with editable text (password field) |
145 // bug (http://code.google.com/p/chromium/issues/detail?id=125863) | 144 // bug (http://code.google.com/p/chromium/issues/detail?id=125863) |
146 disableTextSelectAndDrag(function(e) { | 145 disableTextSelectAndDrag(function(e) { |
147 var src = e.target; | 146 var src = e.target; |
148 return src instanceof HTMLTextAreaElement || | 147 return src instanceof HTMLTextAreaElement || |
149 src instanceof HTMLInputElement && | 148 src instanceof HTMLInputElement && |
150 /text|password|search/.test(src.type); | 149 /text|password|search/.test(src.type); |
151 }); | 150 }); |
152 | 151 |
153 document.addEventListener('DOMContentLoaded', cr.ui.UserManager.initialize); | 152 document.addEventListener('DOMContentLoaded', cr.ui.UserManager.initialize); |
OLD | NEW |