Scrolling tree should keep track of region we can't do fast scrolling for
Created attachment 125944 [details] Patch
Comment on attachment 125944 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=125944&action=review > Source/WebCore/page/FrameView.cpp:2552 > +IntRect FrameView::scrollableAreaBoundingBox() const Why are scrollbars included in the scrollable area? > Source/WebCore/page/FrameView.h:374 > + virtual IntRect scrollableAreaBoundingBox() const; Why not OVERRIDE? > Source/WebCore/page/scrolling/ScrollingCoordinator.cpp:103 > + // such as subframes, overflow divs and render list boxes. I’d just say “list boxes”. > Source/WebCore/rendering/RenderLayer.h:325 > + virtual IntRect scrollableAreaBoundingBox() const; Why public, why not OVERRIDE? > Source/WebCore/rendering/RenderListBox.h:123 > + virtual IntRect scrollableAreaBoundingBox() const; Why not OVERRIDE?
(In reply to comment #2) > (From update of attachment 125944 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=125944&action=review > > > Source/WebCore/page/FrameView.cpp:2552 > > +IntRect FrameView::scrollableAreaBoundingBox() const > > Why are scrollbars included in the scrollable area? Because when you have your mouse over a scrollbar, you don't want to do fast scrolling. > > > Source/WebCore/page/FrameView.h:374 > > + virtual IntRect scrollableAreaBoundingBox() const; > > Why not OVERRIDE? Fixed. > > > Source/WebCore/page/scrolling/ScrollingCoordinator.cpp:103 > > + // such as subframes, overflow divs and render list boxes. > > I’d just say “list boxes”. Fixed. > > > Source/WebCore/rendering/RenderLayer.h:325 > > + virtual IntRect scrollableAreaBoundingBox() const; > > Why public, why not OVERRIDE? Fixed. > > > Source/WebCore/rendering/RenderListBox.h:123 > > + virtual IntRect scrollableAreaBoundingBox() const; > > Why not OVERRIDE? Fixed. Thanks for reviewing!
Committed r107001: <http://trac.webkit.org/changeset/107001>