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 "description": "none", | 8 "description": "none", |
9 "functions": [ | 9 "functions": [ |
10 { | 10 { |
11 "name": "getInputMethodConfig", | 11 "name": "getInputMethodConfig", |
12 "type": "function", | 12 "type": "function", |
13 "description": "Gets configurations for input methods.", | 13 "description": "Gets configurations for input methods.", |
14 "parameters": [ | 14 "parameters": [ |
15 { | 15 { |
16 "name": "callback", | 16 "name": "callback", |
17 "type": "function", | 17 "type": "function", |
18 "optional": false, | 18 "optional": false, |
19 "description": "Callback which is called with the config object.", | 19 "description": "Callback which is called with the config object.", |
20 "parameters": [ | 20 "parameters": [ |
21 { | 21 { |
22 "name": "config", | 22 "name": "config", |
23 "type": "object", | 23 "type": "object", |
24 "description": "The input method config object.", | 24 "description": "The input method config object.", |
25 "properties": { | 25 "properties": { |
26 "isPhysicalKeyboardAutocorrectEnabled": {"type": "boolean"}, | 26 "isPhysicalKeyboardAutocorrectEnabled": {"type": "boolean"}, |
27 "isNewMDInputViewEnabled": {"type": "boolean"}, | 27 "isNewMDInputViewDisabled": {"type": "boolean"}, |
Shu Chen
2015/03/23 02:16:23
please don't change this.
FengYuan
2015/03/23 05:24:49
Done.
| |
28 "isVoiceInputEnabled": {"type": "boolean"} | 28 "isVoiceInputEnabled": {"type": "boolean"} |
29 } | 29 } |
30 } | 30 } |
31 ] | 31 ] |
32 } | 32 } |
33 ] | 33 ] |
34 }, { | 34 }, { |
35 "name": "getInputMethods", | 35 "name": "getInputMethods", |
36 "type": "function", | 36 "type": "function", |
37 "description": "Gets all whitelisted input methods.", | 37 "description": "Gets all whitelisted input methods.", |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
194 "description": "List of removed words.", | 194 "description": "List of removed words.", |
195 "items": { | 195 "items": { |
196 "type": "string" | 196 "type": "string" |
197 } | 197 } |
198 } | 198 } |
199 ] | 199 ] |
200 } | 200 } |
201 ] | 201 ] |
202 } | 202 } |
203 ] | 203 ] |
OLD | NEW |