Index: third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h |
diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h |
index 64d9ebdb2ac32b413c008162d48ba1d76fef6fc3..10614d83d2164a3f357e0c2ec530d3eb82124dc6 100644 |
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h |
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h |
@@ -94,6 +94,13 @@ class CORE_EXPORT DocumentMarkerController final |
// Position in its interior (not at an endpoint), if one exists. |
DocumentMarker* MarkerAtPosition(const Position&, |
DocumentMarker::MarkerTypes); |
+ // Return all markers of the specified types whose interiors have non-empty |
+ // overlap with the range [start_offset, end_offset]. Note that the range can |
+ // be collapsed, in which case markers containing the offset in their |
+ // interiors are returned. |
+ HeapVector<std::pair<Member<Node>, Member<DocumentMarker>>> |
+ MarkersIntersectingRange(const EphemeralRangeInFlatTree&, |
+ DocumentMarker::MarkerTypes); |
DocumentMarkerVector MarkersFor( |
Node*, |
DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); |