summaryrefslogtreecommitdiff
path: root/Source/WebKit2/UIProcess/qt/QtWebPageEventHandler.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2012-05-07 11:21:11 +0200
committerSimon Hausmann <simon.hausmann@nokia.com>2012-05-07 11:21:11 +0200
commit2cf6c8816a73e0132bd8fa3b509d62d7c51b6e47 (patch)
tree988e8c5b116dd0466244ae2fe5af8ee9be926d76 /Source/WebKit2/UIProcess/qt/QtWebPageEventHandler.h
parentdd91e772430dc294e3bf478c119ef8d43c0a3358 (diff)
downloadqtwebkit-2cf6c8816a73e0132bd8fa3b509d62d7c51b6e47.tar.gz
Imported WebKit commit 7e538425aa020340619e927792f3d895061fb54b (http://svn.webkit.org/repository/webkit/trunk@116286)
Diffstat (limited to 'Source/WebKit2/UIProcess/qt/QtWebPageEventHandler.h')
-rw-r--r--Source/WebKit2/UIProcess/qt/QtWebPageEventHandler.h29
1 files changed, 24 insertions, 5 deletions
diff --git a/Source/WebKit2/UIProcess/qt/QtWebPageEventHandler.h b/Source/WebKit2/UIProcess/qt/QtWebPageEventHandler.h
index 519ec5471..74acdb77e 100644
--- a/Source/WebKit2/UIProcess/qt/QtWebPageEventHandler.h
+++ b/Source/WebKit2/UIProcess/qt/QtWebPageEventHandler.h
@@ -24,17 +24,32 @@
#include "QtPanGestureRecognizer.h"
#include "QtPinchGestureRecognizer.h"
#include "QtTapGestureRecognizer.h"
-#include "QtViewportInteractionEngine.h"
-#include "WebPageProxy.h"
#include <QBasicTimer>
-#include <QKeyEvent>
-#include <QInputMethodEvent>
#include <QTouchEvent>
#include <WKPage.h>
+#include <wtf/PassRefPtr.h>
+
+QT_BEGIN_NAMESPACE
+class QInputMethodEvent;
+class QKeyEvent;
+QT_END_NAMESPACE
class QQuickWebPage;
+class QQuickWebView;
+
+namespace WebCore {
+class DragData;
+class IntPoint;
+class IntRect;
+}
-using namespace WebKit;
+namespace WebKit {
+
+class NativeWebTouchEvent;
+class QtViewportInteractionEngine;
+class ShareableBitmap;
+class WebGestureEvent;
+class WebPageProxy;
class QtWebPageEventHandler : public QObject {
Q_OBJECT
@@ -69,7 +84,9 @@ public:
void didFindZoomableArea(const WebCore::IntPoint& target, const WebCore::IntRect& area);
void updateTextInputState();
void doneWithGestureEvent(const WebGestureEvent& event, bool wasEventHandled);
+#if ENABLE(TOUCH_EVENTS)
void doneWithTouchEvent(const NativeWebTouchEvent&, bool wasEventHandled);
+#endif
void resetGestureRecognizers();
QtViewportInteractionEngine* interactionEngine() { return m_interactionEngine; }
@@ -98,4 +115,6 @@ private:
bool m_postponeTextInputStateChanged;
};
+} // namespace WebKit
+
#endif /* QtWebPageEventHandler_h */