Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3000)

Unified Diff: core/animation/AnimationPlayer.idl

Issue 959933002: Move IDLs to 39 roll (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/README ('k') | core/css/CSSRule.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/animation/AnimationPlayer.idl
diff --git a/core/animation/AnimationPlayer.idl b/core/animation/AnimationPlayer.idl
index bc3823451a216b27b1a54497d1bc5cf1c4d84ddd..45720a484fbace69bd7262ee918636b052dcc31d 100644
--- a/core/animation/AnimationPlayer.idl
+++ b/core/animation/AnimationPlayer.idl
@@ -28,22 +28,22 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+enum AnimationPlayState { "idle", "pending", "running", "paused", "finished" };
+
[
- RuntimeEnabled=WebAnimationsElementAnimate,
NoInterfaceObject,
WillBeGarbageCollected,
ActiveDOMObject,
] interface AnimationPlayer : EventTarget {
- [RuntimeEnabled=WebAnimationsAPI] attribute AnimationNode? source;
- [RuntimeEnabled=WebAnimationsAPI] attribute double startTime;
- [RuntimeEnabled=WebAnimationsAPI] attribute double currentTime;
- [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();
+ [RuntimeEnabled=WebAnimationsAPI] attribute AnimationNode? source;
+ [RuntimeEnabled=WebAnimationsPlaybackControl] attribute double? startTime;
+ [RuntimeEnabled=WebAnimationsPlaybackControl] attribute double? currentTime;
+ [RuntimeEnabled=WebAnimationsPlaybackControl] attribute double playbackRate;
+ [RuntimeEnabled=WebAnimationsPlaybackControl, MeasureAs=AnimationPlayerGetPlayState] readonly attribute AnimationPlayState playState;
+ [RuntimeEnabled=WebAnimationsPlaybackControl, MeasureAs=AnimationPlayerFinish, RaisesException] void finish();
+ [RuntimeEnabled=WebAnimationsPlaybackControl, MeasureAs=AnimationPlayerPlay] void play();
+ [RuntimeEnabled=WebAnimationsPlaybackControl, MeasureAs=AnimationPlayerPause] void pause();
+ [RuntimeEnabled=WebAnimationsPlaybackControl, MeasureAs=AnimationPlayerReverse] void reverse();
void cancel();
[MeasureAs=AnimationPlayerFinishEvent] attribute EventHandler onfinish;
« no previous file with comments | « core/README ('k') | core/css/CSSRule.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698