OLD | NEW |
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" |
11 #include "core/inspector/InspectorBaseAgent.h" | 11 #include "core/inspector/InspectorBaseAgent.h" |
12 #include "core/inspector/protocol/Animation.h" | 12 #include "core/inspector/protocol/Animation.h" |
13 #include "wtf/text/WTFString.h" | 13 #include "wtf/text/WTFString.h" |
14 | 14 |
15 #include <v8-inspector.h> | 15 #include <v8-inspector.h> |
16 | 16 |
17 namespace blink { | 17 namespace blink { |
18 | 18 |
19 class AnimationNode; | |
20 class AnimationTimeline; | 19 class AnimationTimeline; |
21 class Element; | |
22 class InspectedFrames; | 20 class InspectedFrames; |
23 class InspectorCSSAgent; | 21 class InspectorCSSAgent; |
24 class InspectorDOMAgent; | 22 class InspectorDOMAgent; |
25 class TimingFunction; | |
26 | 23 |
27 class CORE_EXPORT InspectorAnimationAgent final | 24 class CORE_EXPORT InspectorAnimationAgent final |
28 : public InspectorBaseAgent<protocol::Animation::Metainfo> { | 25 : public InspectorBaseAgent<protocol::Animation::Metainfo> { |
29 WTF_MAKE_NONCOPYABLE(InspectorAnimationAgent); | 26 WTF_MAKE_NONCOPYABLE(InspectorAnimationAgent); |
30 | 27 |
31 public: | 28 public: |
32 InspectorAnimationAgent(InspectedFrames*, | 29 InspectorAnimationAgent(InspectedFrames*, |
33 InspectorDOMAgent*, | 30 InspectorDOMAgent*, |
34 InspectorCSSAgent*, | 31 InspectorCSSAgent*, |
35 v8_inspector::V8InspectorSession*); | 32 v8_inspector::V8InspectorSession*); |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 HeapHashMap<String, Member<blink::Animation>> m_idToAnimation; | 96 HeapHashMap<String, Member<blink::Animation>> m_idToAnimation; |
100 HeapHashMap<String, Member<blink::Animation>> m_idToAnimationClone; | 97 HeapHashMap<String, Member<blink::Animation>> m_idToAnimationClone; |
101 HashMap<String, String> m_idToAnimationType; | 98 HashMap<String, String> m_idToAnimationType; |
102 bool m_isCloning; | 99 bool m_isCloning; |
103 HashSet<String> m_clearedAnimations; | 100 HashSet<String> m_clearedAnimations; |
104 }; | 101 }; |
105 | 102 |
106 } // namespace blink | 103 } // namespace blink |
107 | 104 |
108 #endif // InspectorAnimationAgent_h | 105 #endif // InspectorAnimationAgent_h |
OLD | NEW |