DescriptionRefactor GestureNavigation to eliminate code redundancy
Right now, Gesture Navigation has two very distinct phases: the initial
one, where the web contents window receives events and is moved, and the
follow up navigation, where the page still hasn't loaded and the user
scrolls on the overlay. The meat of this patch is to unify as much of
the logic as possible without sacrificing features. A new class is
introduced, OverscrollWindowAnimation, and the responsibility of the
existing OverscrollNavigationOverlay is steered into performing the
actual navigation.
Reland of: https://codereview.chromium.org/895543005/.
TEST=Overscroll*
BUG=467692, 464532, 420121
Committed: https://crrev.com/5384f002f839439ef666ed9688069e42ca5ccdca
Cr-Commit-Position: refs/heads/master@{#324275}
Committed: https://crrev.com/c0b2fa5d0ad1a266234240d9fac20be93b5ca0fc
Cr-Commit-Position: refs/heads/master@{#324526}
Patch Set 1 : Original patch #Patch Set 2 : Fix invalid pointer reference on WebContentsViewAuraTest.RepeatedQuickOverscrollGestures #
Total comments: 1
Patch Set 3 : Removed comment #
Total comments: 2
Patch Set 4 : Fixed window ownership #
Total comments: 2
Messages
Total messages: 15 (5 generated)
|