DescriptionRemove FrameView::m_inProgrammaticScroll and related plumbing.
It seems this field only exists so that FrameView::setWasScrolledByUser can say
"oh, you didn't really mean to do that".
With this patch we no longer call setWasScrolledByUser(true) from
FrameView::scrollPositionChanged, which handles both user and programmatic
scrolls, and instead call it only for actual user scrolls. EventHandler was
already doing this in many cases.
This happens to revert the effects of http://crrev.com/16254006, which I think
are no longer needed (aelias thinks it was for http://crbug.com/165317).
Not having to update m_inProgrammaticScroll simplifies other scrolling changes,
such as RootFrameViewport and root layer scrolling.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=194786
Patch Set 1 : #
Messages
Total messages: 9 (4 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||