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

Issue 2875673005: Move "id" from KeyframeEffectOptions to KeyframeAnimationOptions and (Closed)

Created:
3 years, 7 months ago by Jia
Modified:
3 years, 7 months ago
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-bindings_chromium.org, chromium-reviews, Eric Willigers, rjwright, shans, suzyh_UTC10 (ex-contributor)
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move "id" from KeyframeEffectOptions to KeyframeAnimationOptions and change ElementAnimtaions to take KeyframeAnimationOptions as arg. See https://w3c.github.io/web-animations/#dictdef-keyframeanimationoptions NOTE: this IDL change doesn't affect out shipping behaviour, and has low compatibility risk. Hence there is no need for an intent-to-ship notification. Blink currently deviates from the spec in that the "id" field should be in KeyframeAnimationOptions instead of KeyframeEffectOptions. Interface Element should also take KeyframeAnimationOptions as arg. This cl contains the following changes - Add a new KeyframeAnimationOptions interface. - Move "id" from KeyframeEffectOptions to KeyframeAnimationOptions. - Change ElementAnimations to take KeyframeAnimationOptions as arg. - Updates TimingInput to support KeyframeAnimationOptions. - Add unit tests for TimingInput to cover KeyframeAnimationOptions. BUG=700267 Review-Url: https://codereview.chromium.org/2875673005 Cr-Commit-Position: refs/heads/master@{#471164} Committed: https://chromium.googlesource.com/chromium/src/+/84b6a842c0d92a52a557dbe102a9787999dfff21

Patch Set 1 #

Patch Set 2 : Add some comment for upcasting. #

Patch Set 3 : Make const ptr. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -26 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/BUILD.gn View 2 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/animation/ElementAnimation.h View 3 chunks +9 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/animation/ElementAnimation.idl View 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/Source/core/animation/KeyframeAnimationOptions.idl View 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/animation/KeyframeEffectOptions.idl View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/TimingInput.h View 2 chunks +11 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/animation/TimingInput.cpp View 1 2 3 chunks +28 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/animation/TimingInputTest.cpp View 4 chunks +88 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/core/core_idl_files.gni View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 28 (14 generated)
Jia
3 years, 7 months ago (2017-05-11 04:38:54 UTC) #4
alancutter (OOO until 2018)
The description should link to the section of the spec that this patch is conforming ...
3 years, 7 months ago (2017-05-11 05:45:38 UTC) #6
alancutter (OOO until 2018)
lgtm
3 years, 7 months ago (2017-05-11 05:52:06 UTC) #7
Jia
On 2017/05/11 05:45:38, alancutter wrote: > The description should link to the section of the ...
3 years, 7 months ago (2017-05-11 06:11:08 UTC) #9
Jia
3 years, 7 months ago (2017-05-11 06:12:44 UTC) #11
Jia
3 years, 7 months ago (2017-05-11 06:21:51 UTC) #13
haraken
LGTM However for the IDL change I think it would be better to get an ...
3 years, 7 months ago (2017-05-12 00:34:12 UTC) #16
Jia
3 years, 7 months ago (2017-05-12 00:42:38 UTC) #18
tkent
lgtm as an API owner. Compatibility risk is very low, and intent-to-ship isn't necessary IMO.
3 years, 7 months ago (2017-05-12 00:51:10 UTC) #19
alancutter (OOO until 2018)
On 2017/05/12 at 00:34:12, haraken wrote: > LGTM > > However for the IDL change ...
3 years, 7 months ago (2017-05-12 00:52:03 UTC) #20
Jia
On 2017/05/12 00:52:03, alancutter wrote: > On 2017/05/12 at 00:34:12, haraken wrote: > > LGTM ...
3 years, 7 months ago (2017-05-12 00:57:04 UTC) #22
Jia
Thanks for all your reviews. I'll submit the cl shortly.
3 years, 7 months ago (2017-05-12 00:58:39 UTC) #23
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/2875673005/40001
3 years, 7 months ago (2017-05-12 01:10:13 UTC) #25
commit-bot: I haz the power
3 years, 7 months ago (2017-05-12 01:23:31 UTC) #28
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/84b6a842c0d92a52a557dbe102a9...

Powered by Google App Engine
This is Rietveld 408576698