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

Unified Diff: third_party/WebKit/Source/core/animation/Animation.idl

Issue 1942683002: Web Animations: Expose timeline attributes on Animation object (experimental only) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/imported/web-platform-tests/web-animations/animation/playbackRate-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/animation/Animation.idl
diff --git a/third_party/WebKit/Source/core/animation/Animation.idl b/third_party/WebKit/Source/core/animation/Animation.idl
index d5faea4867a4af1f3e202950af28464256075b0d..00515cce3a477626001fed217b0867f95d67b0d9 100644
--- a/third_party/WebKit/Source/core/animation/Animation.idl
+++ b/third_party/WebKit/Source/core/animation/Animation.idl
@@ -37,7 +37,8 @@ enum AnimationPlayState { "idle", "pending", "running", "paused", "finished" };
DependentLifetime,
NoInterfaceObject,
] interface Animation : EventTarget {
- // TODO(dstockwell): Add timeline property.
+ // TODO(alancutter): Make the timeline attribute mutable.
+ [RuntimeEnabled=WebAnimationsAPI] readonly attribute AnimationTimeline? timeline;
[RuntimeEnabled=WebAnimationsAPI] attribute AnimationEffectReadOnly? effect;
[Measure] attribute double? startTime;
[Measure] attribute double? currentTime;
« no previous file with comments | « third_party/WebKit/LayoutTests/imported/web-platform-tests/web-animations/animation/playbackRate-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698