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

Unified Diff: core/animation/AnimationPlayer.idl

Issue 540533002: Roll IDL to Dartium37 (r181268) (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: 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 | « core/animation/AnimationNode.idl ('k') | core/animation/AnimationTimeline.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/modules/notifications/WebKitNotification.idl b/core/animation/AnimationPlayer.idl
similarity index 63%
rename from modules/notifications/WebKitNotification.idl
rename to core/animation/AnimationPlayer.idl
index ae2acef3886a0f48e2ef1977b0e27888cbc84bbd..8dc0d416d6a3716d276106fb192fe37dbd556ab3 100644
--- a/modules/notifications/WebKitNotification.idl
+++ b/core/animation/AnimationPlayer.idl
@@ -29,20 +29,23 @@
*/
[
+ RuntimeEnabled=WebAnimationsElementAnimate,
+ NoInterfaceObject,
WillBeGarbageCollected,
ActiveDOMObject,
- Conditional=LEGACY_NOTIFICATIONS,
- NoInterfaceObject,
- RuntimeEnabled=Notifications,
-] interface WebKitNotification : EventTarget {
- void show();
- void cancel();
+] interface AnimationPlayer : EventTarget {
+ [RuntimeEnabled=WebAnimationsAPI] attribute AnimationNode? 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();
- attribute EventHandler ondisplay;
- attribute EventHandler onerror;
- attribute EventHandler onclose;
- attribute EventHandler onclick;
-
- attribute DOMString dir;
- attribute DOMString replaceId;
+ void cancel();
+ [MeasureAs=AnimationPlayerFinishEvent] attribute EventHandler onfinish;
};
« no previous file with comments | « core/animation/AnimationNode.idl ('k') | core/animation/AnimationTimeline.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698