OLD | NEW |
1 <!-- | 1 <!-- |
2 -- Copyright 2013 The Chromium Authors. All rights reserved. | 2 -- Copyright 2013 The Chromium Authors. All rights reserved. |
3 -- Use of this source code is governed by a BSD-style license that can be | 3 -- Use of this source code is governed by a BSD-style license that can be |
4 -- found in the LICENSE file. | 4 -- found in the LICENSE file. |
5 --> | 5 --> |
6 | 6 |
7 <polymer-element name="kb-options-menu-item" attributes="layout label active" | 7 <polymer-element name="kb-options-menu-item" attributes="layout label active" |
8 on-pointerup="up" on-pointerover="over" on-pointerout="out"> | 8 on-pointerup="up" on-pointerover="over" on-pointerout="out"> |
9 <template> | 9 <template> |
10 <style> | 10 <style> |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 <!-- TODO(kevers): This is a temporary placeholder to enable testing | 103 <!-- TODO(kevers): This is a temporary placeholder to enable testing |
104 -- of layout switching. Deprecate once a decision is reached on | 104 -- of layout switching. Deprecate once a decision is reached on |
105 -- a more permanent solution for layout selection. --> | 105 -- a more permanent solution for layout selection. --> |
106 <kb-options-menu-toggle-lock-item></kb-options-menu-toggle-lock-item> | 106 <kb-options-menu-toggle-lock-item></kb-options-menu-toggle-lock-item> |
107 <kb-options-menu-item layout="system-qwerty" label="System QWERTY"> | 107 <kb-options-menu-item layout="system-qwerty" label="System QWERTY"> |
108 </kb-options-menu-item> | 108 </kb-options-menu-item> |
109 <kb-options-menu-item layout="qwerty" label="QWERTY"> | 109 <kb-options-menu-item layout="qwerty" label="QWERTY"> |
110 </kb-options-menu-item> | 110 </kb-options-menu-item> |
111 <kb-options-menu-item layout="dvorak" label="Dvorak"> | 111 <kb-options-menu-item layout="dvorak" label="Dvorak"> |
112 </kb-options-menu-item> | 112 </kb-options-menu-item> |
113 <kb-options-menu-item layout="none" label="Hide keyboard"> | 113 <kb-options-menu-item layout="none" label="Hide"> |
114 </kb-options-menu-item> | 114 </kb-options-menu-item> |
115 </template> | 115 </template> |
116 </polymer-element> | 116 </polymer-element> |
117 | 117 |
118 <polymer-element name="kb-keyboard-overlay" attributes="keyset" | 118 <polymer-element name="kb-keyboard-overlay" attributes="keyset" |
119 on-pointerup="up"> | 119 on-pointerup="up"> |
120 <template> | 120 <template> |
121 <style> | 121 <style> |
122 :host { | 122 :host { |
123 background-color: rgba(0, 0, 0, 0.6); | 123 background-color: rgba(0, 0, 0, 0.6); |
(...skipping 16 matching lines...) Expand all Loading... |
140 | 140 |
141 hiddenChanged: function() { | 141 hiddenChanged: function() { |
142 this.fire('stateChange', { | 142 this.fire('stateChange', { |
143 state: 'overlayVisibility', | 143 state: 'overlayVisibility', |
144 value: !!this.hidden | 144 value: !!this.hidden |
145 }); | 145 }); |
146 } | 146 } |
147 }); | 147 }); |
148 </script> | 148 </script> |
149 </polymer-element> | 149 </polymer-element> |
OLD | NEW |