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

Unified Diff: Source/core/animation/AnimationPlayer.idl

Issue 538503002: Web Animations: Add a runtime flag for playback control (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 6 years, 3 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 | « no previous file | Source/platform/RuntimeEnabledFeatures.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/AnimationPlayer.idl
diff --git a/Source/core/animation/AnimationPlayer.idl b/Source/core/animation/AnimationPlayer.idl
index 00ef93e5d4181758ac9bfee3434e60cbfd4f1d37..ccd618f92b247f043ae6cc8431ed508ec244e89f 100644
--- a/Source/core/animation/AnimationPlayer.idl
+++ b/Source/core/animation/AnimationPlayer.idl
@@ -33,15 +33,15 @@
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 DOMString playState;
- [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] readonly attribute DOMString playState;
+ [RuntimeEnabled=WebAnimationsPlaybackControl, RaisesException] void finish();
+ [RuntimeEnabled=WebAnimationsPlaybackControl] void play();
+ [RuntimeEnabled=WebAnimationsPlaybackControl] void pause();
+ [RuntimeEnabled=WebAnimationsPlaybackControl] void reverse();
void cancel();
[MeasureAs=AnimationPlayerFinishEvent] attribute EventHandler onfinish;
« no previous file with comments | « no previous file | Source/platform/RuntimeEnabledFeatures.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698