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

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

Issue 210363007: Declare onFinish event handler for AnimationPlayer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use ContextLifecycleObserver Created 6 years, 9 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 6a027d0ff2ba5ebc9af0c61c1164db61213fa8d9..292954c41a53060fb2c498e869d7022e36c0f017 100644
--- a/Source/core/animation/AnimationPlayer.idl
+++ b/Source/core/animation/AnimationPlayer.idl
@@ -30,7 +30,7 @@
[
RuntimeEnabled=WebAnimationsAPI,
-] interface AnimationPlayer {
+] interface AnimationPlayer : EventTarget {
attribute TimedItem? source;
attribute double startTime;
attribute double currentTime;
@@ -43,4 +43,6 @@
void play();
void pause();
void reverse();
+
+ attribute EventHandler onfinish;
};

Powered by Google App Engine
This is Rietveld 408576698