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

Issue 1700653002: CC Animation: Expose TargetProperty enum to be aliased in Blink Platform. (Closed)

Created:
4 years, 10 months ago by loyso (OOO)
Modified:
4 years, 10 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 Animation: Expose TargetProperty enum to be aliased in Blink Platform. TargetProperty is intended to be used as an alias in Source/platform/animation/CompositorTargetProperty.h This is slightly better then untyped approach used here: https://codereview.chromium.org/1599673002 where we setup struct with constants in it and pass uint32_t everywhere. An alternative approach with strongly typed enum considered too verbose: https://codereview.chromium.org/1698813002/ BUG=577016 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/0c8e440950082a2b7f5eae1410264f75acdd0885 Cr-Commit-Position: refs/heads/master@{#377501}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Implement namespace TargetProperty::Type approach. #

Patch Set 3 : Rebase. #

Patch Set 4 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+623 lines, -581 lines) Patch
M cc/BUILD.gn View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M cc/animation/animation.h View 1 5 chunks +5 lines, -14 lines 0 comments Download
M cc/animation/animation.cc View 1 3 chunks +7 lines, -23 lines 0 comments Download
M cc/animation/animation_delegate.h View 1 1 chunk +5 lines, -6 lines 0 comments Download
M cc/animation/animation_events.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M cc/animation/animation_events.cc View 1 2 chunks +2 lines, -3 lines 0 comments Download
M cc/animation/animation_host.h View 1 1 chunk +2 lines, -3 lines 0 comments Download
M cc/animation/animation_host.cc View 1 12 chunks +20 lines, -17 lines 0 comments Download
M cc/animation/animation_player.h View 1 1 chunk +4 lines, -4 lines 0 comments Download
M cc/animation/animation_player.cc View 1 5 chunks +5 lines, -6 lines 0 comments Download
M cc/animation/animation_player_unittest.cc View 1 3 chunks +12 lines, -12 lines 0 comments Download
M cc/animation/animation_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/animation/element_animations.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M cc/animation/element_animations.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M cc/animation/layer_animation_controller.h View 1 3 chunks +4 lines, -4 lines 0 comments Download
M cc/animation/layer_animation_controller.cc View 1 31 chunks +40 lines, -40 lines 0 comments Download
M cc/animation/layer_animation_controller_unittest.cc View 1 84 chunks +191 lines, -163 lines 0 comments Download
A cc/animation/target_property.h View 1 1 chunk +28 lines, -0 lines 0 comments Download
A cc/animation/target_property.cc View 1 1 chunk +28 lines, -0 lines 0 comments Download
M cc/blink/web_to_cc_animation_delegate_adapter.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M cc/blink/web_to_cc_animation_delegate_adapter.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M cc/cc.gyp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M cc/layers/layer.h View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M cc/layers/layer.cc View 1 2 3 8 chunks +10 lines, -8 lines 0 comments Download
M cc/layers/layer_impl.h View 1 2 3 2 chunks +4 lines, -5 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 2 3 12 chunks +16 lines, -17 lines 0 comments Download
M cc/layers/layer_unittest.cc View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M cc/test/animation_test_common.h View 1 1 chunk +3 lines, -4 lines 0 comments Download
M cc/test/animation_test_common.cc View 1 5 chunks +9 lines, -10 lines 0 comments Download
M cc/test/animation_timelines_test_common.h View 1 4 chunks +10 lines, -10 lines 0 comments Download
M cc/test/animation_timelines_test_common.cc View 1 6 chunks +9 lines, -10 lines 0 comments Download
M cc/test/test_hooks.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host.h View 1 1 chunk +2 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 6 chunks +12 lines, -12 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_unittest_animation.cc View 1 22 chunks +34 lines, -30 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_animation_timelines.cc View 1 16 chunks +30 lines, -27 lines 0 comments Download
M cc/trees/layer_tree_impl.h View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/property_tree_builder.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CompositorAnimations.cpp View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp View 1 11 chunks +22 lines, -22 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CompositorAnimationsTestHelper.h View 1 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/animation/CompositorAnimation.h View 1 3 chunks +3 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/platform/animation/CompositorAnimation.cpp View 1 3 chunks +4 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/platform/animation/CompositorAnimationPlayer.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/animation/CompositorAnimationPlayer.cpp View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/animation/CompositorAnimationPlayerTest.cpp View 1 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/animation/CompositorAnimationTest.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
A + third_party/WebKit/Source/platform/animation/CompositorTargetProperty.h View 1 1 chunk +5 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/platform/blink_platform.gypi View 1 2 3 2 chunks +6 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/CompositorFactory.h View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/CompositorFactory.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimator.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/LinkHighlightImpl.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/compositor/layer_animation_element.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/compositor/layer_animation_element.cc View 1 4 chunks +12 lines, -13 lines 0 comments Download
M ui/compositor/layer_animation_sequence_unittest.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M ui/compositor/layer_animator_unittest.cc View 1 12 chunks +12 lines, -12 lines 0 comments Download
M ui/compositor/test/layer_animator_test_controller.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 29 (13 generated)
loyso (OOO)
PTAL! Which approach is better?
4 years, 10 months ago (2016-02-15 06:43:28 UTC) #4
loyso (OOO)
Any suggestions/opinions please?
4 years, 10 months ago (2016-02-15 22:52:58 UTC) #5
loyso (OOO)
https://codereview.chromium.org/1700653002/diff/1/cc/animation/animation_target_property.h File cc/animation/animation_target_property.h (right): https://codereview.chromium.org/1700653002/diff/1/cc/animation/animation_target_property.h#newcode10 cc/animation/animation_target_property.h:10: struct AnimationTargetProperty { This can be a namespace AnimationTargetProperty ...
4 years, 10 months ago (2016-02-16 06:17:37 UTC) #6
loyso (OOO)
https://codereview.chromium.org/1700653002/diff/1/cc/animation/animation_target_property.h File cc/animation/animation_target_property.h (right): https://codereview.chromium.org/1700653002/diff/1/cc/animation/animation_target_property.h#newcode11 cc/animation/animation_target_property.h:11: enum Enum { On 2016/02/16 06:17:37, loyso wrote: > ...
4 years, 10 months ago (2016-02-17 01:27:29 UTC) #7
Ian Vollick
https://codereview.chromium.org/1700653002/diff/1/cc/animation/animation_target_property.h File cc/animation/animation_target_property.h (right): https://codereview.chromium.org/1700653002/diff/1/cc/animation/animation_target_property.h#newcode11 cc/animation/animation_target_property.h:11: enum Enum { On 2016/02/17 01:27:29, loyso wrote: > ...
4 years, 10 months ago (2016-02-17 13:43:27 UTC) #9
loyso (OOO)
Everyone, PTAL! This is ready to be landed.
4 years, 10 months ago (2016-02-19 01:56:16 UTC) #11
Ian Vollick
On 2016/02/19 01:56:16, loyso wrote: > Everyone, PTAL! This is ready to be landed. lgtm.
4 years, 10 months ago (2016-02-22 01:24:53 UTC) #12
loyso (OOO)
PTAL! (WebKit/Source)
4 years, 10 months ago (2016-02-23 04:10:20 UTC) #13
loyso (OOO)
aelias@, web/LinkHighlightImpl.cpp PTAL!
4 years, 10 months ago (2016-02-23 22:54:10 UTC) #15
aelias_OOO_until_Jul13
Source/web lgtm
4 years, 10 months ago (2016-02-24 00:28:58 UTC) #16
esprehn
lgtm
4 years, 10 months ago (2016-02-24 23:11:21 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1700653002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1700653002/60001
4 years, 10 months ago (2016-02-25 01:30:00 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/83166)
4 years, 10 months ago (2016-02-25 03:07:32 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1700653002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1700653002/60001
4 years, 10 months ago (2016-02-25 04:02:54 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 10 months ago (2016-02-25 04:12:38 UTC) #27
commit-bot: I haz the power
4 years, 10 months ago (2016-02-25 04:13:55 UTC) #29
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/0c8e440950082a2b7f5eae1410264f75acdd0885
Cr-Commit-Position: refs/heads/master@{#377501}

Powered by Google App Engine
This is Rietveld 408576698