Chromium Code Reviews| 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 2350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2361 ], | 2361 ], |
| 2362 "returns": { | 2362 "returns": { |
| 2363 "type": "string", | 2363 "type": "string", |
| 2364 "description": "Message localized for current locale." | 2364 "description": "Message localized for current locale." |
| 2365 } | 2365 } |
| 2366 } | 2366 } |
| 2367 ], | 2367 ], |
| 2368 "events": [] | 2368 "events": [] |
| 2369 }, | 2369 }, |
| 2370 { | 2370 { |
| 2371 "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
| |
| 2372 "nodoc": true, | |
| 2373 "types": [], | |
| 2374 "functions": [ | |
| 2375 { | |
| 2376 "name": "register", | |
| 2377 "type": "function", | |
| 2378 "description": "Register the extension, so the extension can receive the onUpdated event.", | |
| 2379 "parameters": [ | |
| 2380 { "type": "function", | |
| 2381 "name": "callback", | |
| 2382 "optional": true, | |
| 2383 "description": "This function is called when the event processing is completed.", | |
| 2384 "parameters": [] | |
| 2385 } | |
| 2386 ] | |
| 2387 }, | |
| 2388 { | |
| 2389 "name": "candidateClicked", | |
| 2390 "type": "function", | |
| 2391 "description": "Notify input method engine that a candidate was clicked. ", | |
| 2392 "parameters": [ | |
| 2393 { "type": "integer", | |
| 2394 "name": "index" | |
| 2395 }, | |
| 2396 { "type": "integer", | |
| 2397 "name": "button" | |
| 2398 }, | |
| 2399 { "type": "function", | |
| 2400 "name": "callback", | |
| 2401 "optional": true, | |
| 2402 "description": "This function is called when the event processing is completed.", | |
| 2403 "parameters": [] | |
| 2404 } | |
| 2405 ] | |
| 2406 }, | |
| 2407 { | |
| 2408 "name": "cursorUp", | |
| 2409 "type": "function", | |
| 2410 "description": "Notify input method engine cursor up buttion was clicked .", | |
| 2411 "parameters": [ | |
| 2412 { "type": "function", | |
| 2413 "name": "callback", | |
| 2414 "optional": true, | |
| 2415 "description": "This function is called when the event processing is completed.", | |
| 2416 "parameters": [] | |
| 2417 } | |
| 2418 ] | |
| 2419 }, | |
| 2420 { | |
| 2421 "name": "cursorDown", | |
| 2422 "type": "function", | |
| 2423 "description": "Notify input method engine cursor down buttion was click ed.", | |
| 2424 "parameters": [ | |
| 2425 { "type": "function", | |
| 2426 "name": "callback", | |
| 2427 "optional": true, | |
| 2428 "description": "This function is called when the event processing is completed.", | |
| 2429 "parameters": [] | |
| 2430 } | |
| 2431 ] | |
| 2432 }, | |
| 2433 { | |
| 2434 "name": "pageUp", | |
| 2435 "type": "function", | |
| 2436 "description": "Notify input method engine page up buttion was clicked." , | |
| 2437 "parameters": [ | |
| 2438 { "type": "function", | |
| 2439 "name": "callback", | |
| 2440 "optional": true, | |
| 2441 "description": "This function is called when the event processing is completed.", | |
| 2442 "parameters": [] | |
| 2443 } | |
| 2444 ] | |
| 2445 }, | |
| 2446 { | |
| 2447 "name": "pageDown", | |
| 2448 "type": "function", | |
| 2449 "description": "Notify input method engine page down buttion was clicked .", | |
| 2450 "parameters": [ | |
| 2451 { "type": "function", | |
| 2452 "name": "callback", | |
| 2453 "optional": true, | |
| 2454 "description": "This function is called when the event processing is completed.", | |
| 2455 "parameters": [] | |
| 2456 } | |
| 2457 ] | |
| 2458 } | |
| 2459 ], | |
| 2460 "events": [ | |
| 2461 { | |
| 2462 "name": "onSetCursorLocation", | |
| 2463 "type": "function", | |
| 2464 "description": "Fired when input cursor location is changed.", | |
| 2465 "parameters": [ | |
| 2466 { "type": "integer", | |
| 2467 "name": "x" | |
| 2468 }, | |
| 2469 { "type": "integer", | |
| 2470 "name": "y" | |
| 2471 }, | |
| 2472 { "type": "integer", | |
| 2473 "name": "width" | |
| 2474 }, | |
| 2475 { "type": "integer", | |
| 2476 "name": "height" | |
| 2477 } | |
| 2478 ] | |
| 2479 }, | |
| 2480 { | |
| 2481 "name": "onUpdateAuxiliaryText", | |
| 2482 "type": "function", | |
| 2483 "description": "Fired when auxiliary text is changed.", | |
| 2484 "parameters": [ | |
| 2485 { "type": "string", | |
| 2486 "name": "text", | |
| 2487 "description": "Auxiliary text." | |
| 2488 } | |
| 2489 ] | |
| 2490 }, | |
| 2491 { | |
| 2492 "name": "onUpdateLookupTable", | |
| 2493 "type": "function", | |
| 2494 "description": "Fired when lookup table is updated.", | |
| 2495 "parameters": [ | |
| 2496 { "type": "object", | |
| 2497 "properties": { | |
| 2498 "visible": { "type": "boolean" }, | |
| 2499 "candidates": { "type": "array", "items": { "type": "string" } } | |
| 2500 }, | |
| 2501 "description": "Lookup table" | |
| 2502 } | |
| 2503 ] | |
| 2504 } | |
| 2505 | |
| 2506 ] | |
| 2507 }, | |
| 2508 { | |
| 2371 "namespace": "experimental.input", | 2509 "namespace": "experimental.input", |
| 2372 "nodoc": true, | 2510 "nodoc": true, |
| 2373 "types": [], | 2511 "types": [], |
| 2374 "functions": [ | 2512 "functions": [ |
| 2375 { | 2513 { |
| 2376 "name": "sendKeyboardEvent", | 2514 "name": "sendKeyboardEvent", |
| 2377 "type": "function", | 2515 "type": "function", |
| 2378 "description": "Send a keyboard event to Chrome.", | 2516 "description": "Send a keyboard event to Chrome.", |
| 2379 "parameters": [ | 2517 "parameters": [ |
| 2380 { "type": "object", | 2518 { "type": "object", |
| (...skipping 2679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 5060 { | 5198 { |
| 5061 "type": "integer", | 5199 "type": "integer", |
| 5062 "name": "tabId", | 5200 "name": "tabId", |
| 5063 "description": "The id of the tab that was detached." | 5201 "description": "The id of the tab that was detached." |
| 5064 } | 5202 } |
| 5065 ] | 5203 ] |
| 5066 } | 5204 } |
| 5067 ] | 5205 ] |
| 5068 } | 5206 } |
| 5069 ] | 5207 ] |
| OLD | NEW |