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

Side by Side Diff: Source/core/animation/AnimationPlayer.h

Issue 758533004: Oilpan: enable eager tracing of common animation objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@sof-trace-eager-final
Patch Set: rebased Created 6 years 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
« no previous file with comments | « Source/core/animation/AnimationNode.h ('k') | Source/core/animation/AnimationStack.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 16 matching lines...) Expand all
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef AnimationPlayer_h 31 #ifndef AnimationPlayer_h
32 #define AnimationPlayer_h 32 #define AnimationPlayer_h
33 33
34 #include "core/animation/AnimationNode.h" 34 #include "core/animation/AnimationNode.h"
35 #include "core/dom/ActiveDOMObject.h" 35 #include "core/dom/ActiveDOMObject.h"
36 #include "core/events/EventTarget.h" 36 #include "core/events/EventTarget.h"
37 #include "platform/heap/Handle.h"
37 #include "wtf/RefPtr.h" 38 #include "wtf/RefPtr.h"
38 39
39 namespace blink { 40 namespace blink {
40 41
41 class AnimationTimeline; 42 class AnimationTimeline;
42 class ExceptionState; 43 class ExceptionState;
43 44
45 class AnimationPlayer;
46 WILL_BE_EAGERLY_TRACED(AnimationPlayer);
47
44 class AnimationPlayer final : public RefCountedWillBeGarbageCollectedFinalized<A nimationPlayer> 48 class AnimationPlayer final : public RefCountedWillBeGarbageCollectedFinalized<A nimationPlayer>
45 , public ActiveDOMObject 49 , public ActiveDOMObject
46 , public EventTargetWithInlineData { 50 , public EventTargetWithInlineData {
47 DEFINE_WRAPPERTYPEINFO(); 51 DEFINE_WRAPPERTYPEINFO();
48 REFCOUNTED_EVENT_TARGET(AnimationPlayer); 52 REFCOUNTED_EVENT_TARGET(AnimationPlayer);
49 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(AnimationPlayer); 53 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(AnimationPlayer);
50 public: 54 public:
51 enum AnimationPlayState { 55 enum AnimationPlayState {
52 Idle, 56 Idle,
53 Pending, 57 Pending,
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 // This mirrors the known compositor state. It is created when a compositor 245 // This mirrors the known compositor state. It is created when a compositor
242 // animation is started. Updated once the start time is known and each time 246 // animation is started. Updated once the start time is known and each time
243 // modifications are pushed to the compositor. 247 // modifications are pushed to the compositor.
244 OwnPtr<CompositorState> m_compositorState; 248 OwnPtr<CompositorState> m_compositorState;
245 bool m_compositorPending; 249 bool m_compositorPending;
246 bool m_currentTimePending; 250 bool m_currentTimePending;
247 }; 251 };
248 252
249 } // namespace blink 253 } // namespace blink
250 254
251 #endif 255 #endif // AnimationPlayer_h
OLDNEW
« no previous file with comments | « Source/core/animation/AnimationNode.h ('k') | Source/core/animation/AnimationStack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698