Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Side by Side Diff: ui/keyboard/resources/elements/kb-options-menu.html

Issue 141713004: Clean up a11y keyboard menu. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698