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

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

Issue 2806623003: Implement Animation constructor (Closed)
Patch Set: Update one more webexposed test expectation Created 3 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
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 9f49ff93854b0f854314b240ebcec4e9435b7e5b..02b7cb75cfb3a07040a6d13bddb44a38f2a703ec 100644
--- a/third_party/WebKit/Source/core/animation/Animation.idl
+++ b/third_party/WebKit/Source/core/animation/Animation.idl
@@ -33,9 +33,11 @@
enum AnimationPlayState { "idle", "pending", "running", "paused", "finished" };
[
+ Constructor(optional AnimationEffectReadOnly? effect = null, optional AnimationTimeline? timeline),
+ ConstructorCallWith=ExecutionContext,
+ RaisesException=Constructor,
ActiveScriptWrappable,
DependentLifetime,
- NoInterfaceObject,
] interface Animation : EventTarget {
// TODO(suzyh): Make timeline mutable.
[RuntimeEnabled=WebAnimationsAPI] attribute AnimationEffectReadOnly? effect;

Powered by Google App Engine
This is Rietveld 408576698