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

Issue 194673002: Web Animations: Refactor KeyframeEffectModel to work via an InterpolationEffect. (Closed)

Created:
6 years, 9 months ago by shans
Modified:
6 years, 9 months ago
CC:
blink-reviews, ed+blinkwatch_opera.com, shans, rjwright, alancutter (OOO until 2018), Mike Lawther (Google), rwlbuis, rune+blink, dglazkov+blink, dstockwell, Timothy Loh, apavlov+blink_chromium.org, darktears, Steve Block, dino_apple.com, Eric Willigers
Base URL:
https://chromium.googlesource.com/chromium/blink.git@interpolationWrap
Visibility:
Public.

Description

Web Animations: Refactor KeyframeEffectModel to work via an InterpolationEffect. This patch modifies KeyframeEffectModel's implementation such that an InterpolationEffect is generated after Keyframe normalization. The InterpolationEffect then handles sample generation, and Interpolations are plumbed down through the style resolution pipeline instead of CompositableValues. BUG=346495 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169500

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+238 lines, -223 lines) Patch
M Source/core/animation/AnimatableValue.h View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M Source/core/animation/Animation.h View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/animation/Animation.cpp View 1 2 3 4 3 chunks +3 lines, -2 lines 0 comments Download
M Source/core/animation/AnimationEffect.h View 2 3 2 chunks +4 lines, -1 line 0 comments Download
M Source/core/animation/AnimationStack.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/core/animation/AnimationStack.cpp View 1 2 3 4 4 chunks +16 lines, -10 lines 0 comments Download
M Source/core/animation/DocumentTimelineTest.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/core/animation/InertAnimation.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/animation/InertAnimation.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/animation/Interpolation.h View 2 3 5 chunks +39 lines, -2 lines 0 comments Download
M Source/core/animation/Interpolation.cpp View 2 3 3 chunks +10 lines, -0 lines 0 comments Download
M Source/core/animation/InterpolationEffect.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/animation/KeyframeEffectModel.h View 1 2 3 6 chunks +6 lines, -3 lines 0 comments Download
M Source/core/animation/KeyframeEffectModel.cpp View 1 2 3 4 chunks +32 lines, -60 lines 0 comments Download
M Source/core/animation/KeyframeEffectModelTest.cpp View 17 chunks +70 lines, -89 lines 0 comments Download
M Source/core/animation/css/CSSAnimations.h View 1 2 3 4 5 chunks +13 lines, -12 lines 0 comments Download
M Source/core/animation/css/CSSAnimations.cpp View 1 2 3 4 7 chunks +22 lines, -23 lines 0 comments Download
M Source/core/css/resolver/StyleResolver.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/resolver/StyleResolver.cpp View 1 2 3 4 2 chunks +10 lines, -11 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
shans
6 years, 9 months ago (2014-03-11 09:29:40 UTC) #1
alancutter (OOO until 2018)
It's not entirely clear from the diff whether AnimationEffect::CompositableValues are dead code or not after ...
6 years, 9 months ago (2014-03-12 03:34:06 UTC) #2
shans
Plz can has substantive review nao? https://codereview.chromium.org/194673002/diff/1/Source/core/animation/AnimationEffect.h File Source/core/animation/AnimationEffect.h (right): https://codereview.chromium.org/194673002/diff/1/Source/core/animation/AnimationEffect.h#newcode65 Source/core/animation/AnimationEffect.h:65: typedef Vector<std::pair<CSSPropertyID, RefPtr<CompositableValue> ...
6 years, 9 months ago (2014-03-14 06:19:58 UTC) #3
alancutter (OOO until 2018)
lgtm!
6 years, 9 months ago (2014-03-14 07:26:47 UTC) #4
dstockwell
lgtm https://codereview.chromium.org/194673002/diff/40001/Source/core/animation/Animation.h File Source/core/animation/Animation.h (right): https://codereview.chromium.org/194673002/diff/40001/Source/core/animation/Animation.h#newcode76 Source/core/animation/Animation.h:76: ASSERT(m_activeInterpolations); If it can't be null, return a ...
6 years, 9 months ago (2014-03-17 02:05:57 UTC) #5
shans
https://codereview.chromium.org/194673002/diff/40001/Source/core/animation/Animation.h File Source/core/animation/Animation.h (right): https://codereview.chromium.org/194673002/diff/40001/Source/core/animation/Animation.h#newcode76 Source/core/animation/Animation.h:76: ASSERT(m_activeInterpolations); On 2014/03/17 02:05:57, dstockwell wrote: > If it ...
6 years, 9 months ago (2014-03-18 20:09:27 UTC) #6
shans
The CQ bit was checked by shans@chromium.org
6 years, 9 months ago (2014-03-18 20:09:32 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shans@chromium.org/194673002/60001
6 years, 9 months ago (2014-03-18 20:09:40 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-18 20:10:27 UTC) #9
commit-bot: I haz the power
Failed to apply patch for Source/core/animation/AnimationStack.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-18 20:10:29 UTC) #10
shans
The CQ bit was checked by shans@chromium.org
6 years, 9 months ago (2014-03-18 20:29:15 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shans@chromium.org/194673002/80001
6 years, 9 months ago (2014-03-18 20:29:55 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-18 21:21:59 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on win_blink_rel
6 years, 9 months ago (2014-03-18 21:22:03 UTC) #14
shans
The CQ bit was checked by shans@chromium.org
6 years, 9 months ago (2014-03-18 22:48:04 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shans@chromium.org/194673002/80001
6 years, 9 months ago (2014-03-18 22:48:16 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-18 23:20:59 UTC) #17
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
6 years, 9 months ago (2014-03-18 23:21:00 UTC) #18
shans
The CQ bit was checked by shans@chromium.org
6 years, 9 months ago (2014-03-18 23:35:23 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shans@chromium.org/194673002/80001
6 years, 9 months ago (2014-03-18 23:35:31 UTC) #20
commit-bot: I haz the power
6 years, 9 months ago (2014-03-18 23:37:45 UTC) #21
Message was sent while issue was closed.
Change committed as 169500

Powered by Google App Engine
This is Rietveld 408576698