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

Unified Diff: chrome/renderer/spellchecker/spellcheck.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/renderer/spellchecker/hunspell_engine.cc ('k') | chrome/renderer/spellchecker/spellcheck.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/spellchecker/spellcheck.h
diff --git a/chrome/renderer/spellchecker/spellcheck.h b/chrome/renderer/spellchecker/spellcheck.h
index 243c724cf1b4df00b129b41934cb8f30d7d71e8d..d283498fa54792861e4645378caa59672072088a 100644
--- a/chrome/renderer/spellchecker/spellcheck.h
+++ b/chrome/renderer/spellchecker/spellcheck.h
@@ -66,7 +66,7 @@ class SpellCheck : public content::RenderProcessObserver,
int* misspelling_len,
std::vector<string16>* optional_suggestions);
- // SpellCheck a paragrpah.
+ // SpellCheck a paragraph.
// Returns true if |text| is correctly spelled, false otherwise.
// If the spellchecker failed to initialize, always returns true.
bool SpellCheckParagraph(
@@ -118,8 +118,9 @@ class SpellCheck : public content::RenderProcessObserver,
const std::vector<std::string>& custom_words,
const std::string& language,
bool auto_spell_correct);
- void OnWordAdded(const std::string& word);
- void OnWordRemoved(const std::string& word);
+ void OnCustomDictionaryChanged(
+ const std::vector<std::string>& words_added,
+ const std::vector<std::string>& words_removed);
void OnEnableAutoSpellCorrect(bool enable);
void OnEnableSpellCheck(bool enable);
« no previous file with comments | « chrome/renderer/spellchecker/hunspell_engine.cc ('k') | chrome/renderer/spellchecker/spellcheck.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698