diff options
Diffstat (limited to 'chromium/chrome/common/extensions/api/input_ime.json')
-rw-r--r-- | chromium/chrome/common/extensions/api/input_ime.json | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/chromium/chrome/common/extensions/api/input_ime.json b/chromium/chrome/common/extensions/api/input_ime.json index 7254776ece7..aa324eb2fcb 100644 --- a/chromium/chrome/common/extensions/api/input_ime.json +++ b/chromium/chrome/common/extensions/api/input_ime.json @@ -15,8 +15,10 @@ "properties": { "type": {"type": "string", "description": "One of keyup or keydown.", "enum": ["keyup", "keydown"]}, "requestId": {"type": "string", "description": "The ID of the request."}, + "extensionId": {"type": "string", "optional": true, "description": "The extension ID of the sender of this keyevent."}, "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."}, + "keyCode": {"type": "integer", "optional": true, "description": "The deprecated HTML keyCode, which is system- and implementation-dependent numerical code signifying the unmodified identifier associated with the key pressed."}, "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."}, @@ -29,7 +31,7 @@ "description": "Describes an input Context", "properties": { "contextID": {"type": "integer", "description": "This is used to specify targets of text field operations. This ID becomes invalid as soon as onBlur is called."}, - "type": {"type": "string", "description": "Type of value this text field edits, (Text, Number, URL, etc)", "enum": ["text", "search", "tel", "url", "email", "number"]} + "type": {"type": "string", "description": "Type of value this text field edits, (Text, Number, URL, etc)", "enum": ["text", "search", "tel", "url", "email", "number", "password"]} } }, { @@ -194,7 +196,7 @@ "type": "object", "properties": { "contextID": { - "description": "ID of the context where the key events will be sent", + "description": "ID of the context where the key events will be sent, or zero to send key events to non-input field.", "type": "integer" }, "keyData": { @@ -216,6 +218,12 @@ ] }, { + "name": "hideInputView", + "type": "function", + "description": "Hides the input view window, which is popped up automatically by system. If the input view window is already hidden, this function will do nothing.", + "parameters": [] + }, + { "name": "setCandidateWindowProperties", "type": "function", "description": "Sets the properties of the candidate window. This fails if the extension doesn't own the active IME", |