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

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

Issue 1422713012: Devtools Animations: Listen to all animation play state changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.h b/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.h
index 1062e1f751c9223fcdf825f31ace020b0248db9a..225b326a122e8d5c3c63f7436ef6d89907218416 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.h
@@ -7,6 +7,7 @@
#include "core/CoreExport.h"
#include "core/InspectorFrontend.h"
+#include "core/animation/Animation.h"
#include "core/css/CSSKeyframesRule.h"
#include "core/inspector/InspectorBaseAgent.h"
#include "wtf/PassOwnPtr.h"
@@ -14,7 +15,6 @@
namespace blink {
-class Animation;
class AnimationNode;
class AnimationTimeline;
class Element;
@@ -48,8 +48,7 @@ public:
// API for InspectorInstrumentation
void didCreateAnimation(unsigned);
- void didCancelAnimation(unsigned);
- void didStartAnimation(Animation*);
+ void animationPlayStateChanged(Animation*, Animation::AnimationPlayState, Animation::AnimationPlayState);
void didClearDocumentOfWindowObject(LocalFrame*);
// API for InspectorFrontend

Powered by Google App Engine
This is Rietveld 408576698