Chromium Code Reviews| Index: Source/core/animation/AnimationPlayer.idl |
| diff --git a/Source/core/animation/AnimationPlayer.idl b/Source/core/animation/AnimationPlayer.idl |
| index 3a1c0073c2eeb9d492959c91809022d6b262fd66..143aac5b8afb2ae2ab52b0a75ac2f2104814d2fb 100644 |
| --- a/Source/core/animation/AnimationPlayer.idl |
| +++ b/Source/core/animation/AnimationPlayer.idl |
| @@ -29,20 +29,21 @@ |
| */ |
| [ |
| - RuntimeEnabled=WebAnimationsAPI, |
| + RuntimeEnabled=WebAnimationsElementAnimate, |
| + NoInterfaceObject, |
|
eseidel
2014/04/15 05:40:43
Was NoInterfaceObject intentional?
|
| ] interface AnimationPlayer : EventTarget { |
| - attribute TimedItem? source; |
| - attribute double startTime; |
| - attribute double currentTime; |
| - readonly attribute double timeLag; |
| - attribute double playbackRate; |
| - readonly attribute boolean paused; |
| - readonly attribute boolean finished; |
| - void cancel(); |
| - [RaisesException] void finish(); |
| - void play(); |
| - void pause(); |
| - void reverse(); |
| + [RuntimeEnabled=WebAnimationsAPI] attribute TimedItem? 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(); |
| + void cancel(); |
| [MeasureAs=AnimationPlayerFinishEvent] attribute EventHandler onfinish; |
| }; |