| 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 "description": "Use the <code>chrome.input.ime</code> module to implement a
custom IME for Chrome OS. This allows your extension to handle keystrokes, set t
he composition, and manage the candidate window.", |
| 8 "platforms": ["chromeos"], | 9 "platforms": ["chromeos"], |
| 9 "types": [ | 10 "types": [ |
| 10 { | 11 { |
| 11 "id": "KeyboardEvent", | 12 "id": "KeyboardEvent", |
| 12 "type": "object", | 13 "type": "object", |
| 13 "description": "See http://www.w3.org/TR/DOM-Level-3-Events/#events-Keyb
oardEvent", | 14 "description": "See http://www.w3.org/TR/DOM-Level-3-Events/#events-Keyb
oardEvent", |
| 14 "properties": { | 15 "properties": { |
| 15 "type": {"type": "string", "description": "One of keyup or keydown.",
"enum": ["keyup", "keydown"]}, | 16 "type": {"type": "string", "description": "One of keyup or keydown.",
"enum": ["keyup", "keydown"]}, |
| 16 "requestId": {"type": "string", "description": "The ID of the request.
"}, | 17 "requestId": {"type": "string", "description": "The ID of the request.
"}, |
| 17 "key": {"type": "string", "description": "Value of the key being press
ed"}, | 18 "key": {"type": "string", "description": "Value of the key being press
ed"}, |
| (...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 637 { | 638 { |
| 638 "type": "string", | 639 "type": "string", |
| 639 "name": "engineID", | 640 "name": "engineID", |
| 640 "description": "ID of the engine receiving the event" | 641 "description": "ID of the engine receiving the event" |
| 641 } | 642 } |
| 642 ] | 643 ] |
| 643 } | 644 } |
| 644 ] | 645 ] |
| 645 } | 646 } |
| 646 ] | 647 ] |
| OLD | NEW |