Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Unified Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 1718153002: Implement 'sequential focus navigation starting point.' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Actual fix for non-oilpan test failures Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « third_party/WebKit/LayoutTests/svg/custom/tabindex-order-expected.txt ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698