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

Issue 993413004: Devtools Animations: Update transition timing on timeline interaction (Closed)

Created:
5 years, 9 months ago by samli
Modified:
5 years, 8 months ago
CC:
dstockwell, aandrey+blink_chromium.org, darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-animation_chromium.org, caseq+blink_chromium.org, devtools-reviews_chromium.org, Eric Willigers, eustas+blink_chromium.org, kozyatinskiy+blink_chromium.org, loislo+blink_chromium.org, lushnikov+blink_chromium.org, malch+blink_chromium.org, Mike Lawther (Google), pfeldman+blink_chromium.org, rjwright, sergeyv+blink_chromium.org, shans, Steve Block, Timothy Loh, yurys+blink_chromium.org
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Devtools Animations: Update transition timing on timeline interaction Updates to transition timing are ignored when the transition is still running. This change ensures that when we modify delay and/or duration of a transition in the animation timeline, that the transitions timing is updated accordingly. BUG=464247 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=192893

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 11

Patch Set 4 : Address review comments #

Total comments: 8

Patch Set 5 : #

Total comments: 2

Patch Set 6 : Remove assertions #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -8 lines) Patch
M Source/core/animation/KeyframeEffectModel.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M Source/core/animation/KeyframeEffectModel.cpp View 1 2 3 4 5 6 1 chunk +8 lines, -0 lines 0 comments Download
M Source/core/inspector/InspectorAnimationAgent.cpp View 1 2 3 4 5 6 1 chunk +26 lines, -5 lines 0 comments Download
M Source/devtools/front_end/elements/AnimationTimeline.js View 1 2 3 4 5 6 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 20 (5 generated)
samli
This patch doesn't work in properly in a few ways: - when replayed while transition ...
5 years, 9 months ago (2015-03-17 06:22:15 UTC) #2
samli
PTAL, this is ready for review. It was blocked on https://codereview.chromium.org/1030103002/
5 years, 9 months ago (2015-03-25 03:19:11 UTC) #4
samli
+dgozman since pfeldman is away.
5 years, 9 months ago (2015-03-25 23:01:03 UTC) #6
dgozman
https://codereview.chromium.org/993413004/diff/40001/Source/core/inspector/InspectorAnimationAgent.cpp File Source/core/inspector/InspectorAnimationAgent.cpp (right): https://codereview.chromium.org/993413004/diff/40001/Source/core/inspector/InspectorAnimationAgent.cpp#newcode264 Source/core/inspector/InspectorAnimationAgent.cpp:264: for (int i = 0; i < 3; i++) ...
5 years, 9 months ago (2015-03-26 10:30:06 UTC) #7
dstockwell
lgtm https://codereview.chromium.org/993413004/diff/40001/Source/core/animation/KeyframeEffectModel.cpp File Source/core/animation/KeyframeEffectModel.cpp (right): https://codereview.chromium.org/993413004/diff/40001/Source/core/animation/KeyframeEffectModel.cpp#newcode60 Source/core/animation/KeyframeEffectModel.cpp:60: // FIXME: Should also notify/invalidate the player TODO(samli): ...
5 years, 9 months ago (2015-03-26 22:56:16 UTC) #8
samli
@dgozman: PTAL inspector changes https://codereview.chromium.org/993413004/diff/40001/Source/core/animation/KeyframeEffectModel.cpp File Source/core/animation/KeyframeEffectModel.cpp (right): https://codereview.chromium.org/993413004/diff/40001/Source/core/animation/KeyframeEffectModel.cpp#newcode60 Source/core/animation/KeyframeEffectModel.cpp:60: // FIXME: Should also notify/invalidate ...
5 years, 8 months ago (2015-03-30 00:22:55 UTC) #9
dgozman
https://codereview.chromium.org/993413004/diff/60001/Source/core/inspector/InspectorAnimationAgent.cpp File Source/core/inspector/InspectorAnimationAgent.cpp (right): https://codereview.chromium.org/993413004/diff/60001/Source/core/inspector/InspectorAnimationAgent.cpp#newcode257 Source/core/inspector/InspectorAnimationAgent.cpp:257: KeyframeEffectModelBase* effect = toKeyframeEffectModelBase(animation->effect()); Can we assert before calling ...
5 years, 8 months ago (2015-03-30 10:38:59 UTC) #10
samli
PTAL. https://codereview.chromium.org/993413004/diff/60001/Source/core/inspector/InspectorAnimationAgent.cpp File Source/core/inspector/InspectorAnimationAgent.cpp (right): https://codereview.chromium.org/993413004/diff/60001/Source/core/inspector/InspectorAnimationAgent.cpp#newcode257 Source/core/inspector/InspectorAnimationAgent.cpp:257: KeyframeEffectModelBase* effect = toKeyframeEffectModelBase(animation->effect()); On 2015/03/30 10:38:58, dgozman ...
5 years, 8 months ago (2015-03-30 23:14:17 UTC) #11
dgozman
lgtm modulo isTransition check https://codereview.chromium.org/993413004/diff/80001/Source/core/inspector/InspectorAnimationAgent.cpp File Source/core/inspector/InspectorAnimationAgent.cpp (right): https://codereview.chromium.org/993413004/diff/80001/Source/core/inspector/InspectorAnimationAgent.cpp#newcode249 Source/core/inspector/InspectorAnimationAgent.cpp:249: void InspectorAnimationAgent::setTiming(ErrorString* errorString, const String& ...
5 years, 8 months ago (2015-03-31 05:11:29 UTC) #12
samli
https://codereview.chromium.org/993413004/diff/80001/Source/core/inspector/InspectorAnimationAgent.cpp File Source/core/inspector/InspectorAnimationAgent.cpp (right): https://codereview.chromium.org/993413004/diff/80001/Source/core/inspector/InspectorAnimationAgent.cpp#newcode249 Source/core/inspector/InspectorAnimationAgent.cpp:249: void InspectorAnimationAgent::setTiming(ErrorString* errorString, const String& playerId, double duration, double ...
5 years, 8 months ago (2015-03-31 06:17:00 UTC) #13
samli
I removed the assertions since all to*() methods are macros which have ASSERT_WITH_SECURITY_IMPLICATIONS() within them ...
5 years, 8 months ago (2015-03-31 06:19:04 UTC) #14
dgozman
On 2015/03/31 06:17:00, samli wrote: > https://codereview.chromium.org/993413004/diff/80001/Source/core/inspector/InspectorAnimationAgent.cpp > File Source/core/inspector/InspectorAnimationAgent.cpp (right): > > https://codereview.chromium.org/993413004/diff/80001/Source/core/inspector/InspectorAnimationAgent.cpp#newcode249 > ...
5 years, 8 months ago (2015-03-31 06:34:43 UTC) #15
dgozman
As discussed offline, please don't land these before map animationId->type is added to InspectorAnimationAgent.
5 years, 8 months ago (2015-03-31 06:52:21 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/993413004/120001
5 years, 8 months ago (2015-04-01 00:17:54 UTC) #19
commit-bot: I haz the power
5 years, 8 months ago (2015-04-01 01:36:11 UTC) #20
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=192893

Powered by Google App Engine
This is Rietveld 408576698