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

Side by Side Diff: Source/core/animation/PathSVGInterpolation.h

Issue 1305383006: Oilpan: Unship CSSValues and AnimatableValues Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 months 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 PathSVGInterpolation_h 5 #ifndef PathSVGInterpolation_h
6 #define PathSVGInterpolation_h 6 #define PathSVGInterpolation_h
7 7
8 #include "core/animation/SVGInterpolation.h" 8 #include "core/animation/SVGInterpolation.h"
9 #include "core/svg/SVGPathSegList.h" 9 #include "core/svg/SVGPathSegList.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 class PathSVGInterpolation : public SVGInterpolation { 13 class PathSVGInterpolation : public SVGInterpolation {
14 public: 14 public:
15 static PassRefPtrWillBeRawPtr<PathSVGInterpolation> maybeCreate(SVGPropertyB ase* start, SVGPropertyBase* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase > attribute); 15 static PassRefPtrWillBeRawPtr<PathSVGInterpolation> maybeCreate(SVGPropertyB ase* start, SVGPropertyBase* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase > attribute);
16 16
17 PassRefPtrWillBeRawPtr<SVGPropertyBase> interpolatedValue(SVGElement&) const final; 17 PassRefPtrWillBeRawPtr<SVGPropertyBase> interpolatedValue(SVGElement&) const final;
18 18
19 DEFINE_INLINE_VIRTUAL_TRACE() 19 DEFINE_INLINE_VIRTUAL_TRACE()
20 { 20 {
21 SVGInterpolation::trace(visitor); 21 SVGInterpolation::trace(visitor);
22 } 22 }
23 23
24 private: 24 private:
25 PathSVGInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOw nPtrWillBeRawPtr<InterpolableValue> end, PassRefPtrWillBeRawPtr<SVGAnimatedPrope rtyBase> attribute, 25 PathSVGInterpolation(PassOwnPtr<InterpolableValue> start, PassOwnPtr<Interpo lableValue> end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute,
26 Vector<SVGPathSegType> pathSegTypes) 26 Vector<SVGPathSegType> pathSegTypes)
27 : SVGInterpolation(start, end, attribute) 27 : SVGInterpolation(start, end, attribute)
28 { 28 {
29 m_pathSegTypes.swap(pathSegTypes); 29 m_pathSegTypes.swap(pathSegTypes);
30 } 30 }
31 31
32 static PassRefPtrWillBeRawPtr<SVGPropertyBase> fromInterpolableValue(const I nterpolableValue&, const Vector<SVGPathSegType>&, SVGPathElement*); 32 static PassRefPtrWillBeRawPtr<SVGPropertyBase> fromInterpolableValue(const I nterpolableValue&, const Vector<SVGPathSegType>&, SVGPathElement*);
33 33
34 Vector<SVGPathSegType> m_pathSegTypes; 34 Vector<SVGPathSegType> m_pathSegTypes;
35 }; 35 };
36 36
37 } 37 }
38 38
39 #endif // NumberSVGInterpolation_h 39 #endif // NumberSVGInterpolation_h
OLDNEW
« no previous file with comments | « Source/core/animation/NumberSVGInterpolation.h ('k') | Source/core/animation/PathSVGInterpolation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698