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

Issue 1215563002: Implement left property animation on InvalidatableStyleInterpolation (Closed)

Created:
5 years, 6 months ago by alancutter (OOO until 2018)
Modified:
5 years, 5 months ago
Reviewers:
dstockwell, shans
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-style_chromium.org, Eric Willigers, rjwright, shans
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Implement left property animation on InvalidatableStyleInterpolation This migrates animation of the left property to the InvalidatableStyleInterpolation code path away from LengthStyleInterpolation. This is a preliminary example of animation code in the new interpolation design to be followed up by migrating the remaining length properties. BUG=437696 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=198915

Patch Set 1 #

Patch Set 2 : Rebased #

Patch Set 3 : Don't copy paste LengthStyleInterpolation application code #

Patch Set 4 : Share typedef #

Patch Set 5 : Rebase onto rename #

Patch Set 6 : Rebased again #

Patch Set 7 : Rebased #

Total comments: 9

Patch Set 8 : Split conversion function up #

Patch Set 9 : Moar consistency #

Patch Set 10 : Remove extra space #

Patch Set 11 : Dedupe code #

Patch Set 12 : Rebased #

Patch Set 13 : Make Windows not crash #

Unified diffs Side-by-side diffs Delta from patch set Stats (+481 lines, -236 lines) Patch
M Source/core/animation/CSSValueInterpolationType.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +11 lines, -0 lines 0 comments Download
M Source/core/animation/InterpolableValue.h View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +11 lines, -10 lines 0 comments Download
M Source/core/animation/InterpolableValue.cpp View 1 chunk +7 lines, -44 lines 0 comments Download
M Source/core/animation/InterpolableValueTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +28 lines, -142 lines 0 comments Download
M Source/core/animation/InterpolationType.h View 1 2 3 4 5 6 7 1 chunk +30 lines, -3 lines 0 comments Download
M Source/core/animation/InvalidatableStyleInterpolation.h View 1 2 3 4 5 1 chunk +8 lines, -4 lines 0 comments Download
M Source/core/animation/InvalidatableStyleInterpolation.cpp View 1 2 3 4 5 6 7 4 chunks +68 lines, -14 lines 0 comments Download
M Source/core/animation/Keyframe.h View 1 chunk +2 lines, -0 lines 0 comments Download
A Source/core/animation/LengthInterpolationType.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +32 lines, -0 lines 0 comments Download
A Source/core/animation/LengthInterpolationType.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +170 lines, -0 lines 0 comments Download
A Source/core/animation/LengthPropertyFunctions.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +28 lines, -0 lines 0 comments Download
A Source/core/animation/LengthPropertyFunctions.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +38 lines, -0 lines 0 comments Download
M Source/core/animation/LengthStyleInterpolation.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/animation/LengthStyleInterpolation.cpp View 1 2 1 chunk +12 lines, -7 lines 0 comments Download
M Source/core/animation/PrimitiveInterpolation.h View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +15 lines, -8 lines 0 comments Download
M Source/core/animation/StringKeyframe.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/animation/StringKeyframe.cpp View 1 2 3 4 5 6 2 chunks +14 lines, -4 lines 0 comments Download
M Source/core/core.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/style/ComputedStyle.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 22 (9 generated)
alancutter (OOO until 2018)
Posting this one out early, please provide high level feedback on the approach. Still self ...
5 years, 6 months ago (2015-06-26 03:28:03 UTC) #2
alancutter (OOO until 2018)
Rebased onto https://codereview.chromium.org/1210353004. This patch is ready for review.
5 years, 5 months ago (2015-06-30 04:52:10 UTC) #3
shans
Overall LGTM, would like Doug to take a look before commit. https://codereview.chromium.org/1215563002/diff/120001/Source/core/animation/InterpolationType.h File Source/core/animation/InterpolationType.h (right): ...
5 years, 5 months ago (2015-07-02 12:02:48 UTC) #4
dstockwell
https://codereview.chromium.org/1215563002/diff/120001/Source/core/animation/InvalidatableStyleInterpolation.cpp File Source/core/animation/InvalidatableStyleInterpolation.cpp (right): https://codereview.chromium.org/1215563002/diff/120001/Source/core/animation/InvalidatableStyleInterpolation.cpp#newcode117 Source/core/animation/InvalidatableStyleInterpolation.cpp:117: state.parentStyle()->setHasExplicitlyInheritedProperties(); Are you sure that parentStyle is never null ...
5 years, 5 months ago (2015-07-02 23:57:47 UTC) #5
alancutter (OOO until 2018)
https://codereview.chromium.org/1215563002/diff/120001/Source/core/animation/InterpolationType.h File Source/core/animation/InterpolationType.h (right): https://codereview.chromium.org/1215563002/diff/120001/Source/core/animation/InterpolationType.h#newcode52 Source/core/animation/InterpolationType.h:52: bool operator!=(const InterpolationType& other) const { return this != ...
5 years, 5 months ago (2015-07-03 01:38:23 UTC) #6
alancutter (OOO until 2018)
dstockwell: Ping.
5 years, 5 months ago (2015-07-13 08:07:48 UTC) #7
dstockwell
lgtm
5 years, 5 months ago (2015-07-14 02:52:27 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1215563002/200001
5 years, 5 months ago (2015-07-14 03:05:47 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_compile_dbg on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_compile_dbg/builds/50459)
5 years, 5 months ago (2015-07-14 03:09:01 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1215563002/220001
5 years, 5 months ago (2015-07-14 06:50:41 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/70342)
5 years, 5 months ago (2015-07-14 08:09:12 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1215563002/240001
5 years, 5 months ago (2015-07-15 01:55:20 UTC) #21
commit-bot: I haz the power
5 years, 5 months ago (2015-07-15 03:51:48 UTC) #22
Message was sent while issue was closed.
Committed patchset #13 (id:240001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=198915

Powered by Google App Engine
This is Rietveld 408576698