Snow Leopard build fix.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Jan 2012 23:17:33 +0000 (23:17 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Jan 2012 23:17:33 +0000 (23:17 +0000)
* UIProcess/API/mac/PageClientImpl.h:
* UIProcess/API/mac/PageClientImpl.mm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@104635 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/mac/PageClientImpl.h
Source/WebKit2/UIProcess/API/mac/PageClientImpl.mm

index f3493433fcbfa42fab4a099db9774d4e6ee29fed..7799a1ddb84639adac3ad84ffe1d9329029f09ee 100644 (file)
@@ -1,3 +1,10 @@
+2012-01-10  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Snow Leopard build fix.
+
+        * UIProcess/API/mac/PageClientImpl.h:
+        * UIProcess/API/mac/PageClientImpl.mm:
+
 2012-01-10  Anders Carlsson  <andersca@apple.com>
 
         Hang opening movie that requires authentication
index a2a8a4213c630e4d97b6ca780b2ce40c31cb1533..953c378e14bc10a88ad7f454dc42b1b818d370b9 100644 (file)
@@ -83,7 +83,9 @@ private:
     virtual WebCore::IntPoint screenToWindow(const WebCore::IntPoint&);
     virtual WebCore::IntRect windowToScreen(const WebCore::IntRect&);
 
+#if ENABLE(GESTURE_EVENTS)
     virtual void doneWithGestureEvent(const WebGestureEvent&, bool wasEventHandled);
+#endif
     virtual void doneWithKeyEvent(const NativeWebKeyboardEvent&, bool wasEventHandled);
 
     virtual PassRefPtr<WebPopupMenuProxy> createPopupMenuProxy(WebPageProxy*);
index ea876b34e6abecce902134d056434fc6790fac82..35e0e2e70ffb10054350296c21d14fba676cf115 100644 (file)
@@ -298,10 +298,12 @@ IntRect PageClientImpl::windowToScreen(const IntRect& rect)
     return enclosingIntRect(tempRect);
 }
 
+#if ENABLE(GESTURE_EVENTS)
 void PageClientImpl::doneWithGestureEvent(const WebGestureEvent&, bool wasEventHandled)
 {
     notImplemented();
 }
+#endif
 
 void PageClientImpl::doneWithKeyEvent(const NativeWebKeyboardEvent& event, bool eventWasHandled)
 {