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

Unified Diff: remoting/tools/javascript_key_tester/keyboard_map.js

Issue 882063007: Improve consistency between event sources. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: remoting/tools/javascript_key_tester/keyboard_map.js
diff --git a/remoting/tools/javascript_key_tester/keyboard_map.js b/remoting/tools/javascript_key_tester/keyboard_map.js
index 8fd268a20184b27df93398e87b4e1712fd180666..7ca13665c092e4060d64c636d58783817151fc1a 100644
--- a/remoting/tools/javascript_key_tester/keyboard_map.js
+++ b/remoting/tools/javascript_key_tester/keyboard_map.js
@@ -53,16 +53,16 @@ var keyboardMap = [
'Insert',
'Delete',
'',
- '0',
- '1',
- '2',
- '3',
- '4',
- '5',
- '6',
- '7',
- '8',
- '9',
+ 'Digit0',
+ 'Digit1',
+ 'Digit2',
+ 'Digit3',
+ 'Digit4',
+ 'Digit5',
+ 'Digit6',
+ 'Digit7',
+ 'Digit8',
+ 'Digit9',
'Colon',
'Semicolon',
'LessThan',
@@ -70,53 +70,53 @@ var keyboardMap = [
'GreaterThen',
'QuestionMark',
'At',
- 'A',
- 'B',
- 'C',
- 'D',
- 'E',
- 'F',
- 'G',
- 'H',
- 'I',
- 'J',
- 'K',
- 'L',
- 'M',
- 'N',
- 'O',
- 'P',
- 'Q',
- 'R',
- 'S',
- 'T',
- 'U',
- 'V',
- 'W',
- 'X',
- 'Y',
- 'Z',
- 'LeftWin',
- 'RightWin',
+ 'KeyA',
+ 'KeyB',
+ 'KeyC',
+ 'KeyD',
+ 'KeyE',
+ 'KeyF',
+ 'KeyG',
+ 'KeyH',
+ 'KeyI',
+ 'KeyJ',
+ 'KeyK',
+ 'KeyL',
+ 'KeyM',
+ 'KeyN',
+ 'KeyO',
+ 'KeyP',
+ 'KeyQ',
+ 'KeyR',
+ 'KeyS',
+ 'KeyT',
+ 'KeyU',
+ 'KeyV',
+ 'KeyW',
+ 'KeyX',
+ 'KeyY',
+ 'KeyZ',
+ 'OSLeft',
+ 'OSRight',
'ContextMenu',
'',
'Sleep',
- 'Num0',
- 'Num1',
- 'Num2',
- 'Num3',
- 'Num4',
- 'Num5',
- 'Num6',
- 'Num7',
- 'Num8',
- 'Num9',
- 'Multiply',
- 'Add',
+ 'Numpad0',
+ 'Numpad1',
+ 'Numpad2',
+ 'Numpad3',
+ 'Numpad4',
+ 'Numpad5',
+ 'Numpad6',
+ 'Numpad7',
+ 'Numpad8',
+ 'Numpad9',
+ 'NumpadMultiply',
+ 'NumpadAdd',
'Separator',
- 'Subtract',
- 'Decimal',
- 'Divide',
+ 'NumpadSubtract',
+ 'NumpadDecimal',
+ 'NumpadDivide',
'F1',
'F2',
'F3',
@@ -192,12 +192,12 @@ var keyboardMap = [
'',
'',
'',
- '',
+ 'Equal',
'Comma',
- '',
+ 'Minus',
'Period',
'Slash',
- 'BackQuote',
+ 'Backquote',
'',
'',
'',
« no previous file with comments | « remoting/tools/javascript_key_tester/event_listeners.js ('k') | remoting/tools/javascript_key_tester/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698