0
Files
src/content/browser/navigation_transitions
Aldo Culquicondor 195c75dd21 Reland "Apply resampling and filtering to back transition gesture"
This is a reland of commit 11fd863068

Some browser tests failed in larger screens due to precision. This
change adds more precision to the input for expected values and
increases the float tolerance for pixel translation comparisons.

Tested:
- TestLivePageTransformBackNavigation/LTR https://ci.chromium.org/ui/inv/u-acondor-2025-01-08-15-55-00-521b4d6171e75910
- TestScreenshotTransformScrimColorForwardNavigation/LTR https://ci.chromium.org/ui/inv/u-acondor-2025-01-08-16-10-00-8067a3c29582dd58

Original change's description:
> Apply resampling and filtering to back transition gesture
>
> To improve the smoothness of the gesture.
>
> This moves the code to set up translations to OnAnimate, which has a
> reference timestamp for the vsync.
>
> Because this adds lag, it exposed a bug in the cancel spring where the
> direction of the initial velocity was wrong, leading to an excessive
> rebound on the left edge.
>
> Bug: 383163623, 40945408
> Change-Id: I1f0ebab932aa2477bb686e3cc277cdbf8575247b
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6064026
> Reviewed-by: Jonathan Ross <jonross@chromium.org>
> Reviewed-by: William Liu <liuwilliam@chromium.org>
> Commit-Queue: Aldo Culquicondor <acondor@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1403106}

Bug: 383163623, 40945408
Change-Id: I36aeab441355d14f9d8d3f270bd9b3f48582dd20
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6157438
Commit-Queue: Aldo Culquicondor <acondor@chromium.org>
Reviewed-by: William Liu <liuwilliam@chromium.org>
Reviewed-by: Jonathan Ross <jonross@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1404435}
2025-01-09 14:22:33 -08:00
..