summaryrefslogtreecommitdiff
path: root/chromium/components/spellcheck/renderer/spellcheck.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/spellcheck/renderer/spellcheck.h')
-rw-r--r--chromium/components/spellcheck/renderer/spellcheck.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/components/spellcheck/renderer/spellcheck.h b/chromium/components/spellcheck/renderer/spellcheck.h
index 2fc497918cc..7327f78e750 100644
--- a/chromium/components/spellcheck/renderer/spellcheck.h
+++ b/chromium/components/spellcheck/renderer/spellcheck.h
@@ -192,6 +192,10 @@ class SpellCheck : public base::SupportsWeakPtr<SpellCheck>,
void NotifyDictionaryObservers(
const blink::WebVector<blink::WebString>& words_added);
+ // Returns whether a word is in the script of one of the enabled spellcheck
+ // languages.
+ bool IsWordInSupportedScript(const base::string16& word) const;
+
#if BUILDFLAG(USE_RENDERER_SPELLCHECKER)
// Posts delayed spellcheck task and clear it if any.
// Takes ownership of |request|.