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

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

Issue 1113173003: Web Animations: Update naming to reflect spec changes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: No, really. Created 5 years, 7 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/frame/UseCounter.h ('k') | Source/core/inspector/InspectorAnimationAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorAnimationAgent.h
diff --git a/Source/core/inspector/InspectorAnimationAgent.h b/Source/core/inspector/InspectorAnimationAgent.h
index 8573f9dcabf0bf1a2e48a47badd65112078df5b6..c49690e0ab736feff74a1e1d40283b124632093e 100644
--- a/Source/core/inspector/InspectorAnimationAgent.h
+++ b/Source/core/inspector/InspectorAnimationAgent.h
@@ -13,8 +13,8 @@
namespace blink {
+class Animation;
class AnimationNode;
-class AnimationPlayer;
class AnimationTimeline;
class Element;
class InspectorDOMAgent;
@@ -42,15 +42,15 @@ public:
virtual void setTiming(ErrorString*, const String& playerId, double duration, double delay) override;
// API for InspectorInstrumentation
- void didCreateAnimationPlayer(AnimationPlayer*);
- void didCancelAnimationPlayer(AnimationPlayer*);
+ void didCreateAnimation(Animation*);
+ void didCancelAnimation(Animation*);
void didClearDocumentOfWindowObject(LocalFrame*);
// API for InspectorFrontend
virtual void enable(ErrorString*) override;
// Methods for other agents to use.
- AnimationPlayer* assertAnimationPlayer(ErrorString*, const String& id);
+ Animation* assertAnimation(ErrorString*, const String& id);
DECLARE_VIRTUAL_TRACE();
@@ -59,15 +59,15 @@ private:
typedef TypeBuilder::Animation::AnimationPlayer::Type::Enum AnimationType;
- 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&);
+ PassRefPtr<TypeBuilder::Animation::AnimationPlayer> buildObjectForAnimationPlayer(Animation&);
+ PassRefPtr<TypeBuilder::Animation::AnimationPlayer> buildObjectForAnimationPlayer(Animation&, AnimationType, PassRefPtr<TypeBuilder::Animation::KeyframesRule> keyframeRule = nullptr);
+ PassRefPtr<TypeBuilder::Array<TypeBuilder::Animation::AnimationPlayer>> buildArrayForAnimations(Element&, const WillBeHeapVector<RefPtrWillBeMember<Animation>>);
+ double normalizedStartTime(Animation&);
AnimationTimeline& referenceTimeline();
RawPtrWillBeMember<InspectorPageAgent> m_pageAgent;
RawPtrWillBeMember<InspectorDOMAgent> m_domAgent;
- WillBeHeapHashMap<String, RefPtrWillBeMember<AnimationPlayer>> m_idToAnimationPlayer;
+ WillBeHeapHashMap<String, RefPtrWillBeMember<Animation>> m_idToAnimation;
WillBeHeapHashMap<String, AnimationType> m_idToAnimationType;
};
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | Source/core/inspector/InspectorAnimationAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698