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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 } | 240 } |
240 }, { | 241 }, { |
241 "name": "removed", | 242 "name": "removed", |
242 "type": "array", | 243 "type": "array", |
243 "description": "List of removed words.", | 244 "description": "List of removed words.", |
244 "items": { | 245 "items": { |
245 "type": "string" | 246 "type": "string" |
246 } | 247 } |
247 } | 248 } |
248 ] | 249 ] |
| 250 }, { |
| 251 "name": "onImeMenuActivationChanged", |
| 252 "type": "function", |
| 253 "description": "Fired when the IME menu is activated or deactivated.", |
| 254 "parameters": [ |
| 255 { |
| 256 "name": "activation", |
| 257 "type": "boolean", |
| 258 "description": "Whether the IME menu is currently active." |
| 259 } |
| 260 ] |
249 } | 261 } |
250 ] | 262 ] |
251 } | 263 } |
252 ] | 264 ] |
OLD | NEW |