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

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

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/spelling_engine.h
diff --git a/chrome/renderer/spellchecker/spelling_engine.h b/chrome/renderer/spellchecker/spelling_engine.h
index b3b030cf7548767b638628714705b52870f14a83..28e27d2648583da8c8e0a5624579e57d8333725d 100644
--- a/chrome/renderer/spellchecker/spelling_engine.h
+++ b/chrome/renderer/spellchecker/spelling_engine.h
@@ -26,10 +26,12 @@ class SpellingEngine {
virtual bool InitializeIfNeeded() = 0;
virtual bool IsEnabled() = 0;
virtual bool CheckSpelling(const string16& word_to_check, int tag) = 0;
- virtual void FillSuggestionList(const string16& wrong_word,
- std::vector<string16>* optional_suggestions) = 0;
- virtual void OnWordAdded(const std::string& word) = 0;
- virtual void OnWordRemoved(const std::string& word) = 0;
+ virtual void FillSuggestionList(
+ const string16& wrong_word,
+ std::vector<string16>* optional_suggestions) = 0;
+ virtual void OnWordsAddedRemoved(
+ const std::vector<std::string>& words_added,
+ const std::vector<std::string>& words_removed) = 0;
};
#endif // CHROME_RENDERER_SPELLCHECKER_SPELLING_ENGINE_H_

Powered by Google App Engine
This is Rietveld 408576698