Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(283)

Issue 1584743002: CC Animation: Replace AnimiationEventsVector with AnimiationEvents class. (Closed)

Created:
4 years, 11 months ago by loyso (OOO)
Modified:
4 years, 11 months ago
Reviewers:
Ian Vollick, ajuma, piman
CC:
chromium-reviews, Ian Vollick, sievers+watch_chromium.org, jbauman+watch_chromium.org, kalyank, piman+watch_chromium.org, cc-bugs_chromium.org, danakj+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

CC Animation: Replace AnimiationEventsVector with AnimiationEvents class. It allows us to use the forward declaration for AnimiationEvents. This is a preparation to make AnimiationEvents an abstract class, unknown for CC. BUG=575053 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/e926437dd8e656f66cf83aec9823085cccf807e2 Cr-Commit-Position: refs/heads/master@{#369591}

Patch Set 1 #

Patch Set 2 : Fix windows compilation with MSVC. #

Total comments: 1

Patch Set 3 : One more Win fix. #

Patch Set 4 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+241 lines, -230 lines) Patch
M cc/animation/animation_events.h View 1 chunk +7 lines, -1 line 0 comments Download
M cc/animation/animation_events.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M cc/animation/animation_host.h View 3 chunks +7 lines, -4 lines 0 comments Download
M cc/animation/animation_host.cc View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M cc/animation/animation_registrar.h View 2 chunks +5 lines, -7 lines 0 comments Download
M cc/animation/animation_registrar.cc View 4 chunks +16 lines, -9 lines 0 comments Download
M cc/animation/layer_animation_controller.h View 4 chunks +6 lines, -7 lines 0 comments Download
M cc/animation/layer_animation_controller.cc View 11 chunks +11 lines, -10 lines 0 comments Download
M cc/animation/layer_animation_controller_unittest.cc View 66 chunks +118 lines, -149 lines 0 comments Download
M cc/layers/layer.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M cc/test/animation_timelines_test_common.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M cc/test/fake_channel_impl.h View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/test/fake_channel_impl.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M cc/test/fake_layer_tree_host_impl_client.h View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/test/fake_layer_tree_host_impl_client.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download
M cc/test/proxy_main_for_test.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/test/proxy_main_for_test.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/channel_impl.h View 3 chunks +3 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host.h View 3 chunks +4 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 3 chunks +8 lines, -6 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 2 3 3 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 3 chunks +3 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M cc/trees/proxy_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/proxy_impl.cc View 2 chunks +2 lines, -1 line 0 comments Download
M cc/trees/proxy_main.h View 3 chunks +3 lines, -2 lines 0 comments Download
M cc/trees/proxy_main.cc View 2 chunks +2 lines, -1 line 0 comments Download
M cc/trees/single_thread_proxy.h View 3 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/single_thread_proxy.cc View 2 chunks +2 lines, -1 line 0 comments Download
M cc/trees/threaded_channel.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/threaded_channel.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M cc/trees/threaded_channel_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/compositor/layer.h View 1 chunk +0 lines, -1 line 0 comments Download
M ui/compositor/layer_animation_element.h View 1 chunk +0 lines, -1 line 0 comments Download
M ui/compositor/layer_animation_sequence.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/compositor/layer_animation_sequence.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ui/compositor/layer_animation_sequence_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ui/compositor/layer_animator.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ui/compositor/layer_animator_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ui/compositor/test/layer_animator_test_controller.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 22 (7 generated)
loyso (OOO)
4 years, 11 months ago (2016-01-13 06:01:01 UTC) #3
loyso (OOO)
On 2016/01/13 06:01:01, loyso wrote: Alternatively, we could name it as a more general AnimationMessage ...
4 years, 11 months ago (2016-01-13 06:07:14 UTC) #4
ajuma
https://codereview.chromium.org/1584743002/diff/20001/cc/animation/animation_events.h File cc/animation/animation_events.h (right): https://codereview.chromium.org/1584743002/diff/20001/cc/animation/animation_events.h#newcode42 cc/animation/animation_events.h:42: std::vector<AnimationEvent> events_; Would it make sense to make this ...
4 years, 11 months ago (2016-01-13 14:21:43 UTC) #5
piman
ui/compositor LGTM. I haven't looked at the rest - deferring to other reviewers.
4 years, 11 months ago (2016-01-13 18:26:38 UTC) #6
loyso (OOO)
On 2016/01/13 14:21:43, ajuma wrote: > std::vector<AnimationEvent> events_; > Would it make sense to make ...
4 years, 11 months ago (2016-01-13 22:44:10 UTC) #7
ajuma
On 2016/01/13 22:44:10, loyso wrote: > On 2016/01/13 14:21:43, ajuma wrote: > > std::vector<AnimationEvent> events_; ...
4 years, 11 months ago (2016-01-13 22:56:58 UTC) #8
loyso (OOO)
On 2016/01/13 22:56:58, ajuma wrote: > On 2016/01/13 22:44:10, loyso wrote: > > Later I ...
4 years, 11 months ago (2016-01-13 23:01:43 UTC) #9
loyso (OOO)
FTR, this CL is mostly about proper includes. To make animation_events dependencies visible.
4 years, 11 months ago (2016-01-13 23:40:57 UTC) #10
ajuma
On 2016/01/13 23:01:43, loyso wrote: > On 2016/01/13 22:56:58, ajuma wrote: > > On 2016/01/13 ...
4 years, 11 months ago (2016-01-14 00:02:27 UTC) #11
loyso (OOO)
On 2016/01/14 00:02:27, ajuma wrote: > It'd be good to keep the communication logic itself ...
4 years, 11 months ago (2016-01-14 00:14:10 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1584743002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1584743002/60001
4 years, 11 months ago (2016-01-14 06:00:35 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_TIMED_OUT, no build URL)
4 years, 11 months ago (2016-01-14 08:03:33 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1584743002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1584743002/60001
4 years, 11 months ago (2016-01-14 22:49:13 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 11 months ago (2016-01-14 22:55:38 UTC) #20
commit-bot: I haz the power
4 years, 11 months ago (2016-01-14 22:56:55 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e926437dd8e656f66cf83aec9823085cccf807e2
Cr-Commit-Position: refs/heads/master@{#369591}

Powered by Google App Engine
This is Rietveld 408576698