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

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: Fix build errors 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 8de6a8d1f3c7b1878209fe693ac2df0ea52742ca..fdcc527281da2f7661004ace6afe6aaa89775208 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -2423,6 +2423,144 @@
"events": []
},
{
+ "namespace": "experimental.input.ui",
+ "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.",
Mihai Parparita -not on Chrome 2011/05/05 19:42:13 Typo (buttion), shows up a bunch of times.
Peng 2011/05/05 21:48:46 Done.
+ "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.bookmarkManager",
"nodoc": true,
"types": [

Powered by Google App Engine
This is Rietveld 408576698