Chromium Code Reviews| 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 e367111ab43022717793fc3802096bdaa66b35d4..4bcc38db12950418fa33118a54df0b6dce11eef1 100644 |
| --- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h |
| +++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h |
| @@ -86,11 +86,13 @@ class CORE_EXPORT DocumentMarkerController final |
| bool); |
| bool HasMarkers(Node* node) const { return markers_.Contains(node); } |
| + // Returns a marker of one of the specified types that includes the specified |
| + // Position in its interior (not at an endpoint), if one exists. |
| + DocumentMarker* MarkerAtPosition(const Position&, |
|
Xiaocheng
2017/05/11 18:25:20
Yeah the return type should be DocumentMarker*...
|
| + DocumentMarker::MarkerTypes); |
| DocumentMarkerVector MarkersFor( |
| Node*, |
| DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); |
| - DocumentMarkerVector MarkersInRange(const EphemeralRange&, |
| - DocumentMarker::MarkerTypes); |
| DocumentMarkerVector Markers(); |
| Vector<IntRect> RenderedRectsForMarkers(DocumentMarker::MarkerType); |
| void UpdateMarkerRenderedRectIfNeeded(const Node&, RenderedDocumentMarker&); |