Changeset 100617 in webkit
- Timestamp:
- Nov 17, 2011 6:51:52 AM (12 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r100607 r100617 1 2011-11-17 Alexis Menard <alexis.menard@openbossa.org> 2 3 [Qt][WK2] Cleanup dead code in QtWebPageProxy. 4 https://bugs.webkit.org/show_bug.cgi?id=72608 5 6 Reviewed by Simon Hausmann. 7 8 Remove some dead code after we merged our views. 9 QQuickWebView is now using AC which means that this 10 path is never called now. 11 12 * UIProcess/qt/QtWebPageProxy.cpp: 13 (QtWebPageProxy::didReceiveDownloadResponse): 14 * UIProcess/qt/QtWebPageProxy.h: 15 1 16 2011-11-17 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> 2 17 -
trunk/Source/WebKit2/UIProcess/qt/QtWebPageProxy.cpp
r100602 r100617 608 608 } 609 609 610 void QtWebPageProxy::paint(QPainter* painter, const QRect& area)611 {612 if (m_webPageProxy->isValid())613 paintContent(painter, area);614 else615 painter->fillRect(area, Qt::white);616 }617 618 610 bool QtWebPageProxy::canGoBack() const 619 611 { … … 820 812 // Now that our downloadItem has everything we need we can emit downloadRequested. 821 813 m_viewInterface->downloadRequested(download); 822 }823 824 void QtWebPageProxy::paintContent(QPainter* painter, const QRect& area)825 {826 // FIXME: Do something with the unpainted region?827 WebCore::Region unpaintedRegion;828 static_cast<DrawingAreaProxyImpl*>(m_webPageProxy->drawingArea())->paint(painter, area, unpaintedRegion);829 814 } 830 815 -
trunk/Source/WebKit2/UIProcess/qt/QtWebPageProxy.h
r100590 r100617 148 148 int loadProgress() const { return m_loadProgress; } 149 149 150 void paint(QPainter*, const QRect&);151 152 150 bool canGoBack() const; 153 151 void goBack(); … … 212 210 213 211 protected: 214 virtual void paintContent(QPainter* painter, const QRect& area);215 212 RefPtr<WebKit::WebPageProxy> m_webPageProxy; 216 213 WebKit::QtViewInterface* const m_viewInterface;
Note: See TracChangeset
for help on using the changeset viewer.