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 "compiler_options": { | 8 "compiler_options": { |
9 "implemented_in": "chrome/browser/chromeos/extensions/input_method_api.h" | 9 "implemented_in": "chrome/browser/chromeos/extensions/input_method_api.h" |
10 }, | 10 }, |
11 "description": "none", | 11 "description": "none", |
12 "functions": [ | 12 "functions": [ |
13 { | 13 { |
14 "name": "getInputMethodConfig", | 14 "name": "getInputMethodConfig", |
15 "type": "function", | 15 "type": "function", |
16 "description": "Gets configurations for input methods.", | 16 "description": "Gets configurations for input methods.", |
17 "parameters": [ | 17 "parameters": [ |
18 { | 18 { |
19 "name": "callback", | 19 "name": "callback", |
20 "type": "function", | 20 "type": "function", |
21 "optional": false, | 21 "optional": false, |
22 "description": "Callback which is called with the config object.", | 22 "description": "Callback which is called with the config object.", |
23 "parameters": [ | 23 "parameters": [ |
24 { | 24 { |
25 "name": "config", | 25 "name": "config", |
26 "type": "object", | 26 "type": "object", |
27 "description": "The input method config object.", | 27 "description": "The input method config object.", |
28 "properties": { | 28 "properties": { |
29 "isPhysicalKeyboardAutocorrectEnabled": {"type": "boolean"} | 29 "isPhysicalKeyboardAutocorrectEnabled": {"type": "boolean"}, |
| 30 "isImeMenuActivated": {"type": "boolean"} |
30 } | 31 } |
31 } | 32 } |
32 ] | 33 ] |
33 } | 34 } |
34 ] | 35 ] |
35 }, { | 36 }, { |
36 "name": "getInputMethods", | 37 "name": "getInputMethods", |
37 "type": "function", | 38 "type": "function", |
38 "description": "Gets all whitelisted input methods.", | 39 "description": "Gets all whitelisted input methods.", |
39 "parameters": [ | 40 "parameters": [ |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 } | 222 } |
222 }, { | 223 }, { |
223 "name": "removed", | 224 "name": "removed", |
224 "type": "array", | 225 "type": "array", |
225 "description": "List of removed words.", | 226 "description": "List of removed words.", |
226 "items": { | 227 "items": { |
227 "type": "string" | 228 "type": "string" |
228 } | 229 } |
229 } | 230 } |
230 ] | 231 ] |
| 232 }, { |
| 233 "name": "onImeMenuActivationChanged", |
| 234 "type": "function", |
| 235 "description": "Fired when the IME menu is activated or deactivated.", |
| 236 "parameters": [ |
| 237 { |
| 238 "name": "activation", |
| 239 "type": "boolean", |
| 240 "description": "Whether the IME menu is currently active." |
| 241 } |
| 242 ] |
231 } | 243 } |
232 ] | 244 ] |
233 } | 245 } |
234 ] | 246 ] |
OLD | NEW |