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

Unified Diff: third_party/WebKit/Source/core/input/EventHandlingUtil.h

Issue 2807123002: Fix the wrong non-element node handling in EventHanlder and MouseEventManager (Closed)
Patch Set: Addressed Created 3 years, 8 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/EventHandlingUtil.h
diff --git a/third_party/WebKit/Source/core/input/EventHandlingUtil.h b/third_party/WebKit/Source/core/input/EventHandlingUtil.h
index fb9ed3da448ff3590d149cc702f5e3f1d36d1c13..edef3b9149b5494b9c84ea0ab70d095442618916 100644
--- a/third_party/WebKit/Source/core/input/EventHandlingUtil.h
+++ b/third_party/WebKit/Source/core/input/EventHandlingUtil.h
@@ -31,6 +31,7 @@ WebInputEventResult ToWebInputEventResult(DispatchEventResult);
PaintLayer* LayerForNode(Node*);
ScrollableArea* AssociatedScrollableArea(const PaintLayer*);
+Element* ParentElementIfNeeded(Node*);
dtapuska 2017/04/19 01:56:07 Ia this method really needed? Could HitTestResult:
hayato 2017/04/19 02:26:35 Ah, I didn't notice innerElement() at all because
ContainerNode* ParentForClickEvent(const Node&);
LayoutPoint ContentPointFromRootFrame(LocalFrame*,
« no previous file with comments | « third_party/WebKit/Source/core/input/EventHandler.cpp ('k') | third_party/WebKit/Source/core/input/EventHandlingUtil.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698