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

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: Add async test. 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 "description": "none", 8 "description": "none",
9 "functions": [ 9 "functions": [
10 { 10 {
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 ]
OLDNEW
« no previous file with comments | « chrome/chrome_browser_chromeos.gypi ('k') | chrome/test/data/extensions/api_test/input_method/background.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698