| Index: core/animation/AnimationPlayer.idl
|
| diff --git a/modules/notifications/WebKitNotification.idl b/core/animation/AnimationPlayer.idl
|
| similarity index 63%
|
| rename from modules/notifications/WebKitNotification.idl
|
| rename to core/animation/AnimationPlayer.idl
|
| index ae2acef3886a0f48e2ef1977b0e27888cbc84bbd..8dc0d416d6a3716d276106fb192fe37dbd556ab3 100644
|
| --- a/modules/notifications/WebKitNotification.idl
|
| +++ b/core/animation/AnimationPlayer.idl
|
| @@ -29,20 +29,23 @@
|
| */
|
|
|
| [
|
| + RuntimeEnabled=WebAnimationsElementAnimate,
|
| + NoInterfaceObject,
|
| WillBeGarbageCollected,
|
| ActiveDOMObject,
|
| - Conditional=LEGACY_NOTIFICATIONS,
|
| - NoInterfaceObject,
|
| - RuntimeEnabled=Notifications,
|
| -] interface WebKitNotification : EventTarget {
|
| - void show();
|
| - void cancel();
|
| +] interface AnimationPlayer : EventTarget {
|
| + [RuntimeEnabled=WebAnimationsAPI] attribute AnimationNode? source;
|
| + [RuntimeEnabled=WebAnimationsAPI] attribute double startTime;
|
| + [RuntimeEnabled=WebAnimationsAPI] attribute double currentTime;
|
| + [RuntimeEnabled=WebAnimationsAPI] readonly attribute double timeLag;
|
| + [RuntimeEnabled=WebAnimationsAPI] attribute double playbackRate;
|
| + [RuntimeEnabled=WebAnimationsAPI] readonly attribute boolean paused;
|
| + [RuntimeEnabled=WebAnimationsAPI] readonly attribute boolean finished;
|
| + [RuntimeEnabled=WebAnimationsAPI, RaisesException] void finish();
|
| + [RuntimeEnabled=WebAnimationsAPI] void play();
|
| + [RuntimeEnabled=WebAnimationsAPI] void pause();
|
| + [RuntimeEnabled=WebAnimationsAPI] void reverse();
|
|
|
| - attribute EventHandler ondisplay;
|
| - attribute EventHandler onerror;
|
| - attribute EventHandler onclose;
|
| - attribute EventHandler onclick;
|
| -
|
| - attribute DOMString dir;
|
| - attribute DOMString replaceId;
|
| + void cancel();
|
| + [MeasureAs=AnimationPlayerFinishEvent] attribute EventHandler onfinish;
|
| };
|
|
|