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

Side by Side Diff: Source/core/inspector/InspectorAnimationAgent.h

Issue 1155773002: Devtools Animations: Add cubic bezier easing editor for animations (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 5 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef InspectorAnimationAgent_h 5 #ifndef InspectorAnimationAgent_h
6 #define InspectorAnimationAgent_h 6 #define InspectorAnimationAgent_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/InspectorFrontend.h" 9 #include "core/InspectorFrontend.h"
10 #include "core/css/CSSKeyframesRule.h" 10 #include "core/css/CSSKeyframesRule.h"
(...skipping 23 matching lines...) Expand all
34 void restore() override; 34 void restore() override;
35 void disable(ErrorString*) override; 35 void disable(ErrorString*) override;
36 void didCommitLoadForLocalFrame(LocalFrame*) override; 36 void didCommitLoadForLocalFrame(LocalFrame*) override;
37 37
38 // Protocol method implementations 38 // Protocol method implementations
39 virtual void getAnimationPlayersForNode(ErrorString*, int nodeId, bool inclu deSubtreeAnimations, RefPtr<TypeBuilder::Array<TypeBuilder::Animation::Animation Player> >& animationPlayersArray) override; 39 virtual void getAnimationPlayersForNode(ErrorString*, int nodeId, bool inclu deSubtreeAnimations, RefPtr<TypeBuilder::Array<TypeBuilder::Animation::Animation Player> >& animationPlayersArray) override;
40 virtual void getPlaybackRate(ErrorString*, double* playbackRate) override; 40 virtual void getPlaybackRate(ErrorString*, double* playbackRate) override;
41 virtual void setPlaybackRate(ErrorString*, double playbackRate) override; 41 virtual void setPlaybackRate(ErrorString*, double playbackRate) override;
42 virtual void setCurrentTime(ErrorString*, double currentTime) override; 42 virtual void setCurrentTime(ErrorString*, double currentTime) override;
43 virtual void setTiming(ErrorString*, const String& playerId, double duration , double delay) override; 43 virtual void setTiming(ErrorString*, const String& playerId, double duration , double delay) override;
44 virtual void setEasing(ErrorString*, const String& playerId, const String& e asing) override;
44 45
45 // API for InspectorInstrumentation 46 // API for InspectorInstrumentation
46 void didCreateAnimation(Animation*); 47 void didCreateAnimation(Animation*);
47 void didCancelAnimation(Animation*); 48 void didCancelAnimation(Animation*);
48 void didClearDocumentOfWindowObject(LocalFrame*); 49 void didClearDocumentOfWindowObject(LocalFrame*);
49 void animationTimingUpdated(Animation*); 50 void animationTimingUpdated(Animation*);
50 51
51 // API for InspectorFrontend 52 // API for InspectorFrontend
52 virtual void enable(ErrorString*) override; 53 virtual void enable(ErrorString*) override;
53 54
(...skipping 16 matching lines...) Expand all
70 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; 71 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent;
71 RawPtrWillBeMember<InspectorDOMAgent> m_domAgent; 72 RawPtrWillBeMember<InspectorDOMAgent> m_domAgent;
72 WillBeHeapHashMap<String, RefPtrWillBeMember<Animation>> m_idToAnimation; 73 WillBeHeapHashMap<String, RefPtrWillBeMember<Animation>> m_idToAnimation;
73 WillBeHeapHashMap<String, AnimationType> m_idToAnimationType; 74 WillBeHeapHashMap<String, AnimationType> m_idToAnimationType;
74 double m_latestStartTime; 75 double m_latestStartTime;
75 }; 76 };
76 77
77 } 78 }
78 79
79 #endif // InspectorAnimationAgent_h 80 #endif // InspectorAnimationAgent_h
OLDNEW
« no previous file with comments | « Source/core/animation/AnimationEffect.cpp ('k') | Source/core/inspector/InspectorAnimationAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698