Changeset 71803 in webkit
- Timestamp:
- Nov 11, 2010 4:32:29 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r71802 r71803 1 2010-11-11 Andreas Kling <kling@webkit.org> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 FrameView: Don't clip to visibleContentRect in paintEntireContents mode 6 https://bugs.webkit.org/show_bug.cgi?id=49375 7 8 In paintEntireContents mode (used in combination with tiling) we 9 cannot clip to the actual visibleContentRect as the clipped regions 10 will not be updated again on scroll. If paintsEntireContents is 11 enabled, return the actual content rect. 12 13 * page/FrameView.cpp: 14 (WebCore::FrameView::windowClipRect): 15 1 16 2010-11-10 Nikolas Zimmermann <nzimmermann@rim.com> 2 17 -
trunk/WebCore/page/FrameView.cpp
r71736 r71803 1843 1843 ASSERT(m_frame->view() == this); 1844 1844 1845 if (paintsEntireContents()) 1846 return IntRect(IntPoint(0, 0), contentsSize()); 1847 1845 1848 // Set our clip rect to be our contents. 1846 1849 IntRect clipRect = contentsToWindow(visibleContentRect(!clipToContents)); -
trunk/WebKit/qt/Api/qgraphicswebview.cpp
r71736 r71803 142 142 } 143 143 page->d->page->settings()->setShouldDelegateScrolling(resizesToContents); 144 page->d->page->mainFrame()->view()->setPaintsEntireContents(resizesToContents); 144 145 } 145 146 -
trunk/WebKit/qt/ChangeLog
r71736 r71803 1 2010-11-11 Andreas Kling <kling@webkit.org> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 FrameView: Don't clip to visibleContentRect in paintEntireContents mode 6 https://bugs.webkit.org/show_bug.cgi?id=49375 7 8 Use paintEntireContents in combination with tiling, allowing to 9 actually set visibleContentRect to something different from 10 the actual contents size. 11 12 * Api/qgraphicswebview.cpp: 13 (QGraphicsWebViewPrivate::updateResizesToContentsForPage): 14 * WebCoreSupport/FrameLoaderClientQt.cpp: 15 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage): 16 1 17 2010-11-10 Sheriff Bot <webkit.review.bot@gmail.com> 2 18 -
trunk/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp
r71736 r71803 281 281 hScrollbar, hLock, 282 282 vScrollbar, vLock); 283 284 bool isMainFrame = m_frame == m_frame->page()->mainFrame(); 285 if (isMainFrame && page->d->client) 286 m_frame->view()->setPaintsEntireContents(page->d->client->viewResizesToContentsEnabled()); 283 287 } 284 288
Note: See TracChangeset
for help on using the changeset viewer.