Chromium Code Reviews| 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": [], |