https://bugs.webkit.org/show_bug.cgi?id=72608
Reviewed by Simon Hausmann.
Remove some dead code after we merged our views.
QQuickWebView is now using AC which means that this
path is never called now.
* UIProcess/qt/QtWebPageProxy.cpp:
(QtWebPageProxy::didReceiveDownloadResponse):
* UIProcess/qt/QtWebPageProxy.h:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100617
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2011-11-17 Alexis Menard <alexis.menard@openbossa.org>
+
+ [Qt][WK2] Cleanup dead code in QtWebPageProxy.
+ https://bugs.webkit.org/show_bug.cgi?id=72608
+
+ Reviewed by Simon Hausmann.
+
+ Remove some dead code after we merged our views.
+ QQuickWebView is now using AC which means that this
+ path is never called now.
+
+ * UIProcess/qt/QtWebPageProxy.cpp:
+ (QtWebPageProxy::didReceiveDownloadResponse):
+ * UIProcess/qt/QtWebPageProxy.h:
+
2011-11-17 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
[Qt] Remove forwarding header for WebKit2 C API
m_viewInterface->didChangeLoadProgress(newLoadProgress);
}
-void QtWebPageProxy::paint(QPainter* painter, const QRect& area)
-{
- if (m_webPageProxy->isValid())
- paintContent(painter, area);
- else
- painter->fillRect(area, Qt::white);
-}
-
bool QtWebPageProxy::canGoBack() const
{
return m_webPageProxy->canGoBack();
m_viewInterface->downloadRequested(download);
}
-void QtWebPageProxy::paintContent(QPainter* painter, const QRect& area)
-{
- // FIXME: Do something with the unpainted region?
- WebCore::Region unpaintedRegion;
- static_cast<DrawingAreaProxyImpl*>(m_webPageProxy->drawingArea())->paint(painter, area, unpaintedRegion);
-}
-
PassOwnPtr<DrawingAreaProxy> QtWebPageProxy::createDrawingAreaProxy()
{
return DrawingAreaProxyImpl::create(m_webPageProxy.get());
void didChangeLoadProgress(int);
int loadProgress() const { return m_loadProgress; }
- void paint(QPainter*, const QRect&);
-
bool canGoBack() const;
void goBack();
bool canGoForward() const;
Q_SIGNAL void receivedMessageFromNavigatorQtObject(const QVariantMap&);
protected:
- virtual void paintContent(QPainter* painter, const QRect& area);
RefPtr<WebKit::WebPageProxy> m_webPageProxy;
WebKit::QtViewInterface* const m_viewInterface;
QtViewportInteractionEngine* m_interactionEngine;