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

Side by Side Diff: remoting/tools/javascript_key_tester/keyboard_map.js

Issue 910483002: Remove JS summary. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update version number. Created 5 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
OLDNEW
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 5
6 /** @type {Array.<string>} */ 6 /** @type {Array.<string>} */
7 var keyboardMap = [ 7 var keyboardMap = [
Wez 2015/02/07 02:14:07 You should make clear that this map is US English,
Wez 2015/02/07 02:16:47 In fact, to avoid confusion, I'd suggest prefixing
8 '', 8 '',
9 '', 9 '',
10 '', 10 '',
11 'Cancel', 11 'Cancel',
12 '', 12 '',
13 '', 13 '',
14 'Help', 14 'Help',
15 '', 15 '',
16 'Backspace', 16 'Backspace',
17 'Tab', 17 'Tab',
18 '', 18 '',
19 '', 19 '',
20 'Clear', 20 'Clear',
21 'Enter', 21 'Enter',
22 'Return', 22 'Return',
23 '', 23 '',
24 'Shift', 24 'Shift',
25 'Control', 25 'Control',
26 'Alt', 26 'Alt', // NB: *not* LeftAlt--not all keyboard layouts make the distinction.
Wez 2015/02/07 02:14:07 I don't understand this comment; what's it got to
27 'Pause', 27 'Pause',
28 'CapsLock', 28 'CapsLock',
29 'Kana', 29 'Kana',
30 'Eisu', 30 'Eisu',
31 'Junja', 31 'Junja',
32 'Final', 32 'Final',
33 'Hanja', 33 'Hanja',
34 '', 34 '',
35 'Escape', 35 'Escape',
36 'Convert', 36 'Convert',
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 '', 223 '',
224 '', 224 '',
225 '', 225 '',
226 '', 226 '',
227 'OpenBracket', 227 'OpenBracket',
228 'Backslash', 228 'Backslash',
229 'CloseBracket', 229 'CloseBracket',
230 'Quote', 230 'Quote',
231 '', 231 '',
232 'Meta', 232 'Meta',
233 'AltGr', 233 'RightAlt',
Wez 2015/02/07 02:14:07 The 'code' name for this key is AltRight, not Righ
234 '', 234 '',
235 'WIN_ICO_HELP', 235 'WIN_ICO_HELP',
236 'WIN_ICO_00', 236 'WIN_ICO_00',
237 '', 237 '',
238 'WIN_ICO_CLEAR', 238 'WIN_ICO_CLEAR',
239 '', 239 '',
240 '', 240 '',
241 'WIN_OEM_RESET', 241 'WIN_OEM_RESET',
242 'WIN_OEM_JUMP', 242 'WIN_OEM_JUMP',
243 'WIN_OEM_PA1', 243 'WIN_OEM_PA1',
(...skipping 11 matching lines...) Expand all
255 'CRSEL', 255 'CRSEL',
256 'EXSEL', 256 'EXSEL',
257 'EREOF', 257 'EREOF',
258 'PLAY', 258 'PLAY',
259 'ZOOM', 259 'ZOOM',
260 '', 260 '',
261 'PA1', 261 'PA1',
262 'WIN_OEM_CLEAR', 262 'WIN_OEM_CLEAR',
263 '' 263 ''
264 ]; 264 ];
OLDNEW
« no previous file with comments | « no previous file | remoting/tools/javascript_key_tester/manifest.json » ('j') | remoting/tools/javascript_key_tester/manifest.json » ('J')

Powered by Google App Engine
This is Rietveld 408576698