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

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

Issue 6869024: Add IME UI related extension API. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Update Created 9 years, 8 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/extension_api.json
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json
index 8a098be5612bf2e367fd703cbe9ecbb8fbe170ce..2cbbc48b7ca619507fe5ca715576d7c2d795f38f 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -2368,6 +2368,144 @@
"events": []
},
{
+ "namespace": "experimental.ime.ui",
Peng 2011/04/15 21:16:11 I use name space experimental.ime.ui temporarily.
Zachary Kuznia 2011/04/18 03:52:29 I think experiemental.input is a better place. im
Peng 2011/04/18 14:35:38 I think we need to find a good way to organize IME
+ "nodoc": true,
+ "types": [],
+ "functions": [
+ {
+ "name": "register",
+ "type": "function",
+ "description": "Register the extension, so the extension can receive the onUpdated event.",
+ "parameters": [
+ { "type": "function",
+ "name": "callback",
+ "optional": true,
+ "description": "This function is called when the event processing is completed.",
+ "parameters": []
+ }
+ ]
+ },
+ {
+ "name": "candidateClicked",
+ "type": "function",
+ "description": "Notify input method engine that a candidate was clicked.",
+ "parameters": [
+ { "type": "integer",
+ "name": "index"
+ },
+ { "type": "integer",
+ "name": "button"
+ },
+ { "type": "function",
+ "name": "callback",
+ "optional": true,
+ "description": "This function is called when the event processing is completed.",
+ "parameters": []
+ }
+ ]
+ },
+ {
+ "name": "cursorUp",
+ "type": "function",
+ "description": "Notify input method engine cursor up buttion was clicked.",
+ "parameters": [
+ { "type": "function",
+ "name": "callback",
+ "optional": true,
+ "description": "This function is called when the event processing is completed.",
+ "parameters": []
+ }
+ ]
+ },
+ {
+ "name": "cursorDown",
+ "type": "function",
+ "description": "Notify input method engine cursor down buttion was clicked.",
+ "parameters": [
+ { "type": "function",
+ "name": "callback",
+ "optional": true,
+ "description": "This function is called when the event processing is completed.",
+ "parameters": []
+ }
+ ]
+ },
+ {
+ "name": "pageUp",
+ "type": "function",
+ "description": "Notify input method engine page up buttion was clicked.",
+ "parameters": [
+ { "type": "function",
+ "name": "callback",
+ "optional": true,
+ "description": "This function is called when the event processing is completed.",
+ "parameters": []
+ }
+ ]
+ },
+ {
+ "name": "pageDown",
+ "type": "function",
+ "description": "Notify input method engine page down buttion was clicked.",
+ "parameters": [
+ { "type": "function",
+ "name": "callback",
+ "optional": true,
+ "description": "This function is called when the event processing is completed.",
+ "parameters": []
+ }
+ ]
+ }
+ ],
+ "events": [
+ {
+ "name": "onSetCursorLocation",
+ "type": "function",
+ "description": "Fired when input cursor location is changed.",
+ "parameters": [
+ { "type": "integer",
+ "name": "x"
+ },
+ { "type": "integer",
+ "name": "y"
+ },
+ { "type": "integer",
+ "name": "width"
+ },
+ { "type": "integer",
+ "name": "height"
+ }
+ ]
+ },
+ {
+ "name": "onUpdateAuxiliaryText",
+ "type": "function",
+ "description": "Fired when auxiliary text is changed.",
+ "parameters": [
+ { "type": "string",
+ "name": "text",
+ "description": "Auxiliary text."
+ }
+ ]
+ },
+ {
+ "name": "onUpdateLookupTable",
+ "type": "function",
+ "description": "Fired when lookup table is updated.",
+ "parameters": [
+ { "type": "object",
+ "properties": {
+ "visible": { "type": "boolean" },
+ "candidates": { "type": "array", "items": { "type": "string" } }
+ },
+ "description": "Lookup table"
+ }
+ ]
+ }
+
+ ]
+ },
+ {
"namespace": "experimental.input",
"nodoc": true,
"types": [],

Powered by Google App Engine
This is Rietveld 408576698