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

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

Issue 2094213002: Expose readonly animation timeline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update test expectation for new WPT test Created 4 years, 6 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
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..9f49ff93854b0f854314b240ebcec4e9435b7e5b 100644
--- a/third_party/WebKit/Source/core/animation/Animation.idl
+++ b/third_party/WebKit/Source/core/animation/Animation.idl
@@ -37,8 +37,9 @@ enum AnimationPlayState { "idle", "pending", "running", "paused", "finished" };
DependentLifetime,
NoInterfaceObject,
] interface Animation : EventTarget {
- // TODO(dstockwell): Add timeline property.
+ // TODO(suzyh): Make timeline mutable.
[RuntimeEnabled=WebAnimationsAPI] attribute AnimationEffectReadOnly? effect;
+ [RuntimeEnabled=WebAnimationsAPI] readonly attribute AnimationTimeline? timeline;
[Measure] attribute double? startTime;
[Measure] attribute double? currentTime;
[Measure] attribute double playbackRate;
« no previous file with comments | « third_party/WebKit/LayoutTests/imported/wpt/web-animations/timing-model/animations/set-the-timeline-of-an-animation-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698