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

Unified Diff: chrome/renderer/spellchecker/cocoa_spelling_engine_mac.cc

Issue 11445002: Sync user's custom spellcheck dictionary (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Merge master Created 7 years, 11 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/renderer/spellchecker/cocoa_spelling_engine_mac.cc
diff --git a/chrome/renderer/spellchecker/cocoa_spelling_engine_mac.cc b/chrome/renderer/spellchecker/cocoa_spelling_engine_mac.cc
index 4ad831d6f0e9d2c1fc7484b9825f4e2692877f4a..15f416bd30ddc0f290d38c55d74ed7dc99ef5982 100644
--- a/chrome/renderer/spellchecker/cocoa_spelling_engine_mac.cc
+++ b/chrome/renderer/spellchecker/cocoa_spelling_engine_mac.cc
@@ -47,10 +47,8 @@ void CocoaSpellingEngine::FillSuggestionList(
wrong_word, optional_suggestions));
}
-void CocoaSpellingEngine::OnWordAdded(const std::string&) {
- // OSX doesn't support the custom dictionary yet.
-}
-
-void CocoaSpellingEngine::OnWordRemoved(const std::string&) {
+void CocoaSpellingEngine::OnCustomDictionaryChanged(
+ const std::vector<std::string>& words_added,
+ const std::vector<std::string>& words_removed) {
// OSX doesn't support the custom dictionary yet.
}
« no previous file with comments | « chrome/renderer/spellchecker/cocoa_spelling_engine_mac.h ('k') | chrome/renderer/spellchecker/hunspell_engine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698