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

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

Issue 832713004: Web Animations: Implement the AnimationPlayer finished promise (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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 | « Source/core/animation/AnimationPlayer.cpp ('k') | no next file » | 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 99f2f82bb84699a727c99a80b6f52279dfe0c8a9..bd7aac8c402e8e2361ac32d0e493e1caae0c1dbe 100644
--- a/Source/core/animation/AnimationPlayer.idl
+++ b/Source/core/animation/AnimationPlayer.idl
@@ -46,4 +46,5 @@ enum AnimationPlayState { "idle", "pending", "running", "paused", "finished" };
void cancel();
[MeasureAs=AnimationPlayerFinishEvent] attribute EventHandler onfinish;
+ [RuntimeEnabled=WebAnimationsAPI, CallWith=ScriptState] readonly attribute Promise<AnimationPlayer> finished;
};
« no previous file with comments | « Source/core/animation/AnimationPlayer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698