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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/input_method_private.json
diff --git a/chrome/common/extensions/api/input_method_private.json b/chrome/common/extensions/api/input_method_private.json
index dd37694573522abb55620df7b557c89c3a318ca5..43c2fe0a0c660fc648356c1d111de8e8032c5b0a 100644
--- a/chrome/common/extensions/api/input_method_private.json
+++ b/chrome/common/extensions/api/input_method_private.json
@@ -172,6 +172,32 @@
}
}
]
+ }, {
+ "name": "onDictionaryLoaded",
+ "type": "function",
+ "description": "Fired when the custom spelling dictionary is loaded.",
+ "parameters": []
+ }, {
+ "name": "onDictionaryChanged",
+ "type": "function",
+ "description": "Fired when words are added or removed from the custom spelling dictionary.",
+ "parameters": [
+ {
+ "name": "added",
+ "type": "array",
+ "description": "List of added words.",
+ "items": {
+ "type": "string"
+ }
+ }, {
+ "name": "removed",
+ "type": "array",
+ "description": "List of removed words.",
+ "items": {
+ "type": "string"
+ }
+ }
+ ]
}
]
}

Powered by Google App Engine
This is Rietveld 408576698