| 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;
|
| };
|
|
|