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 SpellCheckMarkerList_h |
| 6 #define SpellCheckMarkerList_h |
| 7 |
| 8 #include "core/editing/markers/EditingMarkerList.h" |
| 9 |
| 10 namespace blink { |
| 11 |
| 12 class Text; |
| 13 |
| 14 class SpellCheckMarkerList : public EditingMarkerList { |
| 15 public: |
| 16 explicit SpellCheckMarkerList(DocumentMarkerController*, |
| 17 DocumentMarker::MarkerType); |
| 18 |
| 19 DocumentMarker::MarkerType allowedMarkerType() const final; |
| 20 void insert(DocumentMarker*) final; |
| 21 void removeMarkersForWords(const Text& textNode, const Vector<String>& words); |
| 22 |
| 23 private: |
| 24 DocumentMarker::MarkerType m_type; |
| 25 |
| 26 DISALLOW_COPY_AND_ASSIGN(SpellCheckMarkerList); |
| 27 }; |
| 28 |
| 29 } // namespace blink |
| 30 |
| 31 #endif // SpellCheckMarkerList_h |
OLD | NEW |