Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Issue 1776503002: Account for scroll origin in scroll animators. (Closed)

Created:
4 years, 9 months ago by skobes
Modified:
4 years, 9 months ago
Reviewers:
jbroman, szager1
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, chromium-reviews, Eric Willigers, kinuko+watch, rjwright, shans, ymalik
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Account for scroll origin in scroll animators. Blink and cc have different notions of scroll offset - Blink's is relative to the scroll origin which is non-zero in RTL documents. The CompositorScrollOffsetAnimationCurve must work entirely in cc scroll offsets since it is handed over to cc which doesn't know about the scroll origin. This patch teaches ScrollAnimator and ProgrammaticScrollAnimator to convert in both directions when creating and using the curve object. BUG=581264 Committed: https://crrev.com/0bb16600006793953292ee1e7fd8bf0a66f575dc Cr-Commit-Position: refs/heads/master@{#379974}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : skip test on Mac #

Patch Set 4 : rebase #

Total comments: 2

Patch Set 5 : super-nit #

Messages

Total messages: 24 (11 generated)
skobes
4 years, 9 months ago (2016-03-08 01:26:24 UTC) #2
szager1
lgtm with nit https://codereview.chromium.org/1776503002/diff/1/third_party/WebKit/LayoutTests/virtual/threaded/fast/scroll-behavior/smooth-scroll/horizontal-smooth-scroll-in-rtl-expected.txt File third_party/WebKit/LayoutTests/virtual/threaded/fast/scroll-behavior/smooth-scroll/horizontal-smooth-scroll-in-rtl-expected.txt (right): https://codereview.chromium.org/1776503002/diff/1/third_party/WebKit/LayoutTests/virtual/threaded/fast/scroll-behavior/smooth-scroll/horizontal-smooth-scroll-in-rtl-expected.txt#newcode1 third_party/WebKit/LayoutTests/virtual/threaded/fast/scroll-behavior/smooth-scroll/horizontal-smooth-scroll-in-rtl-expected.txt:1: This test verifies some shit. Rephrase ...
4 years, 9 months ago (2016-03-08 01:53:29 UTC) #3
skobes
https://codereview.chromium.org/1776503002/diff/1/third_party/WebKit/LayoutTests/virtual/threaded/fast/scroll-behavior/smooth-scroll/horizontal-smooth-scroll-in-rtl-expected.txt File third_party/WebKit/LayoutTests/virtual/threaded/fast/scroll-behavior/smooth-scroll/horizontal-smooth-scroll-in-rtl-expected.txt (right): https://codereview.chromium.org/1776503002/diff/1/third_party/WebKit/LayoutTests/virtual/threaded/fast/scroll-behavior/smooth-scroll/horizontal-smooth-scroll-in-rtl-expected.txt#newcode1 third_party/WebKit/LayoutTests/virtual/threaded/fast/scroll-behavior/smooth-scroll/horizontal-smooth-scroll-in-rtl-expected.txt:1: This test verifies some shit. On 2016/03/08 01:53:29, szager1 ...
4 years, 9 months ago (2016-03-08 02:05:50 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1776503002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1776503002/40001
4 years, 9 months ago (2016-03-08 19:12:43 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/141844) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 9 months ago (2016-03-08 19:16:24 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1776503002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1776503002/60001
4 years, 9 months ago (2016-03-08 19:32:39 UTC) #12
skobes
+jbroman for Source/platform/OWNERS
4 years, 9 months ago (2016-03-08 19:37:47 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/154486)
4 years, 9 months ago (2016-03-08 19:43:02 UTC) #16
jbroman
lgtm https://codereview.chromium.org/1776503002/diff/60001/third_party/WebKit/LayoutTests/virtual/threaded/fast/scroll-behavior/smooth-scroll/horizontal-smooth-scroll-in-rtl.html File third_party/WebKit/LayoutTests/virtual/threaded/fast/scroll-behavior/smooth-scroll/horizontal-smooth-scroll-in-rtl.html (right): https://codereview.chromium.org/1776503002/diff/60001/third_party/WebKit/LayoutTests/virtual/threaded/fast/scroll-behavior/smooth-scroll/horizontal-smooth-scroll-in-rtl.html#newcode20 third_party/WebKit/LayoutTests/virtual/threaded/fast/scroll-behavior/smooth-scroll/horizontal-smooth-scroll-in-rtl.html:20: if (!window.eventSender || !window.internals) { super-nit: do you ...
4 years, 9 months ago (2016-03-08 20:06:09 UTC) #17
skobes
https://codereview.chromium.org/1776503002/diff/60001/third_party/WebKit/LayoutTests/virtual/threaded/fast/scroll-behavior/smooth-scroll/horizontal-smooth-scroll-in-rtl.html File third_party/WebKit/LayoutTests/virtual/threaded/fast/scroll-behavior/smooth-scroll/horizontal-smooth-scroll-in-rtl.html (right): https://codereview.chromium.org/1776503002/diff/60001/third_party/WebKit/LayoutTests/virtual/threaded/fast/scroll-behavior/smooth-scroll/horizontal-smooth-scroll-in-rtl.html#newcode20 third_party/WebKit/LayoutTests/virtual/threaded/fast/scroll-behavior/smooth-scroll/horizontal-smooth-scroll-in-rtl.html:20: if (!window.eventSender || !window.internals) { On 2016/03/08 20:06:09, jbroman ...
4 years, 9 months ago (2016-03-08 20:13:32 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1776503002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1776503002/80001
4 years, 9 months ago (2016-03-08 20:14:05 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 9 months ago (2016-03-08 23:51:51 UTC) #22
commit-bot: I haz the power
4 years, 9 months ago (2016-03-08 23:54:19 UTC) #24
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/0bb16600006793953292ee1e7fd8bf0a66f575dc
Cr-Commit-Position: refs/heads/master@{#379974}

Powered by Google App Engine
This is Rietveld 408576698