diff options
Diffstat (limited to 'chromium/components/spellcheck/renderer/spellcheck_language.h')
-rw-r--r-- | chromium/components/spellcheck/renderer/spellcheck_language.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/components/spellcheck/renderer/spellcheck_language.h b/chromium/components/spellcheck/renderer/spellcheck_language.h index ed909b10bc0..6e35078a95e 100644 --- a/chromium/components/spellcheck/renderer/spellcheck_language.h +++ b/chromium/components/spellcheck/renderer/spellcheck_language.h @@ -75,6 +75,10 @@ class SpellcheckLanguage { // Return true if the underlying spellcheck engine is enabled. bool IsEnabled(); + // Returns true if all the characters in a text string are in the script + // associated with this spellcheck language. + bool IsTextInSameScript(const base::string16& text) const; + private: friend class SpellCheckTest; friend class FakeSpellCheck; |