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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
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 2405 matching lines...) Expand 10 before | Expand all | Expand 10 after
2416 "optional": true, 2416 "optional": true,
2417 "description": "This function is called when the event processing is completed.", 2417 "description": "This function is called when the event processing is completed.",
2418 "parameters": [] 2418 "parameters": []
2419 } 2419 }
2420 ] 2420 ]
2421 } 2421 }
2422 ], 2422 ],
2423 "events": [] 2423 "events": []
2424 }, 2424 },
2425 { 2425 {
2426 "namespace": "experimental.inputUI",
2427 "nodoc": true,
2428 "types": [],
2429 "functions": [
2430 {
2431 "name": "register",
2432 "type": "function",
2433 "description": "Register the extension, so the extension can receive inp ut method related events.",
2434 "parameters": [
2435 { "type": "function",
2436 "name": "callback",
2437 "optional": true,
2438 "description": "This function is called when the event processing is completed.",
2439 "parameters": []
2440 }
2441 ]
2442 },
2443 {
2444 "name": "candidateClicked",
2445 "type": "function",
2446 "description": "Notify input method engine that a candidate was clicked. ",
2447 "parameters": [
2448 { "type": "integer",
2449 "name": "index"
2450 },
2451 { "type": "integer",
2452 "name": "button"
2453 },
2454 { "type": "function",
2455 "name": "callback",
2456 "optional": true,
2457 "description": "This function is called when the event processing is completed.",
2458 "parameters": []
2459 }
2460 ]
2461 },
2462 {
2463 "name": "cursorUp",
2464 "type": "function",
2465 "description": "Notify input method engine cursor up button was clicked. ",
2466 "parameters": [
2467 { "type": "function",
2468 "name": "callback",
2469 "optional": true,
2470 "description": "This function is called when the event processing is completed.",
2471 "parameters": []
2472 }
2473 ]
2474 },
2475 {
2476 "name": "cursorDown",
2477 "type": "function",
2478 "description": "Notify input method engine cursor down button was clicke d.",
2479 "parameters": [
2480 { "type": "function",
2481 "name": "callback",
2482 "optional": true,
2483 "description": "This function is called when the event processing is completed.",
2484 "parameters": []
2485 }
2486 ]
2487 },
2488 {
2489 "name": "pageUp",
2490 "type": "function",
2491 "description": "Notify input method engine page up button was clicked.",
2492 "parameters": [
2493 { "type": "function",
2494 "name": "callback",
2495 "optional": true,
2496 "description": "This function is called when the event processing is completed.",
2497 "parameters": []
2498 }
2499 ]
2500 },
2501 {
2502 "name": "pageDown",
2503 "type": "function",
2504 "description": "Notify input method engine page down button was clicked. ",
2505 "parameters": [
2506 { "type": "function",
2507 "name": "callback",
2508 "optional": true,
2509 "description": "This function is called when the event processing is completed.",
2510 "parameters": []
2511 }
2512 ]
2513 }
2514 ],
2515 "events": [
2516 {
2517 "name": "onSetCursorLocation",
2518 "type": "function",
2519 "description": "Fired when input cursor location is changed.",
2520 "parameters": [
2521 { "type": "integer",
2522 "name": "x"
2523 },
2524 { "type": "integer",
2525 "name": "y"
2526 },
2527 { "type": "integer",
2528 "name": "width"
2529 },
2530 { "type": "integer",
2531 "name": "height"
2532 }
2533 ]
2534 },
2535 {
2536 "name": "onUpdateAuxiliaryText",
2537 "type": "function",
2538 "description": "Fired when auxiliary text is changed.",
2539 "parameters": [
2540 { "type": "string",
2541 "name": "text",
2542 "description": "Auxiliary text."
2543 }
2544 ]
2545 },
2546 {
2547 "name": "onUpdateLookupTable",
2548 "type": "function",
2549 "description": "Fired when lookup table is updated.",
2550 "parameters": [
2551 { "type": "object",
2552 "properties": {
2553 "visible": { "type": "boolean" },
2554 "candidates": { "type": "array", "items": { "type": "string" } }
2555 },
2556 "description": "Lookup table"
2557 }
2558 ]
2559 }
2560
2561 ]
2562 },
2563 {
2426 "namespace": "experimental.bookmarkManager", 2564 "namespace": "experimental.bookmarkManager",
2427 "nodoc": true, 2565 "nodoc": true,
2428 "types": [ 2566 "types": [
2429 { 2567 {
2430 "id": "BookmarkNodeDataElement", 2568 "id": "BookmarkNodeDataElement",
2431 "nodoc": true, 2569 "nodoc": true,
2432 "type": "object", 2570 "type": "object",
2433 "properties": { 2571 "properties": {
2434 "id": { 2572 "id": {
2435 "type": "string", 2573 "type": "string",
(...skipping 2913 matching lines...) Expand 10 before | Expand all | Expand 10 after
5349 { 5487 {
5350 "type": "integer", 5488 "type": "integer",
5351 "name": "tabId", 5489 "name": "tabId",
5352 "description": "The id of the tab that was detached." 5490 "description": "The id of the tab that was detached."
5353 } 5491 }
5354 ] 5492 ]
5355 } 5493 }
5356 ] 5494 ]
5357 } 5495 }
5358 ] 5496 ]
OLDNEW
« 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