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

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

Issue 2326653003: Conditional hittesting & sending boundary events for captured pointer events (Closed)
Patch Set: Fix double function call Created 4 years, 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/input/PointerEventManager.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 34af1394795db9d870cd30cf955df3490c0420d5..9f8a56ca988c8452f8d9964769c01c7f5770678a 100644
--- a/third_party/WebKit/Source/core/input/EventHandler.cpp
+++ b/third_party/WebKit/Source/core/input/EventHandler.cpp
@@ -1384,7 +1384,9 @@ Node* EventHandler::updateMouseEventTargetNode(Node* targetNode,
Node* newNodeUnderMouse = targetNode;
// If we're capturing, we always go right to that node.
- if (EventTarget* mousePointerCapturingNode = m_pointerEventManager->getMouseCapturingNode()) {
+ EventTarget* mousePointerCapturingNode = m_pointerEventManager->getMouseCapturingNode();
+ if (mousePointerCapturingNode
+ && !RuntimeEnabledFeatures::pointerEventV1SpecCapturingEnabled()) {
newNodeUnderMouse = mousePointerCapturingNode->toNode();
DCHECK(newNodeUnderMouse);
} else if (m_capturingMouseEventsNode) {
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/input/PointerEventManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698