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

Side by Side Diff: chrome/common/extensions/api/extension_api.json

Issue 8511047: Fix definition of clearComposition to match the rest of the API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
9211 } 9216 }
9212 } 9217 }
9213 } 9218 }
9214 ] 9219 ]
9215 } 9220 }
9216 ] 9221 ]
9217 } 9222 }
9218 ] 9223 ]
9219 } 9224 }
9220 ] 9225 ]
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698