| Index: third_party/chrome/idl/input_method_private.json
|
| diff --git a/third_party/chrome/idl/input_method_private.json b/third_party/chrome/idl/input_method_private.json
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6c44192380952918896377edd10213390f173909
|
| --- /dev/null
|
| +++ b/third_party/chrome/idl/input_method_private.json
|
| @@ -0,0 +1,48 @@
|
| +// 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",
|
| + "nodoc": true,
|
| + "platforms": ["chromeos"],
|
| + "types": [],
|
| + "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."
|
| + }
|
| + ]
|
| + }
|
| + ]
|
| + }
|
| + ],
|
| + "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."
|
| + }
|
| + ]
|
| + }
|
| + ]
|
| + }
|
| +]
|
|
|