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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp

Issue 1433623002: Devtools Animations: Don't wait for empty transitions to start (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 1 month 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: third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp
index 2c50c360141bf9d443f25922491b1cadc193506a..c77a4f4234fe4995d7bc74f848aeb658b973d57b 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp
@@ -404,6 +404,11 @@ void InspectorAnimationAgent::didCreateAnimation(unsigned sequenceNumber)
frontend()->animationCreated(String::number(sequenceNumber));
}
+void InspectorAnimationAgent::didCancelAnimation(unsigned sequenceNumber)
+{
+ frontend()->animationCanceled(String::number(sequenceNumber));
+}
+
void InspectorAnimationAgent::didStartAnimation(Animation* animation)
{
const String& animationId = String::number(animation->sequenceNumber());

Powered by Google App Engine
This is Rietveld 408576698