| 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 "platforms": ["chromeos"], | 8 "platforms": ["chromeos"], |
| 9 "description": "none", | 9 "description": "none", |
| 10 "functions": [ | 10 "functions": [ |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 "name": "onChanged", | 102 "name": "onChanged", |
| 103 "type": "function", | 103 "type": "function", |
| 104 "description": "Fired when the input method is changed.", | 104 "description": "Fired when the input method is changed.", |
| 105 "parameters": [ | 105 "parameters": [ |
| 106 { | 106 { |
| 107 "name": "newInputMethodId", | 107 "name": "newInputMethodId", |
| 108 "type": "string", | 108 "type": "string", |
| 109 "description": "New input method which is being used." | 109 "description": "New input method which is being used." |
| 110 } | 110 } |
| 111 ] | 111 ] |
| 112 }, { |
| 113 "name": "onCompositionBoundsChanged", |
| 114 "type": "function", |
| 115 "description": "Fired when the composition bounds are changed.", |
| 116 "parameters": [ |
| 117 { |
| 118 "name": "bounds", |
| 119 "type": "object", |
| 120 "description": "Composition bounds.", |
| 121 "properties": { |
| 122 "x": {"type": "integer"}, |
| 123 "y": {"type": "integer"}, |
| 124 "w": {"type": "integer"}, |
| 125 "h": {"type": "integer"} |
| 126 } |
| 127 } |
| 128 ] |
| 112 } | 129 } |
| 113 ] | 130 ] |
| 114 } | 131 } |
| 115 ] | 132 ] |
| OLD | NEW |