OLD | NEW |
1 <!-- Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 <!-- Copyright (c) 2014 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 <link rel="import" href="cr-keyboard.html"> | 5 <link rel="import" href="../common/cr-keyboard.html"> |
6 | 6 |
7 <polymer-element name="cr-user-autocomplete" attributes="value"> | 7 <polymer-element name="cr-user-autocomplete" attributes="value"> |
8 <template> | 8 <template> |
9 <style> | 9 <style> |
10 :host { | 10 :host { |
11 -webkit-user-select: none; | 11 -webkit-user-select: none; |
12 } | 12 } |
13 | 13 |
14 #completions { | 14 #completions { |
15 position: absolute; | 15 position: absolute; |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 this.didComplete = true; | 163 this.didComplete = true; |
164 }, | 164 }, |
165 resetAutocomplete: function() { | 165 resetAutocomplete: function() { |
166 this.completions = []; | 166 this.completions = []; |
167 this.termRange = {}; | 167 this.termRange = {}; |
168 this.active = false; | 168 this.active = false; |
169 }, | 169 }, |
170 }); | 170 }); |
171 </script> | 171 </script> |
172 </polymer-element> | 172 </polymer-element> |
OLD | NEW |