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

Issue 2019613002: Blink Compositor Animation: Make Animation and Curve methods non-virtual. (Closed)

Created:
4 years, 7 months ago by loyso (OOO)
Modified:
4 years, 6 months ago
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, cc-bugs_chromium.org, chromium-reviews, Eric Willigers, esprehn, rjwright, shans
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Blink Compositor Animation: Make Animation and Curve methods non-virtual. In unit tests for blink/cc integration: Erase gmock usage, check platform compositor data instead. This will allow us to erase CompositorFactory. BUG=577016 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/d30a199df83684947548304937ce3ca440a53811 Cr-Commit-Position: refs/heads/master@{#397426}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Rework it. #

Total comments: 7

Patch Set 3 : Rebase. #

Patch Set 4 : Add the check if keframe 0 is linear. #

Total comments: 4

Patch Set 5 : Fix codereview issues. Add cc::TimingFunction::Type enum. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+387 lines, -636 lines) Patch
M cc/animation/keyframed_animation_curve.h View 2 chunks +8 lines, -1 line 0 comments Download
M cc/animation/timing_function.h View 1 2 3 4 3 chunks +15 lines, -2 lines 0 comments Download
M cc/animation/timing_function.cc View 1 2 3 4 3 chunks +29 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp View 1 2 3 4 18 chunks +208 lines, -425 lines 0 comments Download
D third_party/WebKit/Source/core/animation/CompositorAnimationsTestHelper.h View 1 chunk +0 lines, -140 lines 0 comments Download
M third_party/WebKit/Source/core/core.gypi View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/animation/CompositorAnimation.h View 1 3 chunks +21 lines, -20 lines 0 comments Download
M third_party/WebKit/Source/platform/animation/CompositorAnimation.cpp View 1 3 chunks +13 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/animation/CompositorFilterAnimationCurve.h View 1 chunk +8 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/platform/animation/CompositorFloatAnimationCurve.h View 1 2 chunks +21 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/platform/animation/CompositorFloatAnimationCurve.cpp View 1 2 3 4 1 chunk +50 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/animation/CompositorScrollOffsetAnimationCurve.h View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/animation/CompositorTransformAnimationCurve.h View 1 chunk +8 lines, -8 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 30 (11 generated)
loyso (OOO)
4 years, 7 months ago (2016-05-27 05:44:09 UTC) #4
loyso (OOO)
Could you review specific areas, please? ajuma@, cc/ alancutter@, core/animation and platform/animation jbroman@, testing/CompositorAnimationsTestUtils.h, blink_platform.gypi ...
4 years, 7 months ago (2016-05-27 05:59:04 UTC) #5
ajuma
cc/ lgtm
4 years, 6 months ago (2016-05-27 13:21:04 UTC) #7
jbroman
I'm not a huge fan of checking cc guts within core; WDYT of accessing it ...
4 years, 6 months ago (2016-05-27 14:52:55 UTC) #8
loyso (OOO)
https://codereview.chromium.org/2019613002/diff/1/third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp File third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp (right): https://codereview.chromium.org/2019613002/diff/1/third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp#newcode64 third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp:64: // CompositorFloatKeyframe is a plain struct, so we just ...
4 years, 6 months ago (2016-05-31 02:20:39 UTC) #9
loyso (OOO)
alancutter@, PTAL!
4 years, 6 months ago (2016-05-31 04:04:59 UTC) #11
loyso (OOO)
PTAL.
4 years, 6 months ago (2016-05-31 23:52:01 UTC) #12
alancutter (OOO until 2018)
Happy to see gmock tests being replaced. https://codereview.chromium.org/2019613002/diff/1/cc/animation/timing_function.cc File cc/animation/timing_function.cc (right): https://codereview.chromium.org/2019613002/diff/1/cc/animation/timing_function.cc#newcode91 cc/animation/timing_function.cc:91: } Looks ...
4 years, 6 months ago (2016-06-01 02:20:56 UTC) #13
loyso (OOO)
https://codereview.chromium.org/2019613002/diff/1/cc/animation/timing_function.cc File cc/animation/timing_function.cc (right): https://codereview.chromium.org/2019613002/diff/1/cc/animation/timing_function.cc#newcode91 cc/animation/timing_function.cc:91: } On 2016/06/01 02:20:55, alancutter wrote: > Looks like ...
4 years, 6 months ago (2016-06-01 02:36:47 UTC) #14
loyso (OOO)
https://codereview.chromium.org/2019613002/diff/1/third_party/WebKit/Source/platform/testing/CompositorAnimationsTestUtils.h File third_party/WebKit/Source/platform/testing/CompositorAnimationsTestUtils.h (right): https://codereview.chromium.org/2019613002/diff/1/third_party/WebKit/Source/platform/testing/CompositorAnimationsTestUtils.h#newcode21 third_party/WebKit/Source/platform/testing/CompositorAnimationsTestUtils.h:21: #endif // CompositorAnimationsTestUtils_h On 2016/06/01 02:20:55, alancutter wrote: > ...
4 years, 6 months ago (2016-06-01 02:38:21 UTC) #15
ajuma
https://codereview.chromium.org/2019613002/diff/20001/third_party/WebKit/Source/platform/animation/CompositorFloatAnimationCurve.cpp File third_party/WebKit/Source/platform/animation/CompositorFloatAnimationCurve.cpp (right): https://codereview.chromium.org/2019613002/diff/20001/third_party/WebKit/Source/platform/animation/CompositorFloatAnimationCurve.cpp#newcode61 third_party/WebKit/Source/platform/animation/CompositorFloatAnimationCurve.cpp:61: auto cubicTimingFunction = static_cast<const cc::CubicBezierTimingFunction*>(timingFunction); On 2016/06/01 02:36:47, loyso ...
4 years, 6 months ago (2016-06-01 13:16:06 UTC) #16
jbroman
There's now only one file that's not covered by other owners, so, uh, core.gypi LGTM. ...
4 years, 6 months ago (2016-06-01 14:51:28 UTC) #17
loyso (OOO)
It's final. PTAL! https://codereview.chromium.org/2019613002/diff/20001/third_party/WebKit/Source/platform/animation/CompositorFloatAnimationCurve.cpp File third_party/WebKit/Source/platform/animation/CompositorFloatAnimationCurve.cpp (right): https://codereview.chromium.org/2019613002/diff/20001/third_party/WebKit/Source/platform/animation/CompositorFloatAnimationCurve.cpp#newcode61 third_party/WebKit/Source/platform/animation/CompositorFloatAnimationCurve.cpp:61: auto cubicTimingFunction = static_cast<const cc::CubicBezierTimingFunction*>(timingFunction); On ...
4 years, 6 months ago (2016-06-02 02:16:46 UTC) #18
alancutter (OOO until 2018)
lgtm
4 years, 6 months ago (2016-06-02 04:03:07 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2019613002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2019613002/80001
4 years, 6 months ago (2016-06-02 06:32:32 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/231954)
4 years, 6 months ago (2016-06-02 09:24:56 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2019613002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2019613002/80001
4 years, 6 months ago (2016-06-02 12:09:53 UTC) #26
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 6 months ago (2016-06-02 15:59:41 UTC) #28
commit-bot: I haz the power
4 years, 6 months ago (2016-06-02 16:01:10 UTC) #30
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/d30a199df83684947548304937ce3ca440a53811
Cr-Commit-Position: refs/heads/master@{#397426}

Powered by Google App Engine
This is Rietveld 408576698