Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: chrome/common/extensions/api/input_method_private.json

Issue 973213003: Adds extension events for custom dictionary load/change. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Use weakptr. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698