| 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/Interpolation.h" | 10 #include "core/animation/Interpolation.h" |
| 11 #include "wtf/BitArray.h" | 11 #include "wtf/BitArray.h" |
| 12 #include "wtf/Vector.h" | 12 #include "wtf/Vector.h" |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 class SampledEffect : public NoBaseWillBeGarbageCollected<SampledEffect> { | 16 class SampledEffect : public NoBaseWillBeGarbageCollected<SampledEffect> { |
| 17 public: | 17 public: |
| 18 static PassOwnPtrWillBeRawPtr<SampledEffect> create(Animation* animation, Pa
ssOwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWillBeMember<Interpolation> > > inte
rpolations) | 18 static PassOwnPtrWillBeRawPtr<SampledEffect> create(Animation* animation, Pa
ssOwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWillBeMember<Interpolation> > > inte
rpolations) |
| 19 { | 19 { |
| 20 return adoptPtrWillBeNoop(new SampledEffect(animation, interpolations)); | 20 return adoptPtrWillBeNoop(new SampledEffect(animation, interpolations)); |
| (...skipping 21 matching lines...) Expand all Loading... |
| 42 RefPtr<AnimationPlayer> m_player; | 42 RefPtr<AnimationPlayer> m_player; |
| 43 #endif | 43 #endif |
| 44 OwnPtrWillBeMember<WillBeHeapVector<RefPtrWillBeMember<Interpolation> > > m_
interpolations; | 44 OwnPtrWillBeMember<WillBeHeapVector<RefPtrWillBeMember<Interpolation> > > m_
interpolations; |
| 45 AnimationPlayer::SortInfo m_playerSortInfo; | 45 AnimationPlayer::SortInfo m_playerSortInfo; |
| 46 Animation::Priority m_priority; | 46 Animation::Priority m_priority; |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 } // namespace blink | 49 } // namespace blink |
| 50 | 50 |
| 51 #endif | 51 #endif |
| OLD | NEW |