| 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 "isNewMDInputViewEnabled": {"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.", |
| 38 "parameters": [ | 38 "parameters": [ |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 "y": {"type": "integer"}, | 124 "y": {"type": "integer"}, |
| 125 "w": {"type": "integer"}, | 125 "w": {"type": "integer"}, |
| 126 "h": {"type": "integer"} | 126 "h": {"type": "integer"} |
| 127 } | 127 } |
| 128 } | 128 } |
| 129 ] | 129 ] |
| 130 } | 130 } |
| 131 ] | 131 ] |
| 132 } | 132 } |
| 133 ] | 133 ] |
| OLD | NEW |