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": "getConfig", |
| 13 "type": "function", |
| 14 "description": "Gets configurations for input methods.", |
| 15 "parameters": [ |
| 16 { |
| 17 "name": "callback", |
| 18 "type": "function", |
| 19 "optional": false, |
| 20 "description": "Callback which is called with the config object.", |
| 21 "parameters": [ |
| 22 { |
| 23 "name": "config", |
| 24 "type": "object", |
| 25 "description": "The input method config object.", |
| 26 "properties": { |
| 27 "isExperimentalEnabled": {"type": "boolean"} |
| 28 } |
| 29 } |
| 30 ] |
| 31 } |
| 32 ] |
| 33 }, { |
12 "name": "getInputMethods", | 34 "name": "getInputMethods", |
13 "type": "function", | 35 "type": "function", |
14 "description": "Gets all whitelisted input methods.", | 36 "description": "Gets all whitelisted input methods.", |
15 "parameters": [ | 37 "parameters": [ |
16 { | 38 { |
17 "name": "callback", | 39 "name": "callback", |
18 "type": "function", | 40 "type": "function", |
19 "optional": false, | 41 "optional": false, |
20 "description": "Callback which is called with the input method objec
ts.", | 42 "description": "Callback which is called with the input method objec
ts.", |
21 "parameters": [ | 43 "parameters": [ |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 { | 106 { |
85 "name": "newInputMethodId", | 107 "name": "newInputMethodId", |
86 "type": "string", | 108 "type": "string", |
87 "description": "New input method which is being used." | 109 "description": "New input method which is being used." |
88 } | 110 } |
89 ] | 111 ] |
90 } | 112 } |
91 ] | 113 ] |
92 } | 114 } |
93 ] | 115 ] |
OLD | NEW |