OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 [ | 5 [ |
6 { | 6 { |
7 "namespace": "input.ime", | 7 "namespace": "input.ime", |
8 "platforms": ["chromeos"], | 8 "platforms": ["chromeos"], |
9 "types": [ | 9 "types": [ |
10 { | 10 { |
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 "type": "InputContext", | 462 "type": "InputContext", |
463 "name": "context", | 463 "name": "context", |
464 "description": "An InputContext object describing the text field tha
t has changed." | 464 "description": "An InputContext object describing the text field tha
t has changed." |
465 } | 465 } |
466 ] | 466 ] |
467 }, | 467 }, |
468 { | 468 { |
469 "name": "onKeyEvent", | 469 "name": "onKeyEvent", |
470 "type": "function", | 470 "type": "function", |
471 "description": "This event is sent if this extension owns the active IME
.", | 471 "description": "This event is sent if this extension owns the active IME
.", |
| 472 "options": { |
| 473 "supportsFilters": false, |
| 474 "supportsListeners": true, |
| 475 "supportsRules": false, |
| 476 "maxListeners": 1 |
| 477 }, |
472 "parameters": [ | 478 "parameters": [ |
473 { | 479 { |
474 "type": "string", | 480 "type": "string", |
475 "name": "engineID", | 481 "name": "engineID", |
476 "description": "ID of the engine receiving the event" | 482 "description": "ID of the engine receiving the event" |
477 }, | 483 }, |
478 { | 484 { |
479 "type": "KeyboardEvent", | 485 "type": "KeyboardEvent", |
480 "name": "keyData", | 486 "name": "keyData", |
481 "description": "Data on the key event" | 487 "description": "Data on the key event" |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 { | 528 { |
523 "type": "string", | 529 "type": "string", |
524 "name": "name", | 530 "name": "name", |
525 "description": "Name of the MenuItem which was activated" | 531 "description": "Name of the MenuItem which was activated" |
526 } | 532 } |
527 ] | 533 ] |
528 } | 534 } |
529 ] | 535 ] |
530 } | 536 } |
531 ] | 537 ] |
OLD | NEW |