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

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: 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 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 1d74447a245295dca8c109a91209d6906209b7a6..d2a5af6d6a2ddfbc9bc529846ece0298739d91f7 100644
--- a/chrome/common/extensions/api/input_method_private.json
+++ b/chrome/common/extensions/api/input_method_private.json
@@ -171,6 +171,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"
+ }
+ }
+ ]
}
]
}
« 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