Index: Source/web/WebViewImpl.h |
diff --git a/Source/web/WebViewImpl.h b/Source/web/WebViewImpl.h |
index c53c42608a5fc8c65a7efa48c5257b0b144cd97e..11beb0741e1c7a2f8474dc7e92fbc7d4adbb0eb4 100644 |
--- a/Source/web/WebViewImpl.h |
+++ b/Source/web/WebViewImpl.h |
@@ -31,6 +31,7 @@ |
#ifndef WebViewImpl_h |
#define WebViewImpl_h |
+#include "core/page/EventWithHitTestResults.h" |
#include "core/page/PagePopupDriver.h" |
#include "platform/geometry/IntPoint.h" |
#include "platform/geometry/IntRect.h" |
@@ -432,8 +433,8 @@ public: |
void fullFramePluginZoomLevelChanged(double zoomLevel); |
void computeScaleAndScrollForBlockRect(const WebPoint& hitPoint, const WebRect& blockRect, float padding, float defaultScaleWhenAlreadyLegible, float& scale, WebPoint& scroll); |
- Node* bestTapNode(const PlatformGestureEvent& tapEvent); |
- void enableTapHighlightAtPoint(const PlatformGestureEvent& tapEvent); |
+ Node* bestTapNode(const GestureEventWithHitTestResults& targetedTapEvent); |
+ void enableTapHighlightAtPoint(const GestureEventWithHitTestResults& targetedTapEvent); |
void enableTapHighlights(WillBeHeapVector<RawPtrWillBeMember<Node> >&); |
void computeScaleAndScrollForFocusedNode(Node* focusedNode, float& scale, IntPoint& scroll, bool& needAnimation); |
@@ -571,6 +572,8 @@ private: |
virtual bool handleKeyEvent(const WebKeyboardEvent&) OVERRIDE; |
virtual bool handleCharEvent(const WebKeyboardEvent&) OVERRIDE; |
+ bool handleGestureScrollEvent(const WebGestureEvent&); |
+ |
InputMethodContext* inputMethodContext(); |
WebPlugin* focusedPluginIfInputMethodSupported(LocalFrame*); |