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

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

Issue 2159633002: [DevTools] Generate public versions of protocol classes to be exposed in v8_inspector/public. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed extra files Created 4 years, 4 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
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/animation/Animation.h" 9 #include "core/animation/Animation.h"
10 #include "core/css/CSSKeyframesRule.h" 10 #include "core/css/CSSKeyframesRule.h"
(...skipping 24 matching lines...) Expand all
35 // Protocol method implementations 35 // Protocol method implementations
36 void enable(ErrorString*) override; 36 void enable(ErrorString*) override;
37 void disable(ErrorString*) override; 37 void disable(ErrorString*) override;
38 void getPlaybackRate(ErrorString*, double* playbackRate) override; 38 void getPlaybackRate(ErrorString*, double* playbackRate) override;
39 void setPlaybackRate(ErrorString*, double playbackRate) override; 39 void setPlaybackRate(ErrorString*, double playbackRate) override;
40 void getCurrentTime(ErrorString*, const String& id, double* currentTime) ove rride; 40 void getCurrentTime(ErrorString*, const String& id, double* currentTime) ove rride;
41 void setPaused(ErrorString*, std::unique_ptr<protocol::Array<String>> animat ions, bool paused) override; 41 void setPaused(ErrorString*, std::unique_ptr<protocol::Array<String>> animat ions, bool paused) override;
42 void setTiming(ErrorString*, const String& animationId, double duration, dou ble delay) override; 42 void setTiming(ErrorString*, const String& animationId, double duration, dou ble delay) override;
43 void seekAnimations(ErrorString*, std::unique_ptr<protocol::Array<String>> a nimations, double currentTime) override; 43 void seekAnimations(ErrorString*, std::unique_ptr<protocol::Array<String>> a nimations, double currentTime) override;
44 void releaseAnimations(ErrorString*, std::unique_ptr<protocol::Array<String> > animations) override; 44 void releaseAnimations(ErrorString*, std::unique_ptr<protocol::Array<String> > animations) override;
45 void resolveAnimation(ErrorString*, const String& animationId, std::unique_p tr<protocol::Runtime::RemoteObject>*) override; 45 void resolveAnimation(ErrorString*, const String& animationId, std::unique_p tr<protocol::Runtime::API::RemoteObject>*) override;
46 46
47 // API for InspectorInstrumentation 47 // API for InspectorInstrumentation
48 void didCreateAnimation(unsigned); 48 void didCreateAnimation(unsigned);
49 void animationPlayStateChanged(blink::Animation*, blink::Animation::Animatio nPlayState, blink::Animation::AnimationPlayState); 49 void animationPlayStateChanged(blink::Animation*, blink::Animation::Animatio nPlayState, blink::Animation::AnimationPlayState);
50 void didClearDocumentOfWindowObject(LocalFrame*); 50 void didClearDocumentOfWindowObject(LocalFrame*);
51 51
52 // Methods for other agents to use. 52 // Methods for other agents to use.
53 blink::Animation* assertAnimation(ErrorString*, const String& id); 53 blink::Animation* assertAnimation(ErrorString*, const String& id);
54 54
55 DECLARE_VIRTUAL_TRACE(); 55 DECLARE_VIRTUAL_TRACE();
(...skipping 15 matching lines...) Expand all
71 HeapHashMap<String, Member<blink::Animation>> m_idToAnimation; 71 HeapHashMap<String, Member<blink::Animation>> m_idToAnimation;
72 HeapHashMap<String, Member<blink::Animation>> m_idToAnimationClone; 72 HeapHashMap<String, Member<blink::Animation>> m_idToAnimationClone;
73 HashMap<String, String> m_idToAnimationType; 73 HashMap<String, String> m_idToAnimationType;
74 bool m_isCloning; 74 bool m_isCloning;
75 HashSet<String> m_clearedAnimations; 75 HashSet<String> m_clearedAnimations;
76 }; 76 };
77 77
78 } // namespace blink 78 } // namespace blink
79 79
80 #endif // InspectorAnimationAgent_h 80 #endif // InspectorAnimationAgent_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698