OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "namespace": "extension", | 3 "namespace": "extension", |
4 "unprivileged": true, | 4 "unprivileged": true, |
5 "types": [ | 5 "types": [ |
6 { | 6 { |
7 "id": "MessageSender", | 7 "id": "MessageSender", |
8 "type": "object", | 8 "type": "object", |
9 "description": "An object containing information about the script contex
t that sent a message or request.", | 9 "description": "An object containing information about the script contex
t that sent a message or request.", |
10 "properties": { | 10 "properties": { |
(...skipping 3344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3355 ] | 3355 ] |
3356 } | 3356 } |
3357 ] | 3357 ] |
3358 }, | 3358 }, |
3359 { | 3359 { |
3360 "name": "clearComposition", | 3360 "name": "clearComposition", |
3361 "type": "function", | 3361 "type": "function", |
3362 "description": "Clear the current composition. If this extension does no
t own the active IME, this fails.", | 3362 "description": "Clear the current composition. If this extension does no
t own the active IME, this fails.", |
3363 "parameters": [ | 3363 "parameters": [ |
3364 { | 3364 { |
3365 "name": "contextID", | 3365 "name": "parameters", |
3366 "description": "ID of the context with the composition text. This is
the value provided in the InputContext from onFocus.", | 3366 "type": "object", |
3367 "type": "integer" | 3367 "properties": { |
| 3368 "contextID": { |
| 3369 "description": "ID of the context where the composition will be
cleared", |
| 3370 "type": "integer" |
| 3371 } |
| 3372 } |
3368 }, | 3373 }, |
3369 { | 3374 { |
3370 "type": "function", | 3375 "type": "function", |
3371 "name": "callback", | 3376 "name": "callback", |
3372 "optional": true, | 3377 "optional": true, |
3373 "description": "Called when the operation completes with a boolean i
ndicating if the text was accepted or not. On failure, chrome.extension.lastErro
r is set.", | 3378 "description": "Called when the operation completes with a boolean i
ndicating if the text was accepted or not. On failure, chrome.extension.lastErro
r is set.", |
3374 "parameters": [ | 3379 "parameters": [ |
3375 { | 3380 { |
3376 "name": "success", | 3381 "name": "success", |
3377 "type": "boolean" | 3382 "type": "boolean" |
(...skipping 5833 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9211 } | 9216 } |
9212 } | 9217 } |
9213 } | 9218 } |
9214 ] | 9219 ] |
9215 } | 9220 } |
9216 ] | 9221 ] |
9217 } | 9222 } |
9218 ] | 9223 ] |
9219 } | 9224 } |
9220 ] | 9225 ] |
OLD | NEW |