Index: third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h |
diff --git a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h |
index 3d6ba6f5bdde5869ec691ca8e2ee376efd55eff1..1df14edf871f1d1aa1e79c4e7f10d32f060eaa89 100644 |
--- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h |
+++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h |
@@ -73,6 +73,9 @@ class CORE_EXPORT SpellChecker final : public GarbageCollected<SpellChecker> { |
void replaceMisspelledRange(const String&); |
void removeSpellingMarkers(); |
void removeSpellingMarkersUnderWords(const Vector<String>& words); |
+ enum class ElementsType { kAll, kOnlyNonEditable }; |
+ void removeSpellingAndGrammarMarkers(const HTMLElement&, |
+ ElementsType = ElementsType::kAll); |
void spellCheckAfterBlur(); |
void didEndEditingOnTextField(Element*); |