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

Issue 2283783002: Move static methods out of CSSLengthInterpolationType to LengthInterpolationFunctions (Closed)

Created:
4 years, 3 months ago by alancutter (OOO until 2018)
Modified:
4 years, 3 months ago
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, chromium-reviews, Eric Willigers, rjwright, shans
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move static methods out of CSSLengthInterpolationType to LengthInterpolationFunctions This change refactors the InterpolationValue logic out of CSSLengthInterpolationType into its own file LengthInterpolationFunctions. This allows other CSSInterpolationTypes to use Length functions without importing unnecessary InterpolationType methods. Committed: https://crrev.com/c31809296fc253caeb3a34dc3a05c0c96d3f9209 Cr-Commit-Position: refs/heads/master@{#416877}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Rebased #

Patch Set 3 : Fix compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+328 lines, -283 lines) Patch
M third_party/WebKit/Source/core/animation/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/animation/BasicShapeInterpolationFunctions.cpp View 1 7 chunks +34 lines, -34 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSBorderImageLengthBoxInterpolationType.cpp View 1 5 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSClipInterpolationType.cpp View 1 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSFontSizeInterpolationType.cpp View 1 2 5 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.h View 1 2 chunks +1 line, -15 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp View 1 2 8 chunks +14 lines, -164 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSLengthListInterpolationType.cpp View 1 6 chunks +8 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSLengthPairInterpolationType.h View 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSPositionAxisListInterpolationType.cpp View 3 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSSizeListInterpolationType.h View 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp View 1 6 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSTransformOriginInterpolationType.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.cpp View 1 5 chunks +12 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/animation/FilterInterpolationFunctions.cpp View 1 5 chunks +6 lines, -6 lines 0 comments Download
A third_party/WebKit/Source/core/animation/LengthInterpolationFunctions.h View 1 chunk +36 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/animation/LengthInterpolationFunctions.cpp View 1 2 1 chunk +169 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/animation/ShadowInterpolationFunctions.cpp View 1 4 chunks +11 lines, -11 lines 0 comments Download

Messages

Total messages: 26 (16 generated)
suzyh_UTC10 (ex-contributor)
On the whole, I'm fine with this patch, with two caveats and one apology: I ...
4 years, 3 months ago (2016-08-29 07:12:31 UTC) #7
alancutter (OOO until 2018)
https://codereview.chromium.org/2283783002/diff/1/third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp File third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp (right): https://codereview.chromium.org/2283783002/diff/1/third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp#newcode110 third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp:110: void CSSLengthInterpolationType::apply(const InterpolableValue& interpolableValue, const NonInterpolableValue* nonInterpolableValue, InterpolationEnvironment& environment) ...
4 years, 3 months ago (2016-09-05 07:40:22 UTC) #8
suzyh_UTC10 (ex-contributor)
lgtm
4 years, 3 months ago (2016-09-06 00:24:51 UTC) #9
suzyh_UTC10 (ex-contributor)
On 2016/09/06 at 00:24:51, suzyh wrote: > lgtm Oh, update the CL description since you ...
4 years, 3 months ago (2016-09-06 03:11:09 UTC) #14
alancutter (OOO until 2018)
On 2016/09/06 at 03:11:09, suzyh wrote: > On 2016/09/06 at 00:24:51, suzyh wrote: > > ...
4 years, 3 months ago (2016-09-06 03:19:01 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2283783002/20001
4 years, 3 months ago (2016-09-07 05:32:26 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/64693) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 3 months ago (2016-09-07 05:34:10 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2283783002/40001
4 years, 3 months ago (2016-09-07 05:49:56 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-07 07:59:16 UTC) #24
commit-bot: I haz the power
4 years, 3 months ago (2016-09-07 08:00:46 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c31809296fc253caeb3a34dc3a05c0c96d3f9209
Cr-Commit-Position: refs/heads/master@{#416877}

Powered by Google App Engine
This is Rietveld 408576698