Index: third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.h |
diff --git a/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.h b/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.h |
index ca4ae45f27b214b1bd72e2f1adf01ea3ae27bd8a..dc815ad945f773b7598f741b88faa6f452691f11 100644 |
--- a/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.h |
+++ b/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.h |
@@ -9,6 +9,9 @@ |
namespace blink { |
+class IntRect; |
+class RenderedDocumentMarker; |
+ |
// Implementation of DocumentMarkerList for TextMatch markers. |
// Markers are kept sorted by start offset, under the assumption that |
// TextMatch markers are typically inserted in an order. |
@@ -33,9 +36,14 @@ class CORE_EXPORT TextMatchMarkerListImpl final : public DocumentMarkerList { |
unsigned new_length) final; |
DECLARE_VIRTUAL_TRACE(); |
+ // TextMatchMarkerListImpl-specific |
+ Vector<IntRect> RenderedRects(const Node&); |
yosin_UTC9
2017/05/24 09:17:23
nit: s/;/ const;/
|
+ |
private: |
HeapVector<Member<DocumentMarker>> markers_; |
+ void UpdateMarkerRenderedRectIfNeeded(const Node&, RenderedDocumentMarker&); |
+ |
DISALLOW_COPY_AND_ASSIGN(TextMatchMarkerListImpl); |
}; |