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

Issue 2290233004: currentlyscrollinglayer cleared in scrollAnimatedBegin. (Closed)

Created:
4 years, 3 months ago by sahel
Modified:
4 years, 3 months ago
Reviewers:
ymalik, tdresser, ericrk
CC:
chromium-reviews, cc-bugs_chromium.org, dtapuska+chromiumwatch_chromium.org, tdresser+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

currentlyscrollinglayer cleared in scrollAnimatedBegin. For now the latching is implemented only for mac, and the scrollAnimation logic is dependent on clearing the scrolling layer after each animation. The dependency will resolved in follow up patches that will address latching on other devices. Similar changes is done for scrollAnimated function in: https://codereview.chromium.org/2256733003 BUG=642370 TEST=LayerTreeHostImplTest.SecondScrollAnimatedBeginNotIgnored CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/ebcfc3309fba892b25d84f943d26bbdab6d100ee Cr-Commit-Position: refs/heads/master@{#415814}

Patch Set 1 #

Total comments: 4

Patch Set 2 : unittest added. #

Total comments: 2

Patch Set 3 : nit fixed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -4 lines) Patch
M cc/trees/layer_tree_host_impl.cc View 1 2 5 chunks +6 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 1 chunk +13 lines, -0 lines 0 comments Download
M ui/events/blink/input_handler_proxy.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 25 (12 generated)
sahel
tdresser@chromium.org: Please review changes in ericrk@chromium.org: Please review changes in
4 years, 3 months ago (2016-08-30 22:16:51 UTC) #3
tdresser
Just making sure - you've tested this locally? LGTM to land, but as a followup, ...
4 years, 3 months ago (2016-08-31 13:10:05 UTC) #4
ymalik
lgtm can you also link to your previous patch that added the clearing logic in ...
4 years, 3 months ago (2016-08-31 14:01:55 UTC) #5
sahel
I added a unit test that fails with the old code and passes with this ...
4 years, 3 months ago (2016-08-31 14:25:10 UTC) #7
tdresser
Thanks for the test. Still LGTM!
4 years, 3 months ago (2016-08-31 14:44:42 UTC) #8
ymalik
On 2016/08/31 14:25:10, sahel wrote: > I added a unit test that fails with the ...
4 years, 3 months ago (2016-08-31 14:45:52 UTC) #9
ericrk
I think this makes sense. I'd like to better understand the impact of clearing the ...
4 years, 3 months ago (2016-08-31 18:29:42 UTC) #11
sahel
On 2016/08/31 18:29:42, ericrk wrote: > I think this makes sense. I'd like to better ...
4 years, 3 months ago (2016-08-31 19:16:35 UTC) #12
sahel
https://codereview.chromium.org/2290233004/diff/20001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/2290233004/diff/20001/cc/trees/layer_tree_host_impl.cc#newcode2791 cc/trees/layer_tree_host_impl.cc:2791: scroll_state_data.is_in_inertial_phase = false; On 2016/08/31 18:29:42, ericrk wrote: > ...
4 years, 3 months ago (2016-08-31 19:16:47 UTC) #13
ericrk
lgtm Ok, that makes sense. Thanks!
4 years, 3 months ago (2016-08-31 20:18:13 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2290233004/40001
4 years, 3 months ago (2016-08-31 22:48:25 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-01 00:14:18 UTC) #23
commit-bot: I haz the power
4 years, 3 months ago (2016-09-01 00:16:32 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ebcfc3309fba892b25d84f943d26bbdab6d100ee
Cr-Commit-Position: refs/heads/master@{#415814}

Powered by Google App Engine
This is Rietveld 408576698