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

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

Issue 238633002: Web Animations API: Add runtime flag for minimal element.animate feature (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update expectations. Created 6 years, 8 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
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;
};
« no previous file with comments | « LayoutTests/webexposed/global-constructors-listing-expected.txt ('k') | Source/core/animation/ElementAnimation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698