| Index: third_party/WebKit/Source/core/editing/markers/DocumentMarkerList.h
|
| diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerList.h b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerList.h
|
| index b5890004ec5fcf3f2ba745189e4b9f942bd179fc..759ceef94207a16587fea1927317cc447912a498 100644
|
| --- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerList.h
|
| +++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerList.h
|
| @@ -33,6 +33,11 @@ class CORE_EXPORT DocumentMarkerList
|
|
|
| // Returns all markers
|
| virtual const HeapVector<Member<DocumentMarker>>& GetMarkers() const = 0;
|
| + // Returns the first marker that has non-empty overlap with the range
|
| + // [start_offset, end_offset], or null if there is no such marker.
|
| + virtual DocumentMarker* FirstMarkerIntersectingRange(
|
| + unsigned start_offset,
|
| + unsigned end_offset) const = 0;
|
| // Returns markers that have non-empty overlap with the range
|
| // [start_offset, end_offset]
|
| virtual HeapVector<Member<DocumentMarker>> MarkersIntersectingRange(
|
|
|