| 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 457507e2390bcc042ab0cb26a80fb635dc7782bf..b5890004ec5fcf3f2ba745189e4b9f942bd179fc 100644
|
| --- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerList.h
|
| +++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerList.h
|
| @@ -31,7 +31,13 @@ class CORE_EXPORT DocumentMarkerList
|
| virtual void Add(DocumentMarker*) = 0;
|
| virtual void Clear() = 0;
|
|
|
| + // Returns all markers
|
| virtual const HeapVector<Member<DocumentMarker>>& GetMarkers() const = 0;
|
| + // Returns markers that have non-empty overlap with the range
|
| + // [start_offset, end_offset]
|
| + virtual HeapVector<Member<DocumentMarker>> MarkersIntersectingRange(
|
| + unsigned start_offset,
|
| + unsigned end_offset) const = 0;
|
|
|
| // Returns true if at least one marker is copied, false otherwise
|
| virtual bool MoveMarkers(int length, DocumentMarkerList* dst_list) = 0;
|
|
|