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

Issue 864003002: cc: Make LayerAnimationController keep state for clearing scroll delta (Closed)

Created:
5 years, 11 months ago by ajuma
Modified:
5 years, 11 months ago
CC:
cc-bugs_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Make LayerAnimationController keep state for clearing scroll delta When a scroll offset animation is removed, the corresponding LayerImpl's scroll delta needs to be cleared at activation. This CL moves the state tracking whether such clearing is needed from LayerImpl to LayerAnimationController, since this behavior is intended to be specific to this use case rather than providing a general way to clear scroll deltas. BUG=243871 Committed: https://crrev.com/4256b4582ef4d1f257320452d445395610ed6ac4 Cr-Commit-Position: refs/heads/master@{#312609}

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -69 lines) Patch
M cc/animation/layer_animation_controller.h View 1 2 4 chunks +14 lines, -4 lines 0 comments Download
M cc/animation/layer_animation_controller.cc View 1 2 6 chunks +9 lines, -9 lines 0 comments Download
M cc/animation/layer_animation_controller_unittest.cc View 1 2 2 chunks +67 lines, -12 lines 0 comments Download
M cc/animation/layer_animation_value_observer.h View 1 chunk +0 lines, -1 line 0 comments Download
M cc/layers/layer.h View 2 chunks +0 lines, -2 lines 0 comments Download
M cc/layers/layer.cc View 1 2 4 chunks +2 lines, -9 lines 0 comments Download
M cc/layers/layer_impl.h View 3 chunks +0 lines, -4 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 2 5 chunks +1 line, -12 lines 0 comments Download
M cc/test/animation_test_common.h View 2 chunks +0 lines, -9 lines 0 comments Download
M cc/test/animation_test_common.cc View 2 chunks +1 line, -7 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
ajuma
5 years, 11 months ago (2015-01-21 16:39:05 UTC) #2
aelias_OOO_until_Jul13
Looks OK, just some minor comments: https://codereview.chromium.org/864003002/diff/20001/cc/animation/layer_animation_controller.h File cc/animation/layer_animation_controller.h (right): https://codereview.chromium.org/864003002/diff/20001/cc/animation/layer_animation_controller.h#newcode142 cc/animation/layer_animation_controller.h:142: // When a ...
5 years, 11 months ago (2015-01-21 21:23:52 UTC) #3
ajuma
https://codereview.chromium.org/864003002/diff/20001/cc/animation/layer_animation_controller.h File cc/animation/layer_animation_controller.h (right): https://codereview.chromium.org/864003002/diff/20001/cc/animation/layer_animation_controller.h#newcode142 cc/animation/layer_animation_controller.h:142: // When a scroll animation is removed on the ...
5 years, 11 months ago (2015-01-21 21:50:27 UTC) #4
aelias_OOO_until_Jul13
lgtm, thanks.
5 years, 11 months ago (2015-01-21 23:29:15 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/864003002/40001
5 years, 11 months ago (2015-01-22 14:10:29 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 11 months ago (2015-01-22 14:29:25 UTC) #8
commit-bot: I haz the power
5 years, 11 months ago (2015-01-22 14:30:17 UTC) #9
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/4256b4582ef4d1f257320452d445395610ed6ac4
Cr-Commit-Position: refs/heads/master@{#312609}

Powered by Google App Engine
This is Rietveld 408576698