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/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" |
11 #include "wtf/PassOwnPtr.h" | 11 #include "wtf/PassOwnPtr.h" |
12 #include "wtf/text/WTFString.h" | 12 #include "wtf/text/WTFString.h" |
13 | 13 |
14 namespace blink { | 14 namespace blink { |
15 | 15 |
16 class Animation; | |
17 class AnimationNode; | 16 class AnimationNode; |
18 class AnimationPlayer; | 17 class AnimationPlayer; |
19 class Element; | 18 class Element; |
20 class InspectorDOMAgent; | 19 class InspectorDOMAgent; |
21 class StringKeyframe; | |
22 | 20 |
23 class InspectorAnimationAgent final : public InspectorBaseAgent<InspectorAnimati
onAgent>, public InspectorBackendDispatcher::AnimationCommandHandler { | 21 class InspectorAnimationAgent final : public InspectorBaseAgent<InspectorAnimati
onAgent>, public InspectorBackendDispatcher::AnimationCommandHandler { |
24 WTF_MAKE_NONCOPYABLE(InspectorAnimationAgent); | 22 WTF_MAKE_NONCOPYABLE(InspectorAnimationAgent); |
25 public: | 23 public: |
26 static PassOwnPtrWillBeRawPtr<InspectorAnimationAgent> create(InspectorDOMAg
ent* domAgent) | 24 static PassOwnPtrWillBeRawPtr<InspectorAnimationAgent> create(InspectorDOMAg
ent* domAgent) |
27 { | 25 { |
28 return adoptPtrWillBeNoop(new InspectorAnimationAgent(domAgent)); | 26 return adoptPtrWillBeNoop(new InspectorAnimationAgent(domAgent)); |
29 } | 27 } |
30 | 28 |
31 // Base agent methods. | 29 // Base agent methods. |
(...skipping 21 matching lines...) Expand all Loading... |
53 PassRefPtr<TypeBuilder::Array<TypeBuilder::Animation::AnimationPlayer> > bui
ldArrayForAnimationPlayers(Element&, const WillBeHeapVector<RefPtrWillBeMember<A
nimationPlayer> >); | 51 PassRefPtr<TypeBuilder::Array<TypeBuilder::Animation::AnimationPlayer> > bui
ldArrayForAnimationPlayers(Element&, const WillBeHeapVector<RefPtrWillBeMember<A
nimationPlayer> >); |
54 | 52 |
55 RawPtrWillBeMember<InspectorDOMAgent> m_domAgent; | 53 RawPtrWillBeMember<InspectorDOMAgent> m_domAgent; |
56 InspectorFrontend::Animation* m_frontend; | 54 InspectorFrontend::Animation* m_frontend; |
57 WillBeHeapHashMap<String, RefPtrWillBeMember<AnimationPlayer> > m_idToAnimat
ionPlayer; | 55 WillBeHeapHashMap<String, RefPtrWillBeMember<AnimationPlayer> > m_idToAnimat
ionPlayer; |
58 }; | 56 }; |
59 | 57 |
60 } | 58 } |
61 | 59 |
62 #endif // InspectorAnimationAgent_h | 60 #endif // InspectorAnimationAgent_h |
OLD | NEW |