summaryrefslogtreecommitdiff
path: root/Source/WebKit2/UIProcess/qt/QtPageClient.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/QtPageClient.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/QtPageClient.h')
-rw-r--r--Source/WebKit2/UIProcess/qt/QtPageClient.h24
1 files changed, 14 insertions, 10 deletions
diff --git a/Source/WebKit2/UIProcess/qt/QtPageClient.h b/Source/WebKit2/UIProcess/qt/QtPageClient.h
index f09db8243..e33dadf61 100644
--- a/Source/WebKit2/UIProcess/qt/QtPageClient.h
+++ b/Source/WebKit2/UIProcess/qt/QtPageClient.h
@@ -21,24 +21,24 @@
#ifndef QtPageClient_h
#define QtPageClient_h
-#include "DrawingAreaProxy.h"
-#include "LayerTreeContext.h"
#include "PageClient.h"
-#include "ShareableBitmap.h"
-#include "ViewportArguments.h"
-class QtWebPageEventHandler;
-class QtWebUndoController;
class QQuickWebView;
-using namespace WebKit;
+namespace WebKit {
+
+class DrawingAreaProxy;
+class LayerTreeContext;
+class QtWebPageEventHandler;
+class QtWebUndoController;
+class ShareableBitmap;
-class QtPageClient : public WebKit::PageClient {
+class QtPageClient : public PageClient {
public:
QtPageClient();
~QtPageClient();
- void initialize(QQuickWebView*, QtWebPageEventHandler*, QtWebUndoController*);
+ void initialize(QQuickWebView*, QtWebPageEventHandler*, WebKit::QtWebUndoController*);
// QQuickWebView.
virtual void setViewNeedsDisplay(const WebCore::IntRect&);
@@ -48,7 +48,7 @@ public:
virtual void didReceiveMessageFromNavigatorQtObject(const String&);
virtual void pageDidRequestScroll(const WebCore::IntPoint&);
virtual void didChangeContentsSize(const WebCore::IntSize&);
- virtual void didChangeViewportProperties(const WebCore::ViewportArguments&);
+ virtual void didChangeViewportProperties(const WebCore::ViewportAttributes&);
virtual void processDidCrash();
virtual void didRelaunchProcess();
virtual PassOwnPtr<DrawingAreaProxy> createDrawingAreaProxy();
@@ -98,7 +98,9 @@ public:
virtual void didFindZoomableArea(const WebCore::IntPoint&, const WebCore::IntRect&);
virtual void updateTextInputState();
virtual void doneWithGestureEvent(const WebGestureEvent&, bool wasEventHandled);
+#if ENABLE(TOUCH_EVENTS)
virtual void doneWithTouchEvent(const NativeWebTouchEvent&, bool wasEventHandled);
+#endif
private:
QQuickWebView* m_webView;
@@ -106,4 +108,6 @@ private:
QtWebUndoController* m_undoController;
};
+} // namespace WebKit
+
#endif /* QtPageClient_h */