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..f9997e137878100916ed9115aa87766b7af98d9a 100644 |
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h |
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h |
@@ -94,6 +94,11 @@ class CORE_EXPORT DocumentMarkerController final |
// Position in its interior (not at an endpoint), if one exists. |
DocumentMarker* MarkerAtPosition(const Position&, |
DocumentMarker::MarkerTypes); |
+ // Returns all markers of the specified types that intersect the specified |
+ // range (markers just touching the endpoints of the range aren't included) |
+ Vector<std::pair<Node*, DocumentMarker*>> MarkersIntersectingRange( |
+ const EphemeralRange&, |
+ DocumentMarker::MarkerTypes); |
DocumentMarkerVector MarkersFor( |
Node*, |
DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); |