| OLD | NEW |
| (Empty) |
| 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. | |
| 4 | |
| 5 [ | |
| 6 { | |
| 7 "namespace": "inputMethodPrivate", | |
| 8 "nodoc": true, | |
| 9 "platforms": ["chromeos"], | |
| 10 "types": [], | |
| 11 "functions": [ | |
| 12 { | |
| 13 "name": "get", | |
| 14 "type": "function", | |
| 15 "description": "Gets the current input method.", | |
| 16 "parameters": [ | |
| 17 { | |
| 18 "name": "callback", | |
| 19 "type": "function", | |
| 20 "optional": false, | |
| 21 "description": "Callback which is called with the current input meth
od.", | |
| 22 "parameters": [ | |
| 23 { | |
| 24 "name": "inputMethodId", | |
| 25 "type": "string", | |
| 26 "description": "Current input method." | |
| 27 } | |
| 28 ] | |
| 29 } | |
| 30 ] | |
| 31 } | |
| 32 ], | |
| 33 "events": [ | |
| 34 { | |
| 35 "name": "onChanged", | |
| 36 "type": "function", | |
| 37 "description": "Fired when the input method is changed.", | |
| 38 "parameters": [ | |
| 39 { | |
| 40 "name": "newInputMethodId", | |
| 41 "type": "string", | |
| 42 "description": "New input method which is being used." | |
| 43 } | |
| 44 ] | |
| 45 } | |
| 46 ] | |
| 47 } | |
| 48 ] | |
| OLD | NEW |