OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 [ | 5 [ |
6 { | 6 { |
7 "namespace": "inputMethodPrivate", | 7 "namespace": "inputMethodPrivate", |
8 "nodoc": true, | 8 "nodoc": true, |
9 "platforms": ["chromeos"], | 9 "platforms": ["chromeos"], |
10 "types": [], | 10 "types": [], |
(...skipping 10 matching lines...) Expand all Loading... |
21 "description": "Callback which is called with the current input meth
od.", | 21 "description": "Callback which is called with the current input meth
od.", |
22 "parameters": [ | 22 "parameters": [ |
23 { | 23 { |
24 "name": "inputMethodId", | 24 "name": "inputMethodId", |
25 "type": "string", | 25 "type": "string", |
26 "description": "Current input method." | 26 "description": "Current input method." |
27 } | 27 } |
28 ] | 28 ] |
29 } | 29 } |
30 ] | 30 ] |
| 31 }, { |
| 32 "name": "startIme", |
| 33 "type": "function", |
| 34 "description": "Notify to input method engine to be ready to accept even
ts.", |
| 35 "parameters" : [] |
31 } | 36 } |
32 ], | 37 ], |
33 "events": [ | 38 "events": [ |
34 { | 39 { |
35 "name": "onChanged", | 40 "name": "onChanged", |
36 "type": "function", | 41 "type": "function", |
37 "description": "Fired when the input method is changed.", | 42 "description": "Fired when the input method is changed.", |
38 "parameters": [ | 43 "parameters": [ |
39 { | 44 { |
40 "name": "newInputMethodId", | 45 "name": "newInputMethodId", |
41 "type": "string", | 46 "type": "string", |
42 "description": "New input method which is being used." | 47 "description": "New input method which is being used." |
43 } | 48 } |
44 ] | 49 ] |
45 } | 50 } |
46 ] | 51 ] |
47 } | 52 } |
48 ] | 53 ] |
OLD | NEW |