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": "inputMethodPrivate", | 7 "namespace": "inputMethodPrivate", |
8 "platforms": ["chromeos"], | 8 "platforms": ["chromeos"], |
9 "description": "none", | 9 "description": "none", |
10 "functions": [ | 10 "functions": [ |
11 { | 11 { |
12 "name": "getInputMethodConfig", | 12 "name": "getInputMethodConfig", |
13 "type": "function", | 13 "type": "function", |
14 "description": "Gets configurations for input methods.", | 14 "description": "Gets configurations for input methods.", |
15 "parameters": [ | 15 "parameters": [ |
16 { | 16 { |
17 "name": "callback", | 17 "name": "callback", |
18 "type": "function", | 18 "type": "function", |
19 "optional": false, | 19 "optional": false, |
20 "description": "Callback which is called with the config object.", | 20 "description": "Callback which is called with the config object.", |
21 "parameters": [ | 21 "parameters": [ |
22 { | 22 { |
23 "name": "config", | 23 "name": "config", |
24 "type": "object", | 24 "type": "object", |
25 "description": "The input method config object.", | 25 "description": "The input method config object.", |
26 "properties": { | 26 "properties": { |
27 "isPhysicalKeyboardAutocorrectEnabled": {"type": "boolean"}, | 27 "isPhysicalKeyboardAutocorrectEnabled": {"type": "boolean"}, |
28 "isNewQPInputViewEnabled": {"type": "boolean"} | 28 "isNewQPInputViewEnabled": {"type": "boolean"}, |
| 29 "isVoiceInputEnabled": {"type": "boolean"} |
29 } | 30 } |
30 } | 31 } |
31 ] | 32 ] |
32 } | 33 } |
33 ] | 34 ] |
34 }, { | 35 }, { |
35 "name": "getInputMethods", | 36 "name": "getInputMethods", |
36 "type": "function", | 37 "type": "function", |
37 "description": "Gets all whitelisted input methods.", | 38 "description": "Gets all whitelisted input methods.", |
38 "parameters": [ | 39 "parameters": [ |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 "w": {"type": "integer"}, | 128 "w": {"type": "integer"}, |
128 "h": {"type": "integer"} | 129 "h": {"type": "integer"} |
129 } | 130 } |
130 } | 131 } |
131 } | 132 } |
132 ] | 133 ] |
133 } | 134 } |
134 ] | 135 ] |
135 } | 136 } |
136 ] | 137 ] |
OLD | NEW |