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

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

Issue 1120003002: [Oilpan] Migrate most classes under core/animations to Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 4 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
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 SVGStrokeDasharrayStyleInterpolation* maybeCreate(const CSSValue& sta rt, 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 22 void trace(Visitor* visitor) override
23 { 23 {
24 StyleInterpolation::trace(visitor); 24 StyleInterpolation::trace(visitor);
25 } 25 }
26 26
27 private: 27 private:
28 SVGStrokeDasharrayStyleInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValu e> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, CSSPropertyID id) 28 SVGStrokeDasharrayStyleInterpolation(InterpolableValue* start, InterpolableV alue* end, CSSPropertyID id)
29 : StyleInterpolation(start, end, id) 29 : StyleInterpolation(start, end, id)
30 { } 30 { }
31 31
32 static bool canCreateFrom(const CSSValue&); 32 static bool canCreateFrom(const CSSValue&);
33 static PassRefPtrWillBeRawPtr<CSSValueList> interpolableValueToStrokeDasharr ay(const InterpolableValue&); 33 static PassRefPtrWillBeRawPtr<CSSValueList> interpolableValueToStrokeDasharr ay(const InterpolableValue&);
34 34
35 friend class AnimationSVGStrokeDasharrayStyleInterpolationTest; 35 friend class AnimationSVGStrokeDasharrayStyleInterpolationTest;
36 }; 36 };
37 37
38 } 38 }
39 39
40 #endif // SVGStrokeDasharrayStyleInterpolation_h 40 #endif // SVGStrokeDasharrayStyleInterpolation_h
OLDNEW
« no previous file with comments | « Source/core/animation/SVGInterpolation.h ('k') | Source/core/animation/SVGStrokeDasharrayStyleInterpolation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698