| 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/Interpolation.h" | 9 #include "core/animation/Interpolation.h" |
| 10 #include "core/animation/KeyframeEffect.h" | 10 #include "core/animation/KeyframeEffect.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 const Vector<RefPtr<Interpolation>>& interpolations() const { return m_inter
polations; } | 31 const Vector<RefPtr<Interpolation>>& interpolations() const { return m_inter
polations; } |
| 32 Vector<RefPtr<Interpolation>>& mutableInterpolations() { return m_interpolat
ions; } | 32 Vector<RefPtr<Interpolation>>& mutableInterpolations() { return m_interpolat
ions; } |
| 33 | 33 |
| 34 KeyframeEffect* effect() const { return m_effect; } | 34 KeyframeEffect* effect() const { return m_effect; } |
| 35 unsigned sequenceNumber() const { return m_sequenceNumber; } | 35 unsigned sequenceNumber() const { return m_sequenceNumber; } |
| 36 KeyframeEffect::Priority priority() const { return m_priority; } | 36 KeyframeEffect::Priority priority() const { return m_priority; } |
| 37 | 37 |
| 38 DECLARE_TRACE(); | 38 DECLARE_TRACE(); |
| 39 | 39 |
| 40 void applySVGUpdate(SVGElement&); | |
| 41 | |
| 42 private: | 40 private: |
| 43 SampledEffect(KeyframeEffect*); | 41 SampledEffect(KeyframeEffect*); |
| 44 | 42 |
| 45 WeakMember<KeyframeEffect> m_effect; | 43 WeakMember<KeyframeEffect> m_effect; |
| 46 Member<Animation> m_animation; | 44 Member<Animation> m_animation; |
| 47 Vector<RefPtr<Interpolation>> m_interpolations; | 45 Vector<RefPtr<Interpolation>> m_interpolations; |
| 48 const unsigned m_sequenceNumber; | 46 const unsigned m_sequenceNumber; |
| 49 KeyframeEffect::Priority m_priority; | 47 KeyframeEffect::Priority m_priority; |
| 50 }; | 48 }; |
| 51 | 49 |
| 52 } // namespace blink | 50 } // namespace blink |
| 53 | 51 |
| 54 #endif // SampledEffect_h | 52 #endif // SampledEffect_h |
| OLD | NEW |