diff options
Diffstat (limited to 'chrome/browser/spellchecker.h')
-rw-r--r-- | chrome/browser/spellchecker.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/spellchecker.h b/chrome/browser/spellchecker.h index e4a3a18..ef36372 100644 --- a/chrome/browser/spellchecker.h +++ b/chrome/browser/spellchecker.h @@ -92,6 +92,10 @@ class SpellChecker : public base::RefCountedThreadSafe<SpellChecker> { static int GetSpellCheckLanguagesToDisplayInContextMenu( Profile* profile, Languages* display_languages); + + // This function returns the corresponding language-region code for the + // spell check language. For example, for hi, it returns hi-IN. + static Language GetSpellCheckLanguageRegion(Language input_language); private: // Download dictionary files when required. |