diff options
author | sidchat@google.com <sidchat@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-23 18:49:18 +0000 |
---|---|---|
committer | sidchat@google.com <sidchat@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-23 18:49:18 +0000 |
commit | 8f9f4f0ce600435ca36fd5b44d324b48fde73228 (patch) | |
tree | c838e599587d355fec6b1ed188d89a89b90ad780 /chrome/browser/spellchecker.h | |
parent | 9143697300f15a47688bce3d39fdb7323f081717 (diff) | |
download | chromium_src-8f9f4f0ce600435ca36fd5b44d324b48fde73228.zip chromium_src-8f9f4f0ce600435ca36fd5b44d324b48fde73228.tar.gz chromium_src-8f9f4f0ce600435ca36fd5b44d324b48fde73228.tar.bz2 |
Get rid of unnecessary region code from spellcheck language/locale codes
Issue=6329
Review URL: http://codereview.chromium.org/18694
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8565 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/spellchecker.h')
-rw-r--r-- | chrome/browser/spellchecker.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/spellchecker.h b/chrome/browser/spellchecker.h index 1e97605..50fa60e 100644 --- a/chrome/browser/spellchecker.h +++ b/chrome/browser/spellchecker.h @@ -88,6 +88,11 @@ class SpellChecker : public base::RefCountedThreadSafe<SpellChecker> { 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. class DictionaryDownloadController; |