Chromium Code Reviews| 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..5480c4ff49a159e242c5217a6b5fe8562a3bc08c 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", |
|
Devlin
2016/01/13 18:22:59
Could we instead just have one function, setActive
Azure Wei
2016/01/14 14:03:48
'setActive' is little wired since we don't have 'g
Devlin
2016/01/15 22:06:02
I don't really think setActive is weird, and we tr
|
| + "type": "function", |
| + "description": "Activates the IME extension itself, 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 itself, so that it cannot receive events.", |
| + "platforms": ["win", "linux"], |
| + "parameters": [ |
| + { |
| + "type": "function", |
| + "name": "callback", |
| + "optional": true, |
| + "description": "Called when the operation completes.", |
| + "parameters": [] |
| + } |
| + ] |
| } |
| ], |
| "events": [ |