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