blob: 9b40b62abb9801dbdee2bf208a1378f8fe3815b3 [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
[
{
"namespace": "inputMethodPrivate",
"platforms": ["chromeos"],
"description": "none",
"functions": [
{
"name": "get",
"type": "function",
"description": "Gets the current input method.",
"parameters": [
{
"name": "callback",
"type": "function",
"optional": false,
"description": "Callback which is called with the current input method.",
"parameters": [
{
"name": "inputMethodId",
"type": "string",
"description": "Current input method."
}
]
}
]
}, {
"name": "startIme",
"type": "function",
"description": "Notify to input method engine to be ready to accept events.",
"parameters" : []
}
],
"events": [
{
"name": "onChanged",
"type": "function",
"description": "Fired when the input method is changed.",
"parameters": [
{
"name": "newInputMethodId",
"type": "string",
"description": "New input method which is being used."
}
]
}
]
}
]