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"}
34 "name": "getInputMethods",
36 "description": "Gets all whitelisted input methods.",
42 "description": "Callback which is called with the input method objects.",
45 "name": "inputMethods",
47 "description": "Whitelisted input method objects.",
51 "id": {"type": "string"},
52 "name": {"type": "string"},
53 "indicator": {"type": "string"}
61 "name": "getCurrentInputMethod",
63 "description": "Gets the current input method.",
69 "description": "Callback which is called with the current input method.",
72 "name": "inputMethodId",
74 "description": "Current input method."
80 "name": "setCurrentInputMethod",
82 "description": "Sets the current input method.",
85 "name": "inputMethodId",
88 "description": "The input method ID to be set as current input method."
94 "description": "Callback which is called once the current input method is set or error occurs.",
104 "description": "Fired when the input method is changed.",
107 "name": "newInputMethodId",
109 "description": "New input method which is being used."
113 "name": "onCompositionBoundsChanged",
115 "description": "Fired when the composition bounds are changed.",
120 "description": "Composition bounds.",
122 "x": {"type": "integer"},
123 "y": {"type": "integer"},
124 "w": {"type": "integer"},
125 "h": {"type": "integer"}