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

Unified Diff: Source/core/animation/SVGLengthStyleInterpolation.h

Issue 983103003: Use Length for the stroke-width property in SVGLayoutStyle (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: lengthSetterForProperty Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/animation/SVGLengthStyleInterpolation.h
diff --git a/Source/core/animation/SVGLengthStyleInterpolation.h b/Source/core/animation/SVGLengthStyleInterpolation.h
deleted file mode 100644
index 16a6c12ac3336a6c51a437d5d55ac7f870921aee..0000000000000000000000000000000000000000
--- a/Source/core/animation/SVGLengthStyleInterpolation.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef SVGLengthStyleInterpolation_h
-#define SVGLengthStyleInterpolation_h
-
-#include "core/animation/StyleInterpolation.h"
-#include "core/css/CSSPrimitiveValue.h"
-#include "platform/Length.h"
-
-namespace blink {
-
-class SVGLengthStyleInterpolation : public StyleInterpolation {
-public:
- static PassRefPtrWillBeRawPtr<SVGLengthStyleInterpolation> maybeCreate(const CSSValue& start, const CSSValue& end, CSSPropertyID, InterpolationRange);
-
- virtual void apply(StyleResolverState&) const override;
-
- DEFINE_INLINE_VIRTUAL_TRACE()
- {
- StyleInterpolation::trace(visitor);
- }
-
-private:
- SVGLengthStyleInterpolation(const CSSPrimitiveValue& start, const CSSPrimitiveValue& end, CSSPropertyID, CSSPrimitiveValue::UnitType, InterpolationRange);
-
- static bool canCreateFrom(const CSSValue&);
- static CSSPrimitiveValue::UnitType commonUnitType(const CSSPrimitiveValue& start, const CSSPrimitiveValue& end);
- static PassOwnPtrWillBeRawPtr<InterpolableValue> lengthToInterpolableValue(const CSSPrimitiveValue&);
- static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> interpolableValueToLength(const InterpolableValue&, CSSPrimitiveValue::UnitType, InterpolationRange);
-
- CSSPrimitiveValue::UnitType m_type;
- InterpolationRange m_range;
-
- friend class AnimationSVGLengthStyleInterpolationTest;
- friend class SVGStrokeDasharrayStyleInterpolation;
-};
-
-}
-
-#endif // SVGLengthStyleInterpolation_h
« no previous file with comments | « Source/core/animation/LengthStyleInterpolation.cpp ('k') | Source/core/animation/SVGLengthStyleInterpolation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698