Changeset 67365 in webkit
- Timestamp:
- Sep 12, 2010 11:24:41 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 5 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r67364 r67365 1 2010-09-12 Robin Qiu <robin.qiu@torchmobile.com.cn> 2 3 Reviewed by Antonio Gomes. 4 5 https://bugs.webkit.org/show_bug.cgi?id=18768 6 Fixed a bug in scroll flow. When we don't have scrollbars, we need to 7 repaintFixedElementsAfterScrolling(), sendScrollEvent() ... as well as 8 scrollContents(); 9 10 * scrollbars/resources/scrollable-iframe.html: Added. 11 * scrollbars/scrollevent-iframe-no-scrolling-expected.txt: Added. 12 * scrollbars/scrollevent-iframe-no-scrolling-wheel-expected.txt: Added. 13 * scrollbars/scrollevent-iframe-no-scrolling-wheel.html: Added. 14 * scrollbars/scrollevent-iframe-no-scrolling.html: Added. 15 1 16 2010-09-12 Adam Barth <abarth@webkit.org> 2 17 -
trunk/WebCore/ChangeLog
r67362 r67365 1 2010-09-12 Robin Qiu <robin.qiu@torchmobile.com.cn> 2 3 Reviewed by Antonio Gomes. 4 5 https://bugs.webkit.org/show_bug.cgi?id=18768 6 Fixed a bug in scroll flow. When we don't have scrollbars, we need to 7 repaintFixedElementsAfterScrolling(), sendScrollEvent() ... as well as 8 scrollContents(); 9 10 Tests: scrollbars/scrollevent-iframe-no-scrolling-wheel.html 11 scrollbars/scrollevent-iframe-no-scrolling.html 12 13 * page/FrameView.cpp: 14 (WebCore::FrameView::valueChanged): Added. 15 * page/FrameView.h: Added a new method. 16 * platform/ScrollView.cpp: 17 (WebCore::ScrollView::valueChanged): Added. 18 (WebCore::ScrollView::updateScrollbars): 19 * platform/ScrollView.h: Added a new method. 20 1 21 2010-09-10 MORITA Hajime <morrita@google.com> 2 22 -
trunk/WebCore/page/FrameView.cpp
r67274 r67365 1791 1791 } 1792 1792 1793 void FrameView::valueChanged(const IntSize& scrollDelta) 1794 { 1795 ScrollView::valueChanged(scrollDelta); 1796 frame()->eventHandler()->sendScrollEvent(); 1797 frame()->loader()->client()->didChangeScrollOffset(); 1798 } 1799 1793 1800 void FrameView::invalidateScrollbarRect(Scrollbar* scrollbar, const IntRect& rect) 1794 1801 { -
trunk/WebCore/page/FrameView.h
r67274 r67365 270 270 // ScrollBarClient interface 271 271 virtual void valueChanged(Scrollbar*); 272 virtual void valueChanged(const IntSize&); 272 273 virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&); 273 274 virtual bool isActive() const; -
trunk/WebCore/platform/ScrollView.cpp
r67001 r67365 311 311 } 312 312 313 void ScrollView::valueChanged(const IntSize& scrollDelta) 314 { 315 if (scrollbarsSuppressed()) 316 return; 317 318 repaintFixedElementsAfterScrolling(); 319 scrollContents(scrollDelta); 320 } 321 313 322 void ScrollView::setScrollPosition(const IntPoint& scrollPoint) 314 323 { … … 495 504 if (scrollDelta != IntSize()) { 496 505 m_scrollOffset = scroll; 497 scrollContents(scrollDelta);506 valueChanged(scrollDelta); 498 507 } 499 508 -
trunk/WebCore/platform/ScrollView.h
r67001 r67365 63 63 virtual void setScrollOffsetFromAnimation(const IntPoint&); 64 64 virtual void valueChanged(Scrollbar*); 65 virtual void valueChanged(const IntSize&); 65 66 66 67 // The window thats hosts the ScrollView. The ScrollView will communicate scrolls and repaints to the
Note: See TracChangeset
for help on using the changeset viewer.