https://codereview.chromium.org/2379863003/diff/1/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp (right): https://codereview.chromium.org/2379863003/diff/1/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp#newcode351 third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp:351: AnimationEffectTiming* timing = toKeyframeEffect(animation->effect())->timing(); On 2016/09/30 at 04:32:46, alancutter ...
4 years, 2 months ago
(2016-10-04 06:57:31 UTC)
#5
https://codereview.chromium.org/2379863003/diff/1/third_party/WebKit/Source/c...
File third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp
(right):
https://codereview.chromium.org/2379863003/diff/1/third_party/WebKit/Source/c...
third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp:351:
AnimationEffectTiming* timing = toKeyframeEffect(animation->effect())->timing();
On 2016/09/30 at 04:32:46, alancutter wrote:
> Non-nit: Downcast timing instead of effect object.
This will require defining the type casts for the AnimationEffectTiming*
hierarchy. I'm not sure if there's any downside to doing this. Are you happy for
me to add the extra boilerplate needed for this?
alancutter (OOO until 2018)
https://codereview.chromium.org/2379863003/diff/1/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp (right): https://codereview.chromium.org/2379863003/diff/1/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp#newcode351 third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp:351: AnimationEffectTiming* timing = toKeyframeEffect(animation->effect())->timing(); On 2016/10/04 at 06:57:31, suzyh ...
4 years, 2 months ago
(2016-10-04 11:59:19 UTC)
#6
https://codereview.chromium.org/2379863003/diff/1/third_party/WebKit/Source/c...
File third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp
(right):
https://codereview.chromium.org/2379863003/diff/1/third_party/WebKit/Source/c...
third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp:351:
AnimationEffectTiming* timing = toKeyframeEffect(animation->effect())->timing();
On 2016/10/04 at 06:57:31, suzyh wrote:
> On 2016/09/30 at 04:32:46, alancutter wrote:
> > Non-nit: Downcast timing instead of effect object.
>
> This will require defining the type casts for the AnimationEffectTiming*
hierarchy. I'm not sure if there's any downside to doing this. Are you happy for
me to add the extra boilerplate needed for this?
Yes. I don't think this code should be assuming a KeyframeEffect, down casting
the timing object is the closest equivalent to what occurs in Javascript land.
suzyh_UTC10 (ex-contributor)
On 2016/10/04 at 11:59:19, alancutter wrote: > https://codereview.chromium.org/2379863003/diff/1/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp > File third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp (right): > > https://codereview.chromium.org/2379863003/diff/1/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp#newcode351 ...
4 years, 2 months ago
(2016-10-04 23:54:46 UTC)
#7
On 2016/10/04 at 11:59:19, alancutter wrote:
>
https://codereview.chromium.org/2379863003/diff/1/third_party/WebKit/Source/c...
> File third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp
(right):
>
>
https://codereview.chromium.org/2379863003/diff/1/third_party/WebKit/Source/c...
> third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp:351:
AnimationEffectTiming* timing = toKeyframeEffect(animation->effect())->timing();
> On 2016/10/04 at 06:57:31, suzyh wrote:
> > On 2016/09/30 at 04:32:46, alancutter wrote:
> > > Non-nit: Downcast timing instead of effect object.
> >
> > This will require defining the type casts for the AnimationEffectTiming*
hierarchy. I'm not sure if there's any downside to doing this. Are you happy for
me to add the extra boilerplate needed for this?
>
> Yes. I don't think this code should be assuming a KeyframeEffect, down casting
the timing object is the closest equivalent to what occurs in Javascript land.
Done, PTAL
alancutter (OOO until 2018)
lgtm
4 years, 2 months ago
(2016-10-05 00:22:15 UTC)
#8
4 years, 2 months ago
(2016-10-05 03:19:33 UTC)
#14
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
commit-bot: I haz the power
Description was changed from ========== Implement AnimationEffectTimingReadOnly interface This patch implements AnimationEffectTimingReadOnly, an interface of ...
4 years, 2 months ago
(2016-10-05 03:23:24 UTC)
#15
Message was sent while issue was closed.
Description was changed from
==========
Implement AnimationEffectTimingReadOnly interface
This patch implements AnimationEffectTimingReadOnly, an interface of the
Web Animations API that is currently missing
(http://w3c.github.io/web-animations/#the-animationeffecttimingreadonly-interface).
The interface is only exposed behind the experimental-web-platform-features
flag.
BUG=624639
==========
to
==========
Implement AnimationEffectTimingReadOnly interface
This patch implements AnimationEffectTimingReadOnly, an interface of the
Web Animations API that is currently missing
(http://w3c.github.io/web-animations/#the-animationeffecttimingreadonly-interface).
The interface is only exposed behind the experimental-web-platform-features
flag.
BUG=624639
Committed: https://crrev.com/1eb6e3ef5f59e0423ec0a6ab3e35812122ca1399
Cr-Commit-Position: refs/heads/master@{#423064}
==========
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/1eb6e3ef5f59e0423ec0a6ab3e35812122ca1399 Cr-Commit-Position: refs/heads/master@{#423064}
4 years, 2 months ago
(2016-10-05 03:23:25 UTC)
#16
Issue 2379863003: Implement AnimationEffectTimingReadOnly interface
(Closed)
Created 4 years, 2 months ago by suzyh_UTC10 (ex-contributor)
Modified 4 years, 2 months ago
Reviewers: dstockwell, alancutter (OOO until 2018)
Base URL:
Comments: 4