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 }, | |
478 "parameters": [ | 472 "parameters": [ |
479 { | 473 { |
480 "type": "string", | 474 "type": "string", |
481 "name": "engineID", | 475 "name": "engineID", |
482 "description": "ID of the engine receiving the event" | 476 "description": "ID of the engine receiving the event" |
483 }, | 477 }, |
484 { | 478 { |
485 "type": "KeyboardEvent", | 479 "type": "KeyboardEvent", |
486 "name": "keyData", | 480 "name": "keyData", |
487 "description": "Data on the key event" | 481 "description": "Data on the key event" |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
528 { | 522 { |
529 "type": "string", | 523 "type": "string", |
530 "name": "name", | 524 "name": "name", |
531 "description": "Name of the MenuItem which was activated" | 525 "description": "Name of the MenuItem which was activated" |
532 } | 526 } |
533 ] | 527 ] |
534 } | 528 } |
535 ] | 529 ] |
536 } | 530 } |
537 ] | 531 ] |
OLD | NEW |