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

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

Issue 2350433002: Extract more of the mouse logic from EventHandler (Closed)
Patch Set: 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
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 1e11ebd090d9b6e2be3a63118a344e97cd00cad0..8c78577b392652be6489f1ab891ccf2ab5d8bcc6 100644
--- a/third_party/WebKit/Source/core/input/EventHandlingUtil.h
+++ b/third_party/WebKit/Source/core/input/EventHandlingUtil.h
@@ -7,7 +7,10 @@
#include "core/frame/LocalFrame.h"
#include "core/layout/HitTestResult.h"
+#include "core/page/EventWithHitTestResults.h"
+#include "core/paint/PaintLayer.h"
#include "platform/geometry/LayoutPoint.h"
+#include "platform/scroll/ScrollableArea.h"
#include "public/platform/WebInputEventResult.h"
namespace blink {
@@ -22,6 +25,18 @@ WebInputEventResult mergeEventResult(
WebInputEventResult resultA, WebInputEventResult resultB);
WebInputEventResult toWebInputEventResult(DispatchEventResult);
+PaintLayer* layerForNode(Node*);
+ScrollableArea* associatedScrollableArea(const PaintLayer*);
+
+ContainerNode* parentForClickEvent(const Node&);
+
+
+LayoutPoint contentPointFromRootFrame(LocalFrame*,
+ const IntPoint& pointInRootFrame);
+
+MouseEventWithHitTestResults prepareMouseEvent(LocalFrame*,
+ const HitTestRequest&, const PlatformMouseEvent&);
+
} // namespace EventHandlingUtil
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698