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

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: 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/spellcheck.h
diff --git a/chrome/renderer/spellchecker/spellcheck.h b/chrome/renderer/spellchecker/spellcheck.h
index fc8760b022ec196b9b4852ae505bce6267abd26e..cbb853e6a39db0ecbd5ae21e869b56dd74b95d2a 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 OnWordsAddedRemoved(
+ const std::vector<std::string>& words_added,
+ const std::vector<std::string>& words_removed);
void OnEnableAutoSpellCorrect(bool enable);
void OnEnableSpellCheck(bool enable);

Powered by Google App Engine
This is Rietveld 408576698