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

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: Rebase Created 9 years, 7 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
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/common/extensions/docs/static/experimental.inputUI.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 82c04a9fefd0e1b684050b864c1bfff44c48b37b..cc743d8c7f69f4e24abd68c1650a5eccf0d749e9 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -2423,6 +2423,144 @@
"events": []
},
{
+ "namespace": "experimental.inputUI",
+ "nodoc": true,
+ "types": [],
+ "functions": [
+ {
+ "name": "register",
+ "type": "function",
+ "description": "Register the extension, so the extension can receive input method related events.",
+ "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 button 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 button 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 button 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 button 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": [
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/common/extensions/docs/static/experimental.inputUI.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698