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 2405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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.input.ui", | |
2427 "nodoc": true, | |
2428 "types": [], | |
2429 "functions": [ | |
2430 { | |
2431 "name": "register", | |
2432 "type": "function", | |
2433 "description": "Register the extension, so the extension can receive the onUpdated event.", | |
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 buttion was clicked .", | |
Mihai Parparita -not on Chrome
2011/05/05 19:42:13
Typo (buttion), shows up a bunch of times.
Peng
2011/05/05 21:48:46
Done.
| |
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 buttion was click ed.", | |
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 buttion 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 buttion 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 2935 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5371 { | 5509 { |
5372 "type": "integer", | 5510 "type": "integer", |
5373 "name": "tabId", | 5511 "name": "tabId", |
5374 "description": "The id of the tab that was detached." | 5512 "description": "The id of the tab that was detached." |
5375 } | 5513 } |
5376 ] | 5514 ] |
5377 } | 5515 } |
5378 ] | 5516 ] |
5379 } | 5517 } |
5380 ] | 5518 ] |
OLD | NEW |