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

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

Issue 993413004: Devtools Animations: Update transition timing on timeline interaction (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 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/InspectorFrontend.h" 8 #include "core/InspectorFrontend.h"
9 #include "core/css/CSSKeyframesRule.h" 9 #include "core/css/CSSKeyframesRule.h"
10 #include "core/inspector/InspectorBaseAgent.h" 10 #include "core/inspector/InspectorBaseAgent.h"
(...skipping 19 matching lines...) Expand all
30 30
31 // Base agent methods. 31 // Base agent methods.
32 void restore() override; 32 void restore() override;
33 void disable(ErrorString*) override; 33 void disable(ErrorString*) override;
34 34
35 // Protocol method implementations 35 // Protocol method implementations
36 virtual void getAnimationPlayersForNode(ErrorString*, int nodeId, bool inclu deSubtreeAnimations, RefPtr<TypeBuilder::Array<TypeBuilder::Animation::Animation Player> >& animationPlayersArray) override; 36 virtual void getAnimationPlayersForNode(ErrorString*, int nodeId, bool inclu deSubtreeAnimations, RefPtr<TypeBuilder::Array<TypeBuilder::Animation::Animation Player> >& animationPlayersArray) override;
37 virtual void getPlaybackRate(ErrorString*, double* playbackRate) override; 37 virtual void getPlaybackRate(ErrorString*, double* playbackRate) override;
38 virtual void setPlaybackRate(ErrorString*, double playbackRate) override; 38 virtual void setPlaybackRate(ErrorString*, double playbackRate) override;
39 virtual void setCurrentTime(ErrorString*, double currentTime) override; 39 virtual void setCurrentTime(ErrorString*, double currentTime) override;
40 virtual void setTiming(ErrorString*, const String& playerId, double duration , double delay) override; 40 virtual void setTiming(ErrorString*, const String& playerId, double duration , double delay, bool isTransition) override;
41 41
42 // API for InspectorInstrumentation 42 // API for InspectorInstrumentation
43 void didCreateAnimationPlayer(AnimationPlayer*); 43 void didCreateAnimationPlayer(AnimationPlayer*);
44 void didCancelAnimationPlayer(AnimationPlayer*); 44 void didCancelAnimationPlayer(AnimationPlayer*);
45 45
46 // API for InspectorFrontend 46 // API for InspectorFrontend
47 virtual void enable(ErrorString*) override; 47 virtual void enable(ErrorString*) override;
48 48
49 // Methods for other agents to use. 49 // Methods for other agents to use.
50 AnimationPlayer* assertAnimationPlayer(ErrorString*, const String& id); 50 AnimationPlayer* assertAnimationPlayer(ErrorString*, const String& id);
(...skipping 10 matching lines...) Expand all
61 PassRefPtr<TypeBuilder::Array<TypeBuilder::Animation::AnimationPlayer> > bui ldArrayForAnimationPlayers(Element&, const WillBeHeapVector<RefPtrWillBeMember<A nimationPlayer> >); 61 PassRefPtr<TypeBuilder::Array<TypeBuilder::Animation::AnimationPlayer> > bui ldArrayForAnimationPlayers(Element&, const WillBeHeapVector<RefPtrWillBeMember<A nimationPlayer> >);
62 62
63 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; 63 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent;
64 RawPtrWillBeMember<InspectorDOMAgent> m_domAgent; 64 RawPtrWillBeMember<InspectorDOMAgent> m_domAgent;
65 WillBeHeapHashMap<String, RefPtrWillBeMember<AnimationPlayer>> m_idToAnimati onPlayer; 65 WillBeHeapHashMap<String, RefPtrWillBeMember<AnimationPlayer>> m_idToAnimati onPlayer;
66 }; 66 };
67 67
68 } 68 }
69 69
70 #endif // InspectorAnimationAgent_h 70 #endif // InspectorAnimationAgent_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698