Chromium Code Reviews| Index: Source/core/animation/AnimationPlayer.idl |
| diff --git a/Source/core/animation/AnimationPlayer.idl b/Source/core/animation/AnimationPlayer.idl |
| index ccd618f92b247f043ae6cc8431ed508ec244e89f..07389996946dacdc40a4918053fb38a74bde26ab 100644 |
| --- a/Source/core/animation/AnimationPlayer.idl |
| +++ b/Source/core/animation/AnimationPlayer.idl |
| @@ -28,6 +28,8 @@ |
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| */ |
| +enum AnimationPlayState { "idle", "pending", "playing", "paused", "finished" }; |
|
alancutter (OOO until 2018)
2014/09/10 01:19:28
s/playing/running/
dstockwell
2014/09/10 01:22:57
Done.
|
| + |
| [ |
| NoInterfaceObject, |
| WillBeGarbageCollected, |
| @@ -37,7 +39,7 @@ |
| [RuntimeEnabled=WebAnimationsPlaybackControl] attribute double startTime; |
| [RuntimeEnabled=WebAnimationsPlaybackControl] attribute double currentTime; |
| [RuntimeEnabled=WebAnimationsPlaybackControl] attribute double playbackRate; |
| - [RuntimeEnabled=WebAnimationsPlaybackControl] readonly attribute DOMString playState; |
| + [RuntimeEnabled=WebAnimationsPlaybackControl] readonly attribute AnimationPlayState playState; |
| [RuntimeEnabled=WebAnimationsPlaybackControl, RaisesException] void finish(); |
| [RuntimeEnabled=WebAnimationsPlaybackControl] void play(); |
| [RuntimeEnabled=WebAnimationsPlaybackControl] void pause(); |