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

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

Issue 1120003002: [Oilpan] Migrate most classes under core/animations to Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Resize expect size of Persistent Created 5 years, 6 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/InspectorFrontend.h" 9 #include "core/InspectorFrontend.h"
10 #include "core/css/CSSKeyframesRule.h" 10 #include "core/css/CSSKeyframesRule.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 DECLARE_VIRTUAL_TRACE(); 56 DECLARE_VIRTUAL_TRACE();
57 57
58 private: 58 private:
59 InspectorAnimationAgent(InspectorPageAgent*, InspectorDOMAgent*); 59 InspectorAnimationAgent(InspectorPageAgent*, InspectorDOMAgent*);
60 60
61 typedef TypeBuilder::Animation::AnimationPlayer::Type::Enum AnimationType; 61 typedef TypeBuilder::Animation::AnimationPlayer::Type::Enum AnimationType;
62 62
63 PassRefPtr<TypeBuilder::Animation::AnimationPlayer> buildObjectForAnimationP layer(Animation&); 63 PassRefPtr<TypeBuilder::Animation::AnimationPlayer> buildObjectForAnimationP layer(Animation&);
64 PassRefPtr<TypeBuilder::Animation::AnimationPlayer> buildObjectForAnimationP layer(Animation&, AnimationType, PassRefPtr<TypeBuilder::Animation::KeyframesRul e> keyframeRule = nullptr); 64 PassRefPtr<TypeBuilder::Animation::AnimationPlayer> buildObjectForAnimationP layer(Animation&, AnimationType, PassRefPtr<TypeBuilder::Animation::KeyframesRul e> keyframeRule = nullptr);
65 PassRefPtr<TypeBuilder::Array<TypeBuilder::Animation::AnimationPlayer>> buil dArrayForAnimations(Element&, const WillBeHeapVector<RefPtrWillBeMember<Animatio n>>); 65 PassRefPtr<TypeBuilder::Array<TypeBuilder::Animation::AnimationPlayer>> buil dArrayForAnimations(Element&, const HeapVector<Member<Animation>>);
66 double normalizedStartTime(Animation&); 66 double normalizedStartTime(Animation&);
67 AnimationTimeline& referenceTimeline(); 67 AnimationTimeline& referenceTimeline();
68 68
69 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; 69 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent;
70 RawPtrWillBeMember<InspectorDOMAgent> m_domAgent; 70 RawPtrWillBeMember<InspectorDOMAgent> m_domAgent;
71 WillBeHeapHashMap<String, RefPtrWillBeMember<Animation>> m_idToAnimation; 71 PersistentHeapHashMapWillBeHeapHashMap<String, Member<Animation>> m_idToAnim ation;
72 WillBeHeapHashMap<String, AnimationType> m_idToAnimationType; 72 WillBeHeapHashMap<String, AnimationType> m_idToAnimationType;
73 double m_latestStartTime; 73 double m_latestStartTime;
74 }; 74 };
75 75
76 } 76 }
77 77
78 #endif // InspectorAnimationAgent_h 78 #endif // InspectorAnimationAgent_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698