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

Issue 13465014: LayerTreeHost::SetAnimationEvents should use AnimationRegistrar (Closed)

Created:
7 years, 8 months ago by ajuma
Modified:
7 years, 8 months ago
Reviewers:
Ian Vollick, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

LayerTreeHost::SetAnimationEvents should use AnimationRegistrar This makes LayerTreeHost::SetAnimationEvents iterate over all active animation controllers registered with its AnimationRegistrar instead of iterating over the layer tree. This allows us to properly deliver animation events to a layer that has been temporarily removed from the layer tree when SetAnimationEvents is called. BUG=196284 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192835

Patch Set 1 : #

Total comments: 15

Patch Set 2 : Address review comments #

Patch Set 3 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+341 lines, -189 lines) Patch
M cc/animation/animation.h View 2 chunks +10 lines, -0 lines 0 comments Download
M cc/animation/animation.cc View 1 chunk +1 line, -0 lines 0 comments Download
M cc/animation/layer_animation_controller.h View 1 2 7 chunks +33 lines, -11 lines 0 comments Download
M cc/animation/layer_animation_controller.cc View 1 2 12 chunks +118 lines, -39 lines 0 comments Download
M cc/animation/layer_animation_controller_unittest.cc View 1 2 25 chunks +124 lines, -30 lines 0 comments Download
M cc/layers/layer.h View 5 chunks +5 lines, -12 lines 0 comments Download
M cc/layers/layer.cc View 6 chunks +16 lines, -46 lines 0 comments Download
M cc/layers/layer_impl.cc View 3 chunks +2 lines, -5 lines 0 comments Download
M cc/trees/layer_tree_host.h View 1 chunk +0 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 2 chunks +30 lines, -40 lines 0 comments Download
M cc/trees/tree_synchronizer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/compositor_bindings/web_layer_impl.cc View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
ajuma
7 years, 8 months ago (2013-04-02 21:42:19 UTC) #1
Ian Vollick
I really like this. Just a few minor comments. https://chromiumcodereview.appspot.com/13465014/diff/10001/cc/animation/layer_animation_controller.cc File cc/animation/layer_animation_controller.cc (right): https://chromiumcodereview.appspot.com/13465014/diff/10001/cc/animation/layer_animation_controller.cc#newcode138 cc/animation/layer_animation_controller.cc:138: ...
7 years, 8 months ago (2013-04-04 18:38:58 UTC) #2
ajuma
PTAL. https://chromiumcodereview.appspot.com/13465014/diff/10001/cc/animation/layer_animation_controller.cc File cc/animation/layer_animation_controller.cc (right): https://chromiumcodereview.appspot.com/13465014/diff/10001/cc/animation/layer_animation_controller.cc#newcode138 cc/animation/layer_animation_controller.cc:138: set_force_sync(); On 2013/04/04 18:38:58, vollick wrote: > other_controller->UpdateActivation(NormalActivation)? ...
7 years, 8 months ago (2013-04-05 14:38:18 UTC) #3
Ian Vollick
lgtm On 2013/04/05 14:38:18, ajuma wrote: > PTAL. > > https://chromiumcodereview.appspot.com/13465014/diff/10001/cc/animation/layer_animation_controller.cc > File cc/animation/layer_animation_controller.cc (right): ...
7 years, 8 months ago (2013-04-05 15:07:11 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajuma@chromium.org/13465014/17013
7 years, 8 months ago (2013-04-05 15:07:30 UTC) #5
commit-bot: I haz the power
Presubmit check for 13465014-17013 failed and returned exit status 1. INFO:root:Found 12 file(s). Running presubmit ...
7 years, 8 months ago (2013-04-05 15:07:36 UTC) #6
ajuma
On 2013/04/05 15:07:36, I haz the power (commit-bot) wrote: > Presubmit check for 13465014-17013 failed ...
7 years, 8 months ago (2013-04-05 15:08:36 UTC) #7
enne (OOO)
webkit/compositor_bindings lgtm
7 years, 8 months ago (2013-04-05 15:27:53 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajuma@chromium.org/13465014/29001
7 years, 8 months ago (2013-04-06 18:18:28 UTC) #9
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 8 months ago (2013-04-06 23:38:23 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajuma@chromium.org/13465014/29001
7 years, 8 months ago (2013-04-07 00:04:50 UTC) #11
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 8 months ago (2013-04-07 00:16:07 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajuma@chromium.org/13465014/29001
7 years, 8 months ago (2013-04-08 16:02:47 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajuma@chromium.org/13465014/29001
7 years, 8 months ago (2013-04-08 18:06:59 UTC) #14
commit-bot: I haz the power
7 years, 8 months ago (2013-04-08 18:08:37 UTC) #15
Message was sent while issue was closed.
Change committed as 192835

Powered by Google App Engine
This is Rietveld 408576698