Changeset 76065 in webkit
- Timestamp:
- Jan 18, 2011 2:22:21 PM (13 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r76064 r76065 1 2011-01-18 Anders Carlsson <andersca@apple.com> 2 3 Reviewed by Dan Bernstein. 4 5 Ask the web page proxy to scroll the view when needed 6 https://bugs.webkit.org/show_bug.cgi?id=52665 7 8 * UIProcess/DrawingAreaProxyImpl.cpp: 9 (WebKit::DrawingAreaProxyImpl::incorporateUpdate): 10 * UIProcess/WebPageProxy.cpp: 11 (WebKit::WebPageProxy::scrollView): 12 * UIProcess/WebPageProxy.h: 13 1 14 2011-01-18 Anders Carlsson <andersca@apple.com> 2 15 -
trunk/Source/WebKit2/UIProcess/DrawingAreaProxyImpl.cpp
r75953 r76065 122 122 123 123 if (!updateInfo.scrollRect.isEmpty()) { 124 m_webPageProxy->s etViewNeedsDisplay(updateInfo.scrollRect);124 m_webPageProxy->scrollView(updateInfo.scrollRect, updateInfo.scrollOffset); 125 125 m_webPageProxy->displayView(); 126 126 } -
trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp
r75979 r76065 476 476 } 477 477 478 void WebPageProxy::scrollView(const IntRect& scrollRect, const IntSize& scrollOffset) 479 { 480 m_pageClient->scrollView(scrollRect, scrollOffset); 481 } 482 478 483 void WebPageProxy::viewStateDidChange(ViewStateFlags flags) 479 484 { -
trunk/Source/WebKit2/UIProcess/WebPageProxy.h
r75979 r76065 174 174 void setViewNeedsDisplay(const WebCore::IntRect&); 175 175 void displayView(); 176 void scrollView(const WebCore::IntRect& scrollRect, const WebCore::IntSize& scrollOffset); 176 177 177 178 enum {
Note: See TracChangeset
for help on using the changeset viewer.