Chromium Code Reviews| Index: third_party/WebKit/Source/core/dom/Document.h |
| diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h |
| index 65ba18dd72f53b7d6725a0fb04ae90d0c4414440..0476926bd2fdfe1be8d808c34e6bd84ed1c76c9c 100644 |
| --- a/third_party/WebKit/Source/core/dom/Document.h |
| +++ b/third_party/WebKit/Source/core/dom/Document.h |
| @@ -602,6 +602,8 @@ public: |
| void setNeedsFocusedElementCheck(); |
| void setAutofocusElement(Element*); |
| Element* autofocusElement() const { return m_autofocusElement.get(); } |
| + void setSequentialFocusNavigationStartingPoint(Node*); |
| + Element* sequentialFocusNavigationStartingPoint(WebFocusType) const; |
| void setActiveHoverElement(PassRefPtrWillBeRawPtr<Element>); |
| Element* activeHoverElement() const { return m_activeHoverElement.get(); } |
| @@ -1218,6 +1220,7 @@ private: |
| Timer<Document> m_clearFocusedElementTimer; |
| RefPtrWillBeMember<Element> m_autofocusElement; |
| RefPtrWillBeMember<Element> m_focusedElement; |
| + RefPtrWillBeMember<Range> m_sequentialFocusNavigationStartingPoint; |
|
sof
2016/02/25 12:49:54
Doesn't this risk creating a leak, with the Range
|
| RefPtrWillBeMember<Node> m_hoverNode; |
| RefPtrWillBeMember<Element> m_activeHoverElement; |
| RefPtrWillBeMember<Element> m_documentElement; |