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

Issue 2222313002: Implement DocumentTimeline (Closed)

Created:
4 years, 4 months ago by suzyh_UTC10 (ex-contributor)
Modified:
4 years, 4 months ago
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-dom_chromium.org, blink-reviews-layout_chromium.org, blink-reviews-style_chromium.org, blink-reviews-w3ctests_chromium.org, chromium-reviews, dglazkov+blink, krit, eae+blinkwatch, Eric Willigers, f(malita), fs, gyuyoung2, jchaffraix+rendering, kouhei+svg_chromium.org, leviw+renderwatch, pdr+svgwatchlist_chromium.org, pdr+renderingwatchlist_chromium.org, rjwright, rwlbuis, Stephen Chennney, shans, sof, szager+layoutwatch_chromium.org, tfarina, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement DocumentTimeline The Document.timeline property is currently an AnimationTimeline object. The spec says that it should be a DocumentTimeline, where DocumentTimeline inherits from AnimationTimeline. This patch adds the DocumentTimeline IDL file and basic implementation, excluding the constructor as specified at http://w3c.github.io/web-animations/#the-documenttimeline-interface. (The lack of this constructor is the cause of the "Illegal constructor" errors in the changed LayoutTests expectations.) This patch also changes the Document.timeline property to be a DocumentTimeline. This then requires several #includes to be updated, in files that call document.timeline().someMethod(), even though these 'someMethod's are inherited from AnimationTimeline. BUG=624639, 600248 Committed: https://crrev.com/c27a7492ea607447c055a93856c14e614678ac5e Cr-Commit-Position: refs/heads/master@{#410950}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Update global-interface-listing-expected.txt #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -47 lines) Patch
M third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/AnimationTimeline/idlharness-expected.txt View 1 chunk +7 lines, -7 lines 0 comments Download
M third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/DocumentTimeline/constructor-expected.txt View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/web-animations-api/animation-set-timeline-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/animation/AnimationStackTest.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/animation/AnimationTimeline.h View 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/AnimationTimelineTest.cpp View 1 chunk +0 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CustomCompositorAnimations.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/DocumentAnimation.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/DocumentAnimation.idl View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/animation/DocumentAnimations.cpp View 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/Source/core/animation/DocumentTimeline.h View 1 1 chunk +59 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/animation/DocumentTimeline.idl View 1 1 chunk +10 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/animation/DocumentTimelineTest.cpp View 1 1 chunk +74 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/animation/ElementAnimation.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/KeyframeEffectTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/core.gypi View 3 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.h View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/dom/StyleEngine.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/testing/Internals.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 21 (13 generated)
suzyh_UTC10 (ex-contributor)
Could you do an extra-careful review of this one? I'm not confident that I've done ...
4 years, 4 months ago (2016-08-09 07:27:24 UTC) #2
alancutter (OOO until 2018)
lgtm https://codereview.chromium.org/2222313002/diff/1/third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/AnimationTimeline/idlharness-expected.txt File third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/AnimationTimeline/idlharness-expected.txt (right): https://codereview.chromium.org/2222313002/diff/1/third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/AnimationTimeline/idlharness-expected.txt#newcode4 third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/AnimationTimeline/idlharness-expected.txt:4: FAIL DocumentTimeline interface object length assert_equals: wrong value ...
4 years, 4 months ago (2016-08-10 00:42:09 UTC) #7
suzyh_UTC10 (ex-contributor)
Updated global-interface-listing-expected.txt On 2016/08/10 at 00:42:09, alancutter wrote: > lgtm > > https://codereview.chromium.org/2222313002/diff/1/third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/AnimationTimeline/idlharness-expected.txt > File ...
4 years, 4 months ago (2016-08-10 01:15:51 UTC) #8
suzyh_UTC10 (ex-contributor)
+dstockwell for core/* OWNERS
4 years, 4 months ago (2016-08-10 01:17:09 UTC) #10
dstockwell
lgtm
4 years, 4 months ago (2016-08-10 03:51:24 UTC) #15
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/2222313002/20001
4 years, 4 months ago (2016-08-10 04:09:09 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-10 04:13:25 UTC) #19
commit-bot: I haz the power
4 years, 4 months ago (2016-08-10 04:15:06 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c27a7492ea607447c055a93856c14e614678ac5e
Cr-Commit-Position: refs/heads/master@{#410950}

Powered by Google App Engine
This is Rietveld 408576698