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

Side by Side Diff: ui/keyboard/resources/elements/kb-key-codes.html

Issue 59813004: Adds support for the search key in the Virtual Keyboard. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 1 month 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 | « ui/keyboard/keyboard_util.cc ('k') | ui/keyboard/resources/images/search.svg » ('j') | 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-key-codes"> 7 <polymer-element name="kb-key-codes">
8 <script> 8 <script>
9 (function() { 9 (function() {
10 10
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 'X': {keyCode: 0x58, shiftModifier: true}, 114 'X': {keyCode: 0x58, shiftModifier: true},
115 'y': {keyCode: 0x59, shiftModifier: false}, 115 'y': {keyCode: 0x59, shiftModifier: false},
116 'Y': {keyCode: 0x59, shiftModifier: true}, 116 'Y': {keyCode: 0x59, shiftModifier: true},
117 'z': {keyCode: 0x5A, shiftModifier: false}, 117 'z': {keyCode: 0x5A, shiftModifier: false},
118 'Z': {keyCode: 0x5A, shiftModifier: true}, 118 'Z': {keyCode: 0x5A, shiftModifier: true},
119 'Fullscreen': {keyCode: 0x7A, shiftModifier: false}, 119 'Fullscreen': {keyCode: 0x7A, shiftModifier: false},
120 'Shutdown': {keyCode: 0x98, shiftModifier: false}, 120 'Shutdown': {keyCode: 0x98, shiftModifier: false},
121 'Back': {keyCode: 0xA6, shiftModifier: false}, 121 'Back': {keyCode: 0xA6, shiftModifier: false},
122 'Forward': {keyCode: 0xA7, shiftModifier: false}, 122 'Forward': {keyCode: 0xA7, shiftModifier: false},
123 'Reload': {keyCode: 0xA8, shiftModifier: false}, 123 'Reload': {keyCode: 0xA8, shiftModifier: false},
124 'Search': {keyCode: 0xAA, shiftModifier: false},
124 'Mute': {keyCode: 0xAD, shiftModifier: false}, 125 'Mute': {keyCode: 0xAD, shiftModifier: false},
125 'Volume-Down': {keyCode: 0xAE, shiftModifier: false}, 126 'Volume-Down': {keyCode: 0xAE, shiftModifier: false},
126 'Volume-Up': {keyCode: 0xAF, shiftModifier: false}, 127 'Volume-Up': {keyCode: 0xAF, shiftModifier: false},
127 'Change-Window': {keyCode: 0xB6, shiftModifier: false}, 128 'Change-Window': {keyCode: 0xB6, shiftModifier: false},
128 ';': {keyCode: 0xBA, shiftModifier: false}, 129 ';': {keyCode: 0xBA, shiftModifier: false},
129 ':': {keyCode: 0xBA, shiftModifier: true}, 130 ':': {keyCode: 0xBA, shiftModifier: true},
130 '=': {keyCode: 0xBB, shiftModifier: false}, 131 '=': {keyCode: 0xBB, shiftModifier: false},
131 '+': {keyCode: 0xBB, shiftModifier: true}, 132 '+': {keyCode: 0xBB, shiftModifier: true},
132 ',': {keyCode: 0xBC, shiftModifier: false}, 133 ',': {keyCode: 0xBC, shiftModifier: false},
133 '<': {keyCode: 0xBC, shiftModifier: true}, 134 '<': {keyCode: 0xBC, shiftModifier: true},
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 type: type, 213 type: type,
213 charValue: char.charCodeAt(0), 214 charValue: char.charCodeAt(0),
214 keyCode: keyCode, 215 keyCode: keyCode,
215 modifiers: modifiers 216 modifiers: modifiers
216 }; 217 };
217 }, 218 },
218 }); 219 });
219 })(); 220 })();
220 </script> 221 </script>
221 </polymer-element> 222 </polymer-element>
OLDNEW
« no previous file with comments | « ui/keyboard/keyboard_util.cc ('k') | ui/keyboard/resources/images/search.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698