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

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

Issue 2952953002: [MarkersIntersectingRange #1] Add DocumentMarkerList::MarkersIntersectingRange() (Closed)
Patch Set: Created 3 years, 6 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/ActiveSuggestionMarkerListImpl.h
diff --git a/third_party/WebKit/Source/core/editing/markers/ActiveSuggestionMarkerListImpl.h b/third_party/WebKit/Source/core/editing/markers/ActiveSuggestionMarkerListImpl.h
index c00182318b613e3019c3e933d5977321990a9f7d..05cd85b3c45e153d640ddfaf6ebc575d7ba0e776 100644
--- a/third_party/WebKit/Source/core/editing/markers/ActiveSuggestionMarkerListImpl.h
+++ b/third_party/WebKit/Source/core/editing/markers/ActiveSuggestionMarkerListImpl.h
@@ -29,6 +29,9 @@ class CORE_EXPORT ActiveSuggestionMarkerListImpl final
void Clear() final;
const HeapVector<Member<DocumentMarker>>& GetMarkers() const final;
+ HeapVector<Member<DocumentMarker>> MarkersIntersectingRange(
+ unsigned start_offset,
+ unsigned end_offset) const final;
bool MoveMarkers(int length, DocumentMarkerList* dst_list) final;
bool RemoveMarkers(unsigned start_offset, int length) final;

Powered by Google App Engine
This is Rietveld 408576698