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 SampledEffect_h | 5 #ifndef SampledEffect_h |
6 #define SampledEffect_h | 6 #define SampledEffect_h |
7 | 7 |
8 #include "core/animation/Animation.h" | 8 #include "core/animation/Animation.h" |
9 #include "core/animation/AnimationPlayer.h" | 9 #include "core/animation/AnimationPlayer.h" |
10 #include "core/animation/Interpolation.h" | 10 #include "core/animation/Interpolation.h" |
(...skipping 20 matching lines...) Expand all Loading... |
31 #endif | 31 #endif |
32 | 32 |
33 void setInterpolations(PassOwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWillBeM
ember<Interpolation> > > interpolations) { m_interpolations = interpolations; } | 33 void setInterpolations(PassOwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWillBeM
ember<Interpolation> > > interpolations) { m_interpolations = interpolations; } |
34 | 34 |
35 Animation* animation() const { return m_animation; } | 35 Animation* animation() const { return m_animation; } |
36 unsigned sequenceNumber() const { return m_sequenceNumber; } | 36 unsigned sequenceNumber() const { return m_sequenceNumber; } |
37 Animation::Priority priority() const { return m_priority; } | 37 Animation::Priority priority() const { return m_priority; } |
38 | 38 |
39 void removeReplacedInterpolationsIfNeeded(const BitArray<numCSSProperties>&)
; | 39 void removeReplacedInterpolationsIfNeeded(const BitArray<numCSSProperties>&)
; |
40 | 40 |
41 void trace(Visitor*); | 41 DECLARE_TRACE(); |
42 | 42 |
43 private: | 43 private: |
44 SampledEffect(Animation*, PassOwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWill
BeMember<Interpolation> > >); | 44 SampledEffect(Animation*, PassOwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWill
BeMember<Interpolation> > >); |
45 | 45 |
46 RawPtrWillBeWeakMember<Animation> m_animation; | 46 RawPtrWillBeWeakMember<Animation> m_animation; |
47 #if !ENABLE(OILPAN) | 47 #if !ENABLE(OILPAN) |
48 RefPtr<AnimationPlayer> m_player; | 48 RefPtr<AnimationPlayer> m_player; |
49 #endif | 49 #endif |
50 OwnPtrWillBeMember<WillBeHeapVector<RefPtrWillBeMember<Interpolation>>> m_in
terpolations; | 50 OwnPtrWillBeMember<WillBeHeapVector<RefPtrWillBeMember<Interpolation>>> m_in
terpolations; |
51 const unsigned m_sequenceNumber; | 51 const unsigned m_sequenceNumber; |
52 Animation::Priority m_priority; | 52 Animation::Priority m_priority; |
53 }; | 53 }; |
54 | 54 |
55 } // namespace blink | 55 } // namespace blink |
56 | 56 |
57 #endif // SampledEffect_h | 57 #endif // SampledEffect_h |
OLD | NEW |