OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef SpellingMarkerList_h |
| 6 #define SpellingMarkerList_h |
| 7 |
| 8 #include "core/editing/markers/EditingMarkerListThatMergesTouchingMarkers.h" |
| 9 |
| 10 namespace blink { |
| 11 |
| 12 class Text; |
| 13 |
| 14 class SpellingMarkerList : public EditingMarkerListThatMergesTouchingMarkers { |
| 15 WTF_MAKE_NONCOPYABLE(SpellingMarkerList); |
| 16 |
| 17 public: |
| 18 explicit SpellingMarkerList(DocumentMarkerController*); |
| 19 |
| 20 DocumentMarker::MarkerType allowedMarkerType() const final; |
| 21 |
| 22 void removeMarkersForWords(const Text& textNode, const Vector<String>& words); |
| 23 }; |
| 24 |
| 25 } // namespace blink |
| 26 |
| 27 #endif // SpellingMarkerList_h |
OLD | NEW |