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

Unified Diff: chrome/common/extensions/api/input_ime.json

Issue 1528483002: Add chrome.input.ime.activate and chrome.input.ime.deactivate API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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: 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..b4a27ce67c43337599ef10335ce4fb3910a2fddc 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 self IME extension, so that it can receive events.",
Devlin 2016/01/11 21:48:34 what does "the self IME extension" mean?
Azure Wei 2016/01/13 02:28:10 I've changed it with 'Activates the IME extension
Devlin 2016/01/13 18:22:59 I would just remove the "itself", too. Just "Acti
Azure Wei 2016/01/14 14:03:48 Done.
+ "platforms": ["win", "linux_desktop"],
+ "parameters": [
+ {
+ "type": "function",
+ "name": "callback",
+ "optional": true,
+ "description": "Called when the operation completes.",
+ "parameters": []
+ }
+ ]
+ },
+ {
+ "name": "deactivate",
+ "type": "function",
+ "description": "Deactivates the self IME extension, so that it cannot receive events.",
+ "platforms": ["win", "linux_desktop"],
+ "parameters": [
+ {
+ "type": "function",
+ "name": "callback",
+ "optional": true,
+ "description": "Called when the operation completes.",
+ "parameters": []
+ }
+ ]
}
],
"events": [

Powered by Google App Engine
This is Rietveld 408576698