| 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> API to implement a cus
tom IME for Chrome OS. This allows your extension to handle keystrokes, set the
composition, and manage the candidate window.", | 8 "description": "Use the <code>chrome.input.ime</code> API to implement a cus
tom IME for Chrome OS. This allows your extension to handle keystrokes, set the
composition, and manage the candidate window.", |
| 9 "compiler_options": {"use_movable_types": true}, | |
| 10 "types": [ | 9 "types": [ |
| 11 { | 10 { |
| 12 "id": "KeyboardEventType", | 11 "id": "KeyboardEventType", |
| 13 "type": "string", | 12 "type": "string", |
| 14 "enum": ["keyup", "keydown"] | 13 "enum": ["keyup", "keydown"] |
| 15 }, | 14 }, |
| 16 { | 15 { |
| 17 "id": "KeyboardEvent", | 16 "id": "KeyboardEvent", |
| 18 "type": "object", | 17 "type": "object", |
| 19 "description": "See http://www.w3.org/TR/DOM-Level-3-Events/#events-Keyb
oardEvent", | 18 "description": "See http://www.w3.org/TR/DOM-Level-3-Events/#events-Keyb
oardEvent", |
| (...skipping 862 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 882 "type": "array", | 881 "type": "array", |
| 883 "name": "boundsList", | 882 "name": "boundsList", |
| 884 "description": "List of bounds information for each character on IME
composition text. If there's no composition text in the editor, this array cont
ains the bound information of the cursor.", | 883 "description": "List of bounds information for each character on IME
composition text. If there's no composition text in the editor, this array cont
ains the bound information of the cursor.", |
| 885 "items": { "$ref": "Bounds" } | 884 "items": { "$ref": "Bounds" } |
| 886 } | 885 } |
| 887 ] | 886 ] |
| 888 } | 887 } |
| 889 ] | 888 ] |
| 890 } | 889 } |
| 891 ] | 890 ] |
| OLD | NEW |