| Index: chrome/common/extensions/api/input_ime.json
|
| diff --git a/chrome/common/extensions/api/input_ime.json b/chrome/common/extensions/api/input_ime.json
|
| index ac19b70dbc44c4046bae0f4645333e34329cd372..9c28e9ba5d188218eb0a40aa5998c381ed727955 100644
|
| --- a/chrome/common/extensions/api/input_ime.json
|
| +++ b/chrome/common/extensions/api/input_ime.json
|
| @@ -542,6 +542,36 @@
|
| {"type": "string", "name": "requestId", "description": "Request id of the event that was handled. This should come from keyEvent.requestId"},
|
| {"type": "boolean", "name": "response", "description": "True if the keystroke was handled, false if not"}
|
| ]
|
| + },
|
| + {
|
| + "name": "activate",
|
| + "type": "function",
|
| + "description": "Activates the IME extension so that it can receive events.",
|
| + "platforms": ["win", "linux"],
|
| + "parameters": [
|
| + {
|
| + "type": "function",
|
| + "name": "callback",
|
| + "optional": true,
|
| + "description": "Called when the operation completes.",
|
| + "parameters": []
|
| + }
|
| + ]
|
| + },
|
| + {
|
| + "name": "deactivate",
|
| + "type": "function",
|
| + "description": "Deactivates the IME extension so that it cannot receive events.",
|
| + "platforms": ["win", "linux"],
|
| + "parameters": [
|
| + {
|
| + "type": "function",
|
| + "name": "callback",
|
| + "optional": true,
|
| + "description": "Called when the operation completes.",
|
| + "parameters": []
|
| + }
|
| + ]
|
| }
|
| ],
|
| "events": [
|
|
|