summaryrefslogtreecommitdiffstats
path: root/WebKitTools/QtTestBrowser/webview.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebKitTools/QtTestBrowser/webview.h')
-rw-r--r--WebKitTools/QtTestBrowser/webview.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/WebKitTools/QtTestBrowser/webview.h b/WebKitTools/QtTestBrowser/webview.h
index 9b533b3..5e7c0c3 100644
--- a/WebKitTools/QtTestBrowser/webview.h
+++ b/WebKitTools/QtTestBrowser/webview.h
@@ -71,14 +71,15 @@ class WebViewGraphicsBased : public QGraphicsView {
public:
WebViewGraphicsBased(QWidget* parent);
- virtual void resizeEvent(QResizeEvent*);
- void setPage(QWebPage* page) { m_item->setPage(page); }
+ void setPage(QWebPage* page);
+
void setItemCacheMode(QGraphicsItem::CacheMode mode) { m_item->setCacheMode(mode); }
QGraphicsItem::CacheMode itemCacheMode() { return m_item->cacheMode(); }
void setFrameRateMeasurementEnabled(bool enabled);
bool frameRateMeasurementEnabled() const { return m_measureFps; }
+ virtual void resizeEvent(QResizeEvent*);
virtual void paintEvent(QPaintEvent* event);
void setResizesToContents(bool b);
@@ -106,6 +107,7 @@ public slots:
void updateFrameRate();
void animatedFlip();
void animatedYFlip();
+ void contentsSizeChanged(const QSize&);
signals:
void yFlipRequest();