| 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 "sky/engine/core/animation/Animation.h" |
| 9 #include "core/animation/AnimationPlayer.h" | 9 #include "sky/engine/core/animation/AnimationPlayer.h" |
| 10 #include "core/animation/Interpolation.h" | 10 #include "sky/engine/core/animation/Interpolation.h" |
| 11 #include "wtf/BitArray.h" | 11 #include "sky/engine/wtf/BitArray.h" |
| 12 #include "wtf/Vector.h" | 12 #include "sky/engine/wtf/Vector.h" |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 class SampledEffect { | 16 class SampledEffect { |
| 17 public: | 17 public: |
| 18 static PassOwnPtr<SampledEffect> create(Animation* animation, PassOwnPtr<Vec
tor<RefPtr<Interpolation> > > interpolations) | 18 static PassOwnPtr<SampledEffect> create(Animation* animation, PassOwnPtr<Vec
tor<RefPtr<Interpolation> > > interpolations) |
| 19 { | 19 { |
| 20 return adoptPtr(new SampledEffect(animation, interpolations)); | 20 return adoptPtr(new SampledEffect(animation, interpolations)); |
| 21 } | 21 } |
| 22 | 22 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 40 RefPtr<AnimationPlayer> m_player; | 40 RefPtr<AnimationPlayer> m_player; |
| 41 #endif | 41 #endif |
| 42 OwnPtr<Vector<RefPtr<Interpolation> > > m_interpolations; | 42 OwnPtr<Vector<RefPtr<Interpolation> > > m_interpolations; |
| 43 const unsigned m_sequenceNumber; | 43 const unsigned m_sequenceNumber; |
| 44 Animation::Priority m_priority; | 44 Animation::Priority m_priority; |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 } // namespace blink | 47 } // namespace blink |
| 48 | 48 |
| 49 #endif | 49 #endif |
| OLD | NEW |