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

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

Issue 1276183004: Oilpan: Unship oilpan from temporary animation objects (Closed) 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 SVGStrokeDasharrayStyleInterpolation_h 5 #ifndef SVGStrokeDasharrayStyleInterpolation_h
6 #define SVGStrokeDasharrayStyleInterpolation_h 6 #define SVGStrokeDasharrayStyleInterpolation_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/animation/StyleInterpolation.h" 9 #include "core/animation/StyleInterpolation.h"
10 #include "core/css/CSSPrimitiveValue.h" 10 #include "core/css/CSSPrimitiveValue.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class CSSValueList; 14 class CSSValueList;
15 15
16 class CORE_EXPORT SVGStrokeDasharrayStyleInterpolation : public StyleInterpolati on { 16 class CORE_EXPORT SVGStrokeDasharrayStyleInterpolation : public StyleInterpolati on {
17 public: 17 public:
18 static PassRefPtrWillBeRawPtr<SVGStrokeDasharrayStyleInterpolation> maybeCre ate(const CSSValue& start, const CSSValue& end, CSSPropertyID); 18 static PassRefPtr<SVGStrokeDasharrayStyleInterpolation> maybeCreate(const CS SValue& start, const CSSValue& end, CSSPropertyID);
19 19
20 void apply(StyleResolverState&) const override; 20 void apply(StyleResolverState&) const override;
21 21
22 void trace(Visitor* visitor) override
23 {
24 StyleInterpolation::trace(visitor);
25 }
26
27 private: 22 private:
28 SVGStrokeDasharrayStyleInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValu e> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, CSSPropertyID id) 23 SVGStrokeDasharrayStyleInterpolation(PassOwnPtr<InterpolableValue> start, Pa ssOwnPtr<InterpolableValue> end, CSSPropertyID id)
29 : StyleInterpolation(start, end, id) 24 : StyleInterpolation(start, end, id)
30 { } 25 { }
31 26
32 static bool canCreateFrom(const CSSValue&); 27 static bool canCreateFrom(const CSSValue&);
33 static PassRefPtrWillBeRawPtr<CSSValueList> interpolableValueToStrokeDasharr ay(const InterpolableValue&); 28 static PassRefPtrWillBeRawPtr<CSSValueList> interpolableValueToStrokeDasharr ay(const InterpolableValue&);
34 29
35 friend class AnimationSVGStrokeDasharrayStyleInterpolationTest; 30 friend class AnimationSVGStrokeDasharrayStyleInterpolationTest;
36 }; 31 };
37 32
38 } 33 }
39 34
40 #endif // SVGStrokeDasharrayStyleInterpolation_h 35 #endif // SVGStrokeDasharrayStyleInterpolation_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698