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 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
618 "type": "integer", | 619 "type": "integer", |
619 "description": "The beginning position of the selection. This va
lue indicates caret position if is no selection." | 620 "description": "The beginning position of the selection. This va
lue indicates caret position if is no selection." |
620 } | 621 } |
621 } | 622 } |
622 } | 623 } |
623 ] | 624 ] |
624 } | 625 } |
625 ] | 626 ] |
626 } | 627 } |
627 ] | 628 ] |
OLD | NEW |