Chromium Code Reviews
DescriptionPass the physical scroll delta through the scroll customization path.
The scroll customization path of scrolling passes through the gesture event
deltas which are inverted from actual scroll deltas. E.g. A finger moving
up and left has positive gesture event delta but causes the page to scroll down
and right which increases the page's scrollX and scrollY.
This patch converts the event delta to a scroll delta before feeding it into the
scroll customization path. I've also "uninverted" some of the helper methods
that were relying on this like LocalFrame::applyScrollDelta and
TopControls::scrollBy.
BUG=591124
Committed: https://crrev.com/1535512d6b044044e58111011a48ffd07194b49c
Cr-Commit-Position: refs/heads/master@{#378834}
Patch Set 1 : #
Total comments: 4
Patch Set 2 : Addressed review feedback #Patch Set 3 : Updated LayoutTest #
Dependent Patchsets: Messages
Total messages: 23 (12 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||