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/InspectorFrontend.h" | 9 #include "core/InspectorFrontend.h" |
10 #include "core/css/CSSKeyframesRule.h" | 10 #include "core/css/CSSKeyframesRule.h" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 | 59 |
60 typedef TypeBuilder::Animation::Animation::Type::Enum AnimationType; | 60 typedef TypeBuilder::Animation::Animation::Type::Enum AnimationType; |
61 | 61 |
62 PassRefPtr<TypeBuilder::Animation::Animation> buildObjectForAnimation(Animat
ion&); | 62 PassRefPtr<TypeBuilder::Animation::Animation> buildObjectForAnimation(Animat
ion&); |
63 PassRefPtr<TypeBuilder::Animation::Animation> buildObjectForAnimation(Animat
ion&, AnimationType, PassRefPtr<TypeBuilder::Animation::KeyframesRule> keyframeR
ule = nullptr); | 63 PassRefPtr<TypeBuilder::Animation::Animation> buildObjectForAnimation(Animat
ion&, AnimationType, PassRefPtr<TypeBuilder::Animation::KeyframesRule> keyframeR
ule = nullptr); |
64 double normalizedStartTime(Animation&); | 64 double normalizedStartTime(Animation&); |
65 AnimationTimeline& referenceTimeline(); | 65 AnimationTimeline& referenceTimeline(); |
66 | 66 |
67 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; | 67 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; |
68 RawPtrWillBeMember<InspectorDOMAgent> m_domAgent; | 68 RawPtrWillBeMember<InspectorDOMAgent> m_domAgent; |
69 WillBeHeapHashMap<String, RefPtrWillBeMember<Animation>> m_idToAnimation; | 69 PersistentHeapHashMapWillBeHeapHashMap<String, Member<Animation>> m_idToAnim
ation; |
70 WillBeHeapHashMap<String, AnimationType> m_idToAnimationType; | 70 WillBeHeapHashMap<String, AnimationType> m_idToAnimationType; |
71 double m_latestStartTime; | 71 double m_latestStartTime; |
72 }; | 72 }; |
73 | 73 |
74 } | 74 } |
75 | 75 |
76 #endif // InspectorAnimationAgent_h | 76 #endif // InspectorAnimationAgent_h |
OLD | NEW |