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

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

Issue 1081753002: Devtools Animations: Support multiple frames in the animation timeline (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: New frame instrumentation on agent Created 5 years, 8 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/inspector/InspectorAnimationAgent.h
diff --git a/Source/core/inspector/InspectorAnimationAgent.h b/Source/core/inspector/InspectorAnimationAgent.h
index bdf7a15f33d789e2266fb6a8ac70f55e8fb913f7..fa6a19666779b4418295dda2a4c5e8914a257a3f 100644
--- a/Source/core/inspector/InspectorAnimationAgent.h
+++ b/Source/core/inspector/InspectorAnimationAgent.h
@@ -15,6 +15,7 @@ namespace blink {
class AnimationNode;
class AnimationPlayer;
+class AnimationTimeline;
class Element;
class InspectorDOMAgent;
class InspectorPageAgent;
@@ -43,6 +44,7 @@ public:
// API for InspectorInstrumentation
void didCreateAnimationPlayer(AnimationPlayer*);
void didCancelAnimationPlayer(AnimationPlayer*);
+ void documentAttachedToFrame(LocalFrame*);
// API for InspectorFrontend
virtual void enable(ErrorString*) override;
@@ -60,6 +62,8 @@ private:
PassRefPtr<TypeBuilder::Animation::AnimationPlayer> buildObjectForAnimationPlayer(AnimationPlayer&);
PassRefPtr<TypeBuilder::Animation::AnimationPlayer> buildObjectForAnimationPlayer(AnimationPlayer&, AnimationType, PassRefPtr<TypeBuilder::Animation::KeyframesRule> keyframeRule = nullptr);
PassRefPtr<TypeBuilder::Array<TypeBuilder::Animation::AnimationPlayer> > buildArrayForAnimationPlayers(Element&, const WillBeHeapVector<RefPtrWillBeMember<AnimationPlayer> >);
+ double normalizedStartTime(AnimationPlayer&);
+ AnimationTimeline& referenceTimeline();
RawPtrWillBeMember<InspectorPageAgent> m_pageAgent;
RawPtrWillBeMember<InspectorDOMAgent> m_domAgent;

Powered by Google App Engine
This is Rietveld 408576698