Web Animations: Add a runtime flag for playback control

This will guard the next shipping subset of the Web Animations API.

BUG=396369

Review URL: https://codereview.chromium.org/538503002

git-svn-id: svn://svn.chromium.org/blink/trunk@181696 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 84fbb5df
...@@ -33,15 +33,15 @@ ...@@ -33,15 +33,15 @@
WillBeGarbageCollected, WillBeGarbageCollected,
ActiveDOMObject, ActiveDOMObject,
] interface AnimationPlayer : EventTarget { ] interface AnimationPlayer : EventTarget {
[RuntimeEnabled=WebAnimationsAPI] attribute AnimationNode? source; [RuntimeEnabled=WebAnimationsAPI] attribute AnimationNode? source;
[RuntimeEnabled=WebAnimationsAPI] attribute double startTime; [RuntimeEnabled=WebAnimationsPlaybackControl] attribute double startTime;
[RuntimeEnabled=WebAnimationsAPI] attribute double currentTime; [RuntimeEnabled=WebAnimationsPlaybackControl] attribute double currentTime;
[RuntimeEnabled=WebAnimationsAPI] attribute double playbackRate; [RuntimeEnabled=WebAnimationsPlaybackControl] attribute double playbackRate;
[RuntimeEnabled=WebAnimationsAPI] readonly attribute DOMString playState; [RuntimeEnabled=WebAnimationsPlaybackControl] readonly attribute DOMString playState;
[RuntimeEnabled=WebAnimationsAPI, RaisesException] void finish(); [RuntimeEnabled=WebAnimationsPlaybackControl, RaisesException] void finish();
[RuntimeEnabled=WebAnimationsAPI] void play(); [RuntimeEnabled=WebAnimationsPlaybackControl] void play();
[RuntimeEnabled=WebAnimationsAPI] void pause(); [RuntimeEnabled=WebAnimationsPlaybackControl] void pause();
[RuntimeEnabled=WebAnimationsAPI] void reverse(); [RuntimeEnabled=WebAnimationsPlaybackControl] void reverse();
void cancel(); void cancel();
[MeasureAs=AnimationPlayerFinishEvent] attribute EventHandler onfinish; [MeasureAs=AnimationPlayerFinishEvent] attribute EventHandler onfinish;
......
...@@ -144,6 +144,7 @@ TouchIconLoading ...@@ -144,6 +144,7 @@ TouchIconLoading
ThreadedParserDataReceiver status=experimental ThreadedParserDataReceiver status=experimental
UserSelectAll status=experimental UserSelectAll status=experimental
WebAnimationsAPI status=experimental WebAnimationsAPI status=experimental
WebAnimationsPlaybackControl status=experimental
WebAudio condition=WEB_AUDIO, status=stable WebAudio condition=WEB_AUDIO, status=stable
WebGLDraftExtensions status=experimental WebGLDraftExtensions status=experimental
WebGLImageChromium WebGLImageChromium
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment