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 666e1974a8574fa1216e3d41ebe5d785a7ccccaa..558ae12dc8988460c665bad368236c6286fdf388 100644 |
--- a/third_party/WebKit/Source/core/input/EventHandlingUtil.h |
+++ b/third_party/WebKit/Source/core/input/EventHandlingUtil.h |
@@ -5,13 +5,17 @@ |
#ifndef EventHandlingUtil_h |
#define EventHandlingUtil_h |
-#include "core/frame/LocalFrame.h" |
#include "core/layout/HitTestResult.h" |
+#include "core/page/EventWithHitTestResults.h" |
#include "platform/geometry/LayoutPoint.h" |
#include "public/platform/WebInputEventResult.h" |
namespace blink { |
+class LocalFrame; |
+class ScrollableArea; |
+class PaintLayer; |
+ |
namespace EventHandlingUtil { |
HitTestResult hitTestResultInFrame( |
@@ -24,6 +28,19 @@ 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 performMouseEventHitTest( |
+ LocalFrame*, |
+ const HitTestRequest&, |
+ const PlatformMouseEvent&); |
+ |
} // namespace EventHandlingUtil |
} // namespace blink |