Created
January 10, 2012 15:16
-
-
Save kenchris/1589556 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Source/WebKit2/UIProcess/API/mac/PageClientImpl.h b/Source/WebKit2/UIProcess/API/mac/PageClientImpl.h | |
index 8e3c5b7..6cf4684 100644 | |
--- a/Source/WebKit2/UIProcess/API/mac/PageClientImpl.h | |
+++ b/Source/WebKit2/UIProcess/API/mac/PageClientImpl.h | |
@@ -82,7 +82,8 @@ private: | |
virtual WebCore::FloatRect convertToUserSpace(const WebCore::FloatRect&); | |
virtual WebCore::IntPoint screenToWindow(const WebCore::IntPoint&); | |
virtual WebCore::IntRect windowToScreen(const WebCore::IntRect&); | |
- | |
+ | |
+ virtual void doneWithGestureEvent(const WebGestureEvent&, bool wasEventHandled) | |
virtual void doneWithKeyEvent(const NativeWebKeyboardEvent&, bool wasEventHandled); | |
virtual PassRefPtr<WebPopupMenuProxy> createPopupMenuProxy(WebPageProxy*); | |
diff --git a/Source/WebKit2/UIProcess/API/mac/PageClientImpl.mm b/Source/WebKit2/UIProcess/API/mac/PageClientImpl.mm | |
index c1ae666..ea876b3 100644 | |
--- a/Source/WebKit2/UIProcess/API/mac/PageClientImpl.mm | |
+++ b/Source/WebKit2/UIProcess/API/mac/PageClientImpl.mm | |
@@ -298,6 +298,11 @@ IntRect PageClientImpl::windowToScreen(const IntRect& rect) | |
return enclosingIntRect(tempRect); | |
} | |
+void PageClientImpl::doneWithGestureEvent(const WebGestureEvent&, bool wasEventHandled) | |
+{ | |
+ notImplemented(); | |
+} | |
+ | |
void PageClientImpl::doneWithKeyEvent(const NativeWebKeyboardEvent& event, bool eventWasHandled) | |
{ | |
[m_wkView _doneWithKeyEvent:event.nativeEvent() eventWasHandled:eventWasHandled]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment