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

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

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
« no previous file with comments | « chrome/common/spellcheck_messages.h ('k') | chrome/renderer/spellchecker/cocoa_spelling_engine_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/spellchecker/cocoa_spelling_engine_mac.h
diff --git a/chrome/renderer/spellchecker/cocoa_spelling_engine_mac.h b/chrome/renderer/spellchecker/cocoa_spelling_engine_mac.h
index 0e7c7f43007f115d246493b80ad85a7ff85ab4b1..d00a8d5a44b87dea515bd09507c3662fb5dba115 100644
--- a/chrome/renderer/spellchecker/cocoa_spelling_engine_mac.h
+++ b/chrome/renderer/spellchecker/cocoa_spelling_engine_mac.h
@@ -17,8 +17,9 @@ class CocoaSpellingEngine : public SpellingEngine {
virtual bool CheckSpelling(const string16& word_to_check, int tag) OVERRIDE;
virtual void FillSuggestionList(const string16& wrong_word,
std::vector<string16>* optional_suggestions) OVERRIDE;
- virtual void OnWordAdded(const std::string& word) OVERRIDE;
- virtual void OnWordRemoved(const std::string& word) OVERRIDE;
+ virtual void OnCustomDictionaryChanged(
+ const std::vector<std::string>& words_added,
+ const std::vector<std::string>& words_removed) OVERRIDE;
};
#endif // CHROME_RENDERER_SPELLCHECKER_NSSPELLCHECKER_ENGINE_H_
« no previous file with comments | « chrome/common/spellcheck_messages.h ('k') | chrome/renderer/spellchecker/cocoa_spelling_engine_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698