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/KeyframeEffectReadOnly.h" | 10 #include "core/animation/KeyframeEffectReadOnly.h" |
11 #include "wtf/Allocator.h" | 11 #include "wtf/Allocator.h" |
12 #include "wtf/Vector.h" | 12 #include "wtf/Vector.h" |
13 | 13 |
14 namespace blink { | 14 namespace blink { |
15 | 15 |
16 class SVGElement; | |
17 | 16 |
haraken
2016/10/31 16:55:38
Remove the redundant empty line. The same comment
| |
18 // Associates the results of sampling an EffectModel with metadata used for | 17 // Associates the results of sampling an EffectModel with metadata used for |
19 // effect ordering and managing composited animations. | 18 // effect ordering and managing composited animations. |
20 class SampledEffect : public GarbageCollectedFinalized<SampledEffect> { | 19 class SampledEffect : public GarbageCollectedFinalized<SampledEffect> { |
21 WTF_MAKE_NONCOPYABLE(SampledEffect); | 20 WTF_MAKE_NONCOPYABLE(SampledEffect); |
22 | 21 |
23 public: | 22 public: |
24 static SampledEffect* create(KeyframeEffectReadOnly* animation) { | 23 static SampledEffect* create(KeyframeEffectReadOnly* animation) { |
25 return new SampledEffect(animation); | 24 return new SampledEffect(animation); |
26 } | 25 } |
27 | 26 |
(...skipping 20 matching lines...) Expand all Loading... | |
48 | 47 |
49 WeakMember<KeyframeEffectReadOnly> m_effect; | 48 WeakMember<KeyframeEffectReadOnly> m_effect; |
50 Vector<RefPtr<Interpolation>> m_interpolations; | 49 Vector<RefPtr<Interpolation>> m_interpolations; |
51 const unsigned m_sequenceNumber; | 50 const unsigned m_sequenceNumber; |
52 KeyframeEffectReadOnly::Priority m_priority; | 51 KeyframeEffectReadOnly::Priority m_priority; |
53 }; | 52 }; |
54 | 53 |
55 } // namespace blink | 54 } // namespace blink |
56 | 55 |
57 #endif // SampledEffect_h | 56 #endif // SampledEffect_h |
OLD | NEW |