Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Side by Side Diff: third_party/WebKit/Source/core/animation/SampledEffect.h

Issue 1420553004: SVG Web Animations: Add compositing pipeline for SVGInterpolationTypes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_svgValueInterpolationType
Patch Set: Fix oilpan and assert hit Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698