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

Unified Diff: chrome/common/spellcheck_common.h

Issue 654653002: Enables the user to select multiple languages for spellchecking (UI) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments. Created 5 years, 10 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/common/spellcheck_common.h
diff --git a/chrome/common/spellcheck_common.h b/chrome/common/spellcheck_common.h
index 9c3f706f031d22b16aa13e6531a3a4ab00c8accd..969b1fe4dde78db455a0b2e67cfa1b347dddbdc4 100644
--- a/chrome/common/spellcheck_common.h
+++ b/chrome/common/spellcheck_common.h
@@ -40,6 +40,9 @@ static const size_t MAX_SYNCABLE_DICTIONARY_WORDS = 1300;
// dictionary.
static const size_t MAX_CUSTOM_DICTIONARY_WORD_BYTES = 99;
+// Character that separates language codes saved in preferences.
+static const char kDictionaryLanguagesSeparator = ',';
+
typedef std::vector<std::string> WordList;
typedef std::set<std::string> WordSet;

Powered by Google App Engine
This is Rietveld 408576698