summaryrefslogtreecommitdiff
path: root/Source/WebKit2/UIProcess/API/qt/raw/qrawwebview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/UIProcess/API/qt/raw/qrawwebview.cpp')
-rw-r--r--Source/WebKit2/UIProcess/API/qt/raw/qrawwebview.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/WebKit2/UIProcess/API/qt/raw/qrawwebview.cpp b/Source/WebKit2/UIProcess/API/qt/raw/qrawwebview.cpp
index 16bb567ba..121f90d88 100644
--- a/Source/WebKit2/UIProcess/API/qt/raw/qrawwebview.cpp
+++ b/Source/WebKit2/UIProcess/API/qt/raw/qrawwebview.cpp
@@ -25,7 +25,9 @@
#include "LayerTreeCoordinatorProxy.h"
#include "NativeWebKeyboardEvent.h"
#include "NativeWebMouseEvent.h"
+#if ENABLE(TOUCH_EVENTS)
#include "NativeWebTouchEvent.h"
+#endif
#include "NativeWebWheelEvent.h"
#include "NotImplemented.h"
#include "WebContext.h"
@@ -378,7 +380,9 @@ void QRawWebView::sendWheelEvent(QWheelEvent* event)
d->m_webPageProxy->handleWheelEvent(WebKit::NativeWebWheelEvent(event, QTransform()));
}
+#if ENABLE(TOUCH_EVENTS)
void QRawWebView::sendTouchEvent(QTouchEvent* event)
{
d->m_webPageProxy->handleTouchEvent(WebKit::NativeWebTouchEvent(event, QTransform()));
}
+#endif