summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/api/input_ime.json
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/extensions/api/input_ime.json')
-rw-r--r--chrome/common/extensions/api/input_ime.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/common/extensions/api/input_ime.json b/chrome/common/extensions/api/input_ime.json
index 939408b..43b70dc 100644
--- a/chrome/common/extensions/api/input_ime.json
+++ b/chrome/common/extensions/api/input_ime.json
@@ -15,6 +15,7 @@
"type": {"type": "string", "description": "One of keyup or keydown.", "enum": ["keyup", "keydown"]},
"requestId": {"type": "string", "description": "The ID of the request."},
"key": {"type": "string", "description": "Value of the key being pressed"},
+ "code": {"type": "string", "description": "Value of the physical key being pressed. The value is not affected by current keyboard layout or modifier state."},
"altKey": {"type": "boolean", "optional": true, "description": "Whether or not the ALT key is pressed."},
"ctrlKey": {"type": "boolean", "optional": true, "description": "Whether or not the CTRL key is pressed."},
"shiftKey": {"type": "boolean", "optional": true, "description": "Whether or not the SHIFT key is pressed."}