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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 "type": "object", | 165 "type": "object", |
166 "properties": { | 166 "properties": { |
167 "x": {"type": "integer"}, | 167 "x": {"type": "integer"}, |
168 "y": {"type": "integer"}, | 168 "y": {"type": "integer"}, |
169 "w": {"type": "integer"}, | 169 "w": {"type": "integer"}, |
170 "h": {"type": "integer"} | 170 "h": {"type": "integer"} |
171 } | 171 } |
172 } | 172 } |
173 } | 173 } |
174 ] | 174 ] |
| 175 }, { |
| 176 "name": "onDictionaryLoaded", |
| 177 "type": "function", |
| 178 "description": "Fired when the custom spelling dictionary is loaded.", |
| 179 "parameters": [] |
| 180 }, { |
| 181 "name": "onDictionaryChanged", |
| 182 "type": "function", |
| 183 "description": "Fired when words are added or removed from the custom sp
elling dictionary.", |
| 184 "parameters": [ |
| 185 { |
| 186 "name": "added", |
| 187 "type": "array", |
| 188 "description": "List of added words.", |
| 189 "items": { |
| 190 "type": "string" |
| 191 } |
| 192 }, { |
| 193 "name": "removed", |
| 194 "type": "array", |
| 195 "description": "List of removed words.", |
| 196 "items": { |
| 197 "type": "string" |
| 198 } |
| 199 } |
| 200 ] |
175 } | 201 } |
176 ] | 202 ] |
177 } | 203 } |
178 ] | 204 ] |
OLD | NEW |