Index: third_party/WebKit/Source/core/editing/markers/TextMatchMarker.h |
diff --git a/third_party/WebKit/Source/core/editing/markers/TextMatchMarker.h b/third_party/WebKit/Source/core/editing/markers/TextMatchMarker.h |
index dbdc360b5653f53b40d7d808c1189f7d028bc2a5..e04d342a0834cfdd8d0bcf68e73ef27c5ebe4299 100644 |
--- a/third_party/WebKit/Source/core/editing/markers/TextMatchMarker.h |
+++ b/third_party/WebKit/Source/core/editing/markers/TextMatchMarker.h |
@@ -15,7 +15,13 @@ class CORE_EXPORT TextMatchMarker final : public DocumentMarker { |
public: |
TextMatchMarker(unsigned startOffset, unsigned endOffset, bool activeMatch); |
+ // DocumentMarker implementations |
TextMatchMarker* clone() const final; |
+ MarkerType type() const final; |
+ |
+ // TextMatchMarker-specific |
+ bool activeMatch() const; |
+ void setActiveMatch(bool active) { m_activeMatch = active; } |
bool isRendered() const { return m_state == State::ValidNotNull; } |
@@ -49,6 +55,7 @@ class CORE_EXPORT TextMatchMarker final : public DocumentMarker { |
private: |
enum class State { Invalid, ValidNull, ValidNotNull }; |
+ bool m_activeMatch; |
LayoutRect m_renderedRect; |
State m_state; |
}; |