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

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: Add server-side size limit tests Created 7 years, 12 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..921a4c57755c5c79de3685c67c5e6b00a62f5834 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::OnWordsAddedRemoved(
+ const std::vector<std::string>& words_added,
+ const std::vector<std::string>& words_removed) {
// OSX doesn't support the custom dictionary yet.
}

Powered by Google App Engine
This is Rietveld 408576698