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
3 // found in the LICENSE file.
7 "namespace": "inputMethodPrivate",
8 "platforms": ["chromeos"],
12 "name": "getInputMethodConfig",
14 "description": "Gets configurations for input methods.",
20 "description": "Callback which is called with the config object.",
25 "description": "The input method config object.",
27 "isPhysicalKeyboardAutocorrectEnabled": {"type": "boolean"},
28 "isNewQPInputViewEnabled": {"type": "boolean"},
29 "isVoiceInputEnabled": {"type": "boolean"}
36 "name": "getInputMethods",
38 "description": "Gets all whitelisted input methods.",
44 "description": "Callback which is called with the input method objects.",
47 "name": "inputMethods",
49 "description": "Whitelisted input method objects.",
53 "id": {"type": "string"},
54 "name": {"type": "string"},
55 "indicator": {"type": "string"}
63 "name": "getCurrentInputMethod",
65 "description": "Gets the current input method.",
71 "description": "Callback which is called with the current input method.",
74 "name": "inputMethodId",
76 "description": "Current input method."
82 "name": "setCurrentInputMethod",
84 "description": "Sets the current input method.",
87 "name": "inputMethodId",
90 "description": "The input method ID to be set as current input method."
96 "description": "Callback which is called once the current input method is set or error occurs.",
106 "description": "Fired when the input method is changed.",
109 "name": "newInputMethodId",
111 "description": "New input method which is being used."
115 "name": "onCompositionBoundsChanged",
117 "description": "Fired when the composition bounds or cursor bounds are changed.",
122 "description": "List of bounds information.",
126 "x": {"type": "integer"},
127 "y": {"type": "integer"},
128 "w": {"type": "integer"},
129 "h": {"type": "integer"}