Index: third_party/WebKit/Source/core/editing/markers/SpellingMarkerList.h |
diff --git a/third_party/WebKit/Source/core/editing/markers/SpellingMarkerList.h b/third_party/WebKit/Source/core/editing/markers/SpellingMarkerList.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..aa1f2c9aec662107a7e823f5af2bea7c7f29d21b |
--- /dev/null |
+++ b/third_party/WebKit/Source/core/editing/markers/SpellingMarkerList.h |
@@ -0,0 +1,27 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef SpellingMarkerList_h |
+#define SpellingMarkerList_h |
+ |
+#include "core/editing/markers/EditingMarkerListThatMergesTouchingMarkers.h" |
+ |
+namespace blink { |
+ |
+class Text; |
+ |
+class SpellingMarkerList : public EditingMarkerListThatMergesTouchingMarkers { |
+ WTF_MAKE_NONCOPYABLE(SpellingMarkerList); |
+ |
+ public: |
+ explicit SpellingMarkerList(DocumentMarkerController*); |
+ |
+ DocumentMarker::MarkerType allowedMarkerType() const final; |
+ |
+ void removeMarkersForWords(const Text& textNode, const Vector<String>& words); |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // SpellingMarkerList_h |