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 "platforms": ["chromeos"], | 9 "platforms": ["chromeos"], |
10 "types": [ | 10 "types": [ |
(...skipping 11 matching lines...) Expand all Loading... | |
22 "shiftKey": {"type": "boolean", "optional": true, "description": "Whet her or not the SHIFT key is pressed."}, | 22 "shiftKey": {"type": "boolean", "optional": true, "description": "Whet her or not the SHIFT key is pressed."}, |
23 "capsLock": {"type": "boolean", "optional": true, "description": "Whet her or not the CAPS_LOCK is enabled."} | 23 "capsLock": {"type": "boolean", "optional": true, "description": "Whet her or not the CAPS_LOCK is enabled."} |
24 } | 24 } |
25 }, | 25 }, |
26 { | 26 { |
27 "id": "InputContext", | 27 "id": "InputContext", |
28 "type": "object", | 28 "type": "object", |
29 "description": "Describes an input Context", | 29 "description": "Describes an input Context", |
30 "properties": { | 30 "properties": { |
31 "contextID": {"type": "integer", "description": "This is used to speci fy targets of text field operations. This ID becomes invalid as soon as onBlur is called."}, | 31 "contextID": {"type": "integer", "description": "This is used to speci fy targets of text field operations. This ID becomes invalid as soon as onBlur is called."}, |
32 "type": {"type": "string", "description": "Type of value this text fie ld edits, (Text, Number, Password, etc)", "enum": ["text", "number", "password"] } | 32 "type": {"type": "string", "description": "Type of value this text fie ld edits, (Text, Number, Password, etc)", "enum": ["text", "search", "tel", "url ", "email", "password", "number"]} |
Seigo Nonaka
2013/10/30 04:00:00
Please drop "password" from this, input method fra
yoichio
2013/10/30 05:32:22
Done.
| |
33 } | 33 } |
34 }, | 34 }, |
35 { | 35 { |
36 "id": "MenuItem", | 36 "id": "MenuItem", |
37 "type": "object", | 37 "type": "object", |
38 "description": "A menu item used by an input method to interact with the user from the language menu.", | 38 "description": "A menu item used by an input method to interact with the user from the language menu.", |
39 "properties": { | 39 "properties": { |
40 "id": {"type": "string", "description": "String that will be passed to callbacks referencing this MenuItem."}, | 40 "id": {"type": "string", "description": "String that will be passed to callbacks referencing this MenuItem."}, |
41 "label": {"type": "string", "optional": true, "description": "Text dis played in the menu for this item."}, | 41 "label": {"type": "string", "optional": true, "description": "Text dis played in the menu for this item."}, |
42 "style": { | 42 "style": { |
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
628 { | 628 { |
629 "type": "string", | 629 "type": "string", |
630 "name": "engineID", | 630 "name": "engineID", |
631 "description": "ID of the engine receiving the event" | 631 "description": "ID of the engine receiving the event" |
632 } | 632 } |
633 ] | 633 ] |
634 } | 634 } |
635 ] | 635 ] |
636 } | 636 } |
637 ] | 637 ] |
OLD | NEW |