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

Unified Diff: third_party/WebKit/Source/core/input/EventHandler.cpp

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/input/EventHandler.cpp
diff --git a/third_party/WebKit/Source/core/input/EventHandler.cpp b/third_party/WebKit/Source/core/input/EventHandler.cpp
index e1d4146cdb060c8b8a0a80448b5588659728c0cf..d547f455326b37a4db2347ff4e82de9b0b233a70 100644
--- a/third_party/WebKit/Source/core/input/EventHandler.cpp
+++ b/third_party/WebKit/Source/core/input/EventHandler.cpp
@@ -432,6 +432,7 @@ WebInputEventResult EventHandler::handleMousePressEvent(const MouseEventWithHitT
Node* innerNode = event.innerNode();
m_mousePressNode = innerNode;
+ m_frame->document()->setSequentialFocusNavigationStartingPoint(innerNode);
m_dragStartPos = event.event().position();
bool swallowEvent = false;
@@ -979,6 +980,7 @@ WebInputEventResult EventHandler::handleMousePressEvent(const PlatformMouseEvent
}
m_mousePressNode = mev.innerNode();
+ m_frame->document()->setSequentialFocusNavigationStartingPoint(mev.innerNode());
RefPtrWillBeRawPtr<LocalFrame> subframe = subframeForHitTestResult(mev);
if (subframe) {

Powered by Google App Engine
This is Rietveld 408576698