Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(415)

Unified Diff: third_party/WebKit/Source/core/editing/markers/SpellingMarkerList.h

Issue 2723663002: Refactor DocumentMarkerController (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698