| 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 position: absolute; | 92 position: absolute; |
| 93 top: 0; | 93 top: 0; |
| 94 white-space:nowrap; | 94 white-space:nowrap; |
| 95 z-index: 1; | 95 z-index: 1; |
| 96 } | 96 } |
| 97 </style> | 97 </style> |
| 98 <!-- TODO(kevers): This is a temporary placeholder to enable testing | 98 <!-- TODO(kevers): This is a temporary placeholder to enable testing |
| 99 -- of layout switching. Deprecate once a decision is reached on | 99 -- of layout switching. Deprecate once a decision is reached on |
| 100 -- a more permanent solution for layout selection. --> | 100 -- a more permanent solution for layout selection. --> |
| 101 <kb-options-menu-toggle-lock-item></kb-options-menu-toggle-lock-item> | 101 <kb-options-menu-toggle-lock-item></kb-options-menu-toggle-lock-item> |
| 102 <kb-options-menu-item layout="system-qwerty" label="System QWERTY"> | |
| 103 </kb-options-menu-item> | |
| 104 <kb-options-menu-item layout="qwerty" label="QWERTY"> | |
| 105 </kb-options-menu-item> | |
| 106 <kb-options-menu-item layout="dvorak" label="Dvorak"> | |
| 107 </kb-options-menu-item> | |
| 108 <kb-options-menu-item layout="none" label="Hide keyboard"> | 102 <kb-options-menu-item layout="none" label="Hide keyboard"> |
| 109 </kb-options-menu-item> | 103 </kb-options-menu-item> |
| 110 </template> | 104 </template> |
| 111 </polymer-element> | 105 </polymer-element> |
| 112 | 106 |
| 113 <polymer-element name="kb-keyboard-overlay" attributes="keyset" | 107 <polymer-element name="kb-keyboard-overlay" attributes="keyset" |
| 114 on-pointerup="up"> | 108 on-pointerup="up"> |
| 115 <template> | 109 <template> |
| 116 <style> | 110 <style> |
| 117 :host { | 111 :host { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 135 | 129 |
| 136 hiddenChanged: function() { | 130 hiddenChanged: function() { |
| 137 this.fire('stateChange', { | 131 this.fire('stateChange', { |
| 138 state: 'overlayVisibility', | 132 state: 'overlayVisibility', |
| 139 value: !!this.hidden | 133 value: !!this.hidden |
| 140 }); | 134 }); |
| 141 } | 135 } |
| 142 }); | 136 }); |
| 143 </script> | 137 </script> |
| 144 </polymer-element> | 138 </polymer-element> |
| OLD | NEW |