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

Unified Diff: core/animation/Animation.idl

Issue 2786203002: Roll 50: Copied IDLs, PYTHON scripts from WebKit removed deleted files in WebCore (Closed)
Patch Set: Created 3 years, 9 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 | « core/README ('k') | core/animation/AnimationEffectReadOnly.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/animation/Animation.idl
diff --git a/core/animation/Animation.idl b/core/animation/Animation.idl
index 76ef6bb57d49975fdc48c22c94dd6751e4faba7d..34099ba78849127bdd73a188cda2a1bb2731ae6a 100644
--- a/core/animation/Animation.idl
+++ b/core/animation/Animation.idl
@@ -33,7 +33,7 @@
enum AnimationPlayState { "idle", "pending", "running", "paused", "finished" };
[
- ActiveDOMObject,
+ DependentLifetime,
NoInterfaceObject,
] interface Animation : EventTarget {
// TODO(dstockwell): Add timeline property.
@@ -43,14 +43,13 @@ enum AnimationPlayState { "idle", "pending", "running", "paused", "finished" };
[Measure] attribute double playbackRate;
[Measure] readonly attribute AnimationPlayState playState;
[Measure, RaisesException] void finish();
- [Measure] void play();
- [Measure] void pause();
- [Measure] void reverse();
- [RuntimeEnabled=WebAnimationsAPI] attribute double startClip;
- [RuntimeEnabled=WebAnimationsAPI] attribute double endClip;
-
+ [Measure, RaisesException] void play();
+ [Measure, RaisesException] void pause();
+ [Measure, RaisesException] void reverse();
+ [Measure] attribute DOMString id;
[Measure] void cancel();
[Measure] attribute EventHandler onfinish;
+ [Measure] attribute EventHandler oncancel;
[RuntimeEnabled=WebAnimationsAPI, CallWith=ScriptState] readonly attribute Promise<Animation> finished;
[RuntimeEnabled=WebAnimationsAPI, CallWith=ScriptState] readonly attribute Promise<Animation> ready;
};
« no previous file with comments | « core/README ('k') | core/animation/AnimationEffectReadOnly.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698