Index: Source/core/page/EventHandler.h |
diff --git a/Source/core/page/EventHandler.h b/Source/core/page/EventHandler.h |
index c3c0118f588b26f4d70c17e2467f614b3d7d4cb9..0f34cc4c9575659f85c9e3857a32929e7d6783ee 100644 |
--- a/Source/core/page/EventHandler.h |
+++ b/Source/core/page/EventHandler.h |
@@ -29,6 +29,7 @@ |
#include "core/editing/TextGranularity.h" |
#include "core/events/TextEventInputType.h" |
#include "core/page/DragActions.h" |
+#include "core/page/EventWithHitTestResults.h" |
#include "core/page/FocusType.h" |
#include "core/rendering/HitTestRequest.h" |
#include "core/rendering/style/RenderStyleConstants.h" |
@@ -81,9 +82,6 @@ class VisibleSelection; |
class WheelEvent; |
class Widget; |
-typedef EventWithHitTestResults<PlatformGestureEvent> GestureEventWithHitTestResults; |
-typedef EventWithHitTestResults<PlatformMouseEvent> MouseEventWithHitTestResults; |
- |
enum AppendTrailingWhitespace { ShouldAppendTrailingWhitespace, DontAppendTrailingWhitespace }; |
enum CheckDragHysteresis { ShouldCheckDragHysteresis, DontCheckDragHysteresis }; |
@@ -147,7 +145,7 @@ public: |
void defaultWheelEventHandler(Node*, WheelEvent*); |
// Called on the local root frame exactly once per gesture event. |
- bool handleGestureEvent(const PlatformGestureEvent&); |
+ bool handleGestureEvent(const GestureEventWithHitTestResults&); |
// Hit-test the provided (non-scroll) gesture event, applying touch-adjustment and updating |
// hover/active state across all frames if necessary. This should be called at most once |