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

Unified Diff: third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.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/TextMatchMarkerListImpl.h
diff --git a/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.h b/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.h
index f747078832987a1398984e08186a75fd1990de6e..28d30c5cb2d0578de62241c9577a032e32b76a6e 100644
--- a/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.h
+++ b/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.h
@@ -27,6 +27,9 @@ class CORE_EXPORT TextMatchMarkerListImpl final : public DocumentMarkerList {
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