| 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..16005c09f7456d383e2275590f7dd450471059cd 100644
|
| --- a/third_party/WebKit/Source/core/editing/markers/TextMatchMarker.h
|
| +++ b/third_party/WebKit/Source/core/editing/markers/TextMatchMarker.h
|
| @@ -15,8 +15,16 @@ 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;
|
| +
|
| + bool activeMatch() const final;
|
| +
|
| + // TextMatchMarker-specific
|
| + void setActiveMatch(bool active) { m_activeMatch = active; }
|
| +
|
| bool isRendered() const { return m_state == State::ValidNotNull; }
|
|
|
| void setRenderedRect(const LayoutRect& rect) {
|
| @@ -49,6 +57,7 @@ class CORE_EXPORT TextMatchMarker final : public DocumentMarker {
|
| private:
|
| enum class State { Invalid, ValidNull, ValidNotNull };
|
|
|
| + bool m_activeMatch;
|
| LayoutRect m_renderedRect;
|
| State m_state;
|
| };
|
|
|