Index: Source/core/page/EventHandler.h |
diff --git a/Source/core/page/EventHandler.h b/Source/core/page/EventHandler.h |
index ecafd3154d6f8f236d90f6642417740bff4f7e5c..63c698c70adea09365cd9addee786dabf5081ef0 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" |
@@ -79,9 +80,6 @@ class VisibleSelection; |
class WheelEvent; |
class Widget; |
-typedef EventWithHitTestResults<PlatformGestureEvent> GestureEventWithHitTestResults; |
-typedef EventWithHitTestResults<PlatformMouseEvent> MouseEventWithHitTestResults; |
- |
enum AppendTrailingWhitespace { ShouldAppendTrailingWhitespace, DontAppendTrailingWhitespace }; |
enum CheckDragHysteresis { ShouldCheckDragHysteresis, DontCheckDragHysteresis }; |
@@ -146,6 +144,7 @@ public: |
// 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 |