Enable Enterprise enrollment on desktop builds.
[chromium-blink-merge.git] / chrome / common / extensions / api / input_method_private.json
blob9b40b62abb9801dbdee2bf208a1378f8fe3815b3
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.
6   {
7     "namespace": "inputMethodPrivate",
8     "platforms": ["chromeos"],
9     "description": "none",
10     "functions": [
11       {
12         "name": "get",
13         "type": "function",
14         "description": "Gets the current input method.",
15         "parameters": [
16           {
17             "name": "callback",
18             "type": "function",
19             "optional": false,
20             "description": "Callback which is called with the current input method.",
21             "parameters": [
22               {
23                 "name": "inputMethodId",
24                 "type": "string",
25                 "description": "Current input method."
26               }
27             ]
28           }
29         ]
30       }, {
31         "name": "startIme",
32         "type": "function",
33         "description": "Notify to input method engine to be ready to accept events.",
34         "parameters" : []
35       }
36     ],
37     "events": [
38       {
39         "name": "onChanged",
40         "type": "function",
41         "description": "Fired when the input method is changed.",
42         "parameters": [
43           {
44             "name": "newInputMethodId",
45             "type": "string",
46             "description": "New input method which is being used."
47           }
48         ]
49       }
50     ]
51   }