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

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

Issue 2806623003: Implement Animation constructor (Closed)
Patch Set: Add back in DCHECK about flag being enabled Created 3 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
« no previous file with comments | « third_party/WebKit/Source/core/animation/Animation.cpp ('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 9f49ff93854b0f854314b240ebcec4e9435b7e5b..534b54d93a028bfd03d35d1fbe70ecc6f39ff4cd 100644
--- a/third_party/WebKit/Source/core/animation/Animation.idl
+++ b/third_party/WebKit/Source/core/animation/Animation.idl
@@ -33,9 +33,12 @@
enum AnimationPlayState { "idle", "pending", "running", "paused", "finished" };
[
+ Constructor(optional AnimationEffectReadOnly? effect = null, optional AnimationTimeline? timeline),
+ Exposed(Window WebAnimationsAPI),
+ ConstructorCallWith=ExecutionContext,
+ RaisesException=Constructor,
ActiveScriptWrappable,
DependentLifetime,
- NoInterfaceObject,
] interface Animation : EventTarget {
// TODO(suzyh): Make timeline mutable.
[RuntimeEnabled=WebAnimationsAPI] attribute AnimationEffectReadOnly? effect;
« no previous file with comments | « third_party/WebKit/Source/core/animation/Animation.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698