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

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

Issue 2871823002: [DMC #5.7] Move DocumentMarkerList::RemoveMarkersUnderWords() to SpellCheckMarkerListImpl (Closed)
Patch Set: Rebase Created 3 years, 7 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/SpellCheckMarkerListImpl.h
diff --git a/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.h b/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.h
index 1b508ece06b9b3dc02f37b4b2e07a948d429601b..bc629f0b503cee39d423b9ca06d55c3d5126ab00 100644
--- a/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.h
+++ b/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.h
@@ -26,14 +26,17 @@ class CORE_EXPORT SpellCheckMarkerListImpl : public DocumentMarkerList {
bool MoveMarkers(int length, DocumentMarkerList* dst_list) final;
bool RemoveMarkers(unsigned start_offset, int length) final;
- bool RemoveMarkersUnderWords(const String& node_text,
- const Vector<String>& words);
bool ShiftMarkers(unsigned offset,
unsigned old_length,
unsigned new_length) final;
DECLARE_VIRTUAL_TRACE();
+ // SpellCheckMarkerListImpl-specific
+ // Returns true if a marker was removed, false otherwise.
+ bool RemoveMarkersUnderWords(const String& node_text,
+ const Vector<String>& words);
+
protected:
SpellCheckMarkerListImpl() = default;

Powered by Google App Engine
This is Rietveld 408576698