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

Issue 1866583002: Connect LTHI::ScrollAnimated to cc::Viewport (Closed)

Created:
4 years, 8 months ago by ymalik
Modified:
4 years, 8 months ago
Reviewers:
bokan, ajuma
CC:
chromium-reviews, cc-bugs_chromium.org, tdresser, skobes
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Connect LTHI::ScrollAnimated to cc::Viewport This CL removed to hack in FindScrollLayerForDeviceViewportPoint to ensure that we scroll the outer viewport and connects the LTHI::ScrollAnimated function to the viewport class. The viewport class distributes the scroll delta between the inner and outer viewports and starts animation the layer which consumes more of the scroll delta. Our animation system does not support running two scroll offset animations and this is something that we may need to add in future. BUG=575019, 595421 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/99740e85f5ebeb08b80a13b34144f7f7f2d1687e Cr-Commit-Position: refs/heads/master@{#385657}

Patch Set 1 #

Total comments: 17

Patch Set 2 : address feedback #

Patch Set 3 : remove unused ScrollAmount #

Patch Set 4 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+333 lines, -56 lines) Patch
M cc/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M cc/cc_tests.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M cc/input/input_handler.h View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/layers/viewport.h View 1 3 chunks +10 lines, -0 lines 0 comments Download
M cc/layers/viewport.cc View 1 2 3 1 chunk +56 lines, -0 lines 0 comments Download
A cc/layers/viewport_unittest.cc View 1 1 chunk +30 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 2 3 chunks +10 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 chunks +62 lines, -46 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 3 chunks +159 lines, -5 lines 0 comments Download
M cc/trees/property_tree.h View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
ymalik
4 years, 8 months ago (2016-04-06 00:05:06 UTC) #3
bokan
https://codereview.chromium.org/1866583002/diff/1/cc/layers/viewport.cc File cc/layers/viewport.cc (right): https://codereview.chromium.org/1866583002/diff/1/cc/layers/viewport.cc#newcode77 cc/layers/viewport.cc:77: return std::abs(max_dim_viewport_delta) > std::abs(max_dim_pending_delta); If you want to animate ...
4 years, 8 months ago (2016-04-06 13:35:53 UTC) #5
ymalik
@bokan PTAL :) https://codereview.chromium.org/1866583002/diff/1/cc/layers/viewport.cc File cc/layers/viewport.cc (right): https://codereview.chromium.org/1866583002/diff/1/cc/layers/viewport.cc#newcode77 cc/layers/viewport.cc:77: return std::abs(max_dim_viewport_delta) > std::abs(max_dim_pending_delta); On 2016/04/06 ...
4 years, 8 months ago (2016-04-06 15:33:45 UTC) #6
bokan
non-owner lgtm % minor comments. https://codereview.chromium.org/1866583002/diff/1/cc/layers/viewport.cc File cc/layers/viewport.cc (right): https://codereview.chromium.org/1866583002/diff/1/cc/layers/viewport.cc#newcode77 cc/layers/viewport.cc:77: return std::abs(max_dim_viewport_delta) > std::abs(max_dim_pending_delta); ...
4 years, 8 months ago (2016-04-06 19:38:23 UTC) #7
ajuma
lgtm % bokan
4 years, 8 months ago (2016-04-06 19:53:49 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1866583002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1866583002/60001
4 years, 8 months ago (2016-04-06 21:57:33 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/206961)
4 years, 8 months ago (2016-04-07 01:45:07 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1866583002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1866583002/60001
4 years, 8 months ago (2016-04-07 01:55:51 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-07 04:18:22 UTC) #17
commit-bot: I haz the power
4 years, 8 months ago (2016-04-07 04:20:12 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/99740e85f5ebeb08b80a13b34144f7f7f2d1687e
Cr-Commit-Position: refs/heads/master@{#385657}

Powered by Google App Engine
This is Rietveld 408576698