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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 "parameters": [ | 106 "parameters": [ |
107 { | 107 { |
108 "name": "newInputMethodId", | 108 "name": "newInputMethodId", |
109 "type": "string", | 109 "type": "string", |
110 "description": "New input method which is being used." | 110 "description": "New input method which is being used." |
111 } | 111 } |
112 ] | 112 ] |
113 }, { | 113 }, { |
114 "name": "onCompositionBoundsChanged", | 114 "name": "onCompositionBoundsChanged", |
115 "type": "function", | 115 "type": "function", |
116 "description": "Fired when the composition bounds are changed.", | 116 "description": "Fired when the composition bounds or cursor bounds are c
hanged.", |
117 "parameters": [ | 117 "parameters": [ |
118 { | 118 { |
119 "name": "bounds", | 119 "name": "bounds", |
120 "type": "object", | 120 "type": "array", |
121 "description": "Composition bounds.", | 121 "description": "List of bounds information.", |
122 "properties": { | 122 "items": { |
123 "x": {"type": "integer"}, | 123 "type": "object", |
124 "y": {"type": "integer"}, | 124 "properties": { |
125 "w": {"type": "integer"}, | 125 "x": {"type": "integer"}, |
126 "h": {"type": "integer"} | 126 "y": {"type": "integer"}, |
| 127 "w": {"type": "integer"}, |
| 128 "h": {"type": "integer"} |
| 129 } |
127 } | 130 } |
128 } | 131 } |
129 ] | 132 ] |
130 } | 133 } |
131 ] | 134 ] |
132 } | 135 } |
133 ] | 136 ] |
OLD | NEW |