Chromium Code Reviews| 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..962afde59a16d4c466f077eda7ebd2eddc67ef8a 100644 |
| --- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h |
| +++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h |
| @@ -73,6 +73,8 @@ class CORE_EXPORT SpellChecker final : public GarbageCollected<SpellChecker> { |
| void replaceMisspelledRange(const String&); |
| void removeSpellingMarkers(); |
| void removeSpellingMarkersUnderWords(const Vector<String>& words); |
| + enum ElementsType { All, OnlyNonEditable }; |
|
Xiaocheng
2017/02/01 05:20:28
Please use |enum class|, and name the members in k
Manuel Rego
2017/02/01 14:50:25
Acknowledged.
|
| + void removeSpellingAndGrammarMarkers(const HTMLElement&, ElementsType = All); |
| void spellCheckAfterBlur(); |
| void didEndEditingOnTextField(Element*); |