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

Issue 2538973002: CC Animation: Make AnimationPlayer to be a unit of activation. (Closed)

Created:
4 years ago by loyso (OOO)
Modified:
4 years ago
Reviewers:
ajuma
CC:
cc-bugs_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

CC Animation: Make AnimationPlayer to be a unit of activation. (Was ElementAnimation previously). It allows us to avoid inconsistencies in UpdateActivation process and ElementAnimation's data. Removes redundant last_tick_time_. As a result, ElementAnimation should become a lightweight passive object which holds per-Element animation data. BUG=669755 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Committed: https://crrev.com/e7592f02242026970af0a6425928e5271a52f79d Cr-Commit-Position: refs/heads/master@{#435503}

Patch Set 1 #

Patch Set 2 : Move ScrollOffsetAnimationWasInterrupted to AnimationPlayer #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+516 lines, -618 lines) Patch
M cc/animation/animation_host.h View 4 chunks +10 lines, -8 lines 0 comments Download
M cc/animation/animation_host.cc View 1 7 chunks +27 lines, -27 lines 1 comment Download
M cc/animation/animation_player.h View 1 4 chunks +23 lines, -0 lines 0 comments Download
M cc/animation/animation_player.cc View 1 7 chunks +83 lines, -4 lines 0 comments Download
M cc/animation/element_animations.h View 1 7 chunks +6 lines, -34 lines 0 comments Download
M cc/animation/element_animations.cc View 1 6 chunks +14 lines, -95 lines 0 comments Download
M cc/animation/element_animations_unittest.cc View 1 107 chunks +345 lines, -440 lines 0 comments Download
M cc/test/layer_tree_test.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_animation.cc View 2 chunks +5 lines, -6 lines 0 comments Download

Messages

Total messages: 24 (14 generated)
loyso (OOO)
4 years ago (2016-11-30 04:37:06 UTC) #4
ajuma
lgtm, but please add a sentence or two to the description explaining why we want ...
4 years ago (2016-11-30 15:34:53 UTC) #12
loyso (OOO)
On 2016/11/30 at 15:34:53, ajuma wrote: > Not related to this CL but something to ...
4 years ago (2016-11-30 23:19:37 UTC) #13
loyso (OOO)
On 2016/11/30 at 15:34:53, ajuma wrote: > lgtm, but please add a sentence or two ...
4 years ago (2016-11-30 23:23:51 UTC) #15
loyso (OOO)
4 years ago (2016-11-30 23:24:03 UTC) #16
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/2538973002/20001
4 years ago (2016-12-01 00:44:42 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-01 00:49:31 UTC) #20
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/e7592f02242026970af0a6425928e5271a52f79d Cr-Commit-Position: refs/heads/master@{#435503}
4 years ago (2016-12-01 00:52:33 UTC) #22
loyso (OOO)
On 2016/11/30 at 15:34:53, ajuma wrote: > Not related to this CL but something to ...
4 years ago (2016-12-05 06:06:09 UTC) #23
ajuma
4 years ago (2016-12-05 14:05:36 UTC) #24
Message was sent while issue was closed.
On 2016/12/05 06:06:09, loyso wrote:
> On 2016/11/30 at 15:34:53, ajuma wrote:
> > Not related to this CL but something to consider for a future cleanup: we
have
> two different notions of "Activate" in the animation code:
> pending-tree-to-active-tree "activation", and "activation" in the sense of
going
> from not having any animations to having animations. This is pretty confusing
so
> it might be worth renaming the latter.
> 
> How about "TickingPlayers" naming? AddToTicking / RemoveFromTicking /
> TickingPlayersList / TickPlayers

sgtm!

Powered by Google App Engine
This is Rietveld 408576698