OLD | NEW |
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 24 matching lines...) Expand all Loading... |
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 "platform/heap/Handle.h" |
38 #include "wtf/RefPtr.h" | 38 #include "wtf/RefPtr.h" |
39 | 39 |
40 namespace blink { | 40 namespace blink { |
41 | 41 |
42 class AnimationTimeline; | 42 class AnimationTimeline; |
43 class ExceptionState; | 43 class ExceptionState; |
44 | 44 |
45 class AnimationPlayer; | |
46 WILL_BE_EAGERLY_TRACED(AnimationPlayer); | |
47 | |
48 class AnimationPlayer final : public RefCountedWillBeGarbageCollectedFinalized<A
nimationPlayer> | 45 class AnimationPlayer final : public RefCountedWillBeGarbageCollectedFinalized<A
nimationPlayer> |
49 , public ActiveDOMObject | 46 , public ActiveDOMObject |
50 , public EventTargetWithInlineData { | 47 , public EventTargetWithInlineData { |
51 DEFINE_WRAPPERTYPEINFO(); | 48 DEFINE_WRAPPERTYPEINFO(); |
52 REFCOUNTED_EVENT_TARGET(AnimationPlayer); | 49 REFCOUNTED_EVENT_TARGET(AnimationPlayer); |
53 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(AnimationPlayer); | 50 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(AnimationPlayer); |
54 public: | 51 public: |
55 enum AnimationPlayState { | 52 enum AnimationPlayState { |
56 Idle, | 53 Idle, |
57 Pending, | 54 Pending, |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 OwnPtr<CompositorState> m_compositorState; | 246 OwnPtr<CompositorState> m_compositorState; |
250 bool m_compositorPending; | 247 bool m_compositorPending; |
251 int m_compositorGroup; | 248 int m_compositorGroup; |
252 | 249 |
253 bool m_currentTimePending; | 250 bool m_currentTimePending; |
254 }; | 251 }; |
255 | 252 |
256 } // namespace blink | 253 } // namespace blink |
257 | 254 |
258 #endif // AnimationPlayer_h | 255 #endif // AnimationPlayer_h |
OLD | NEW |