Index: third_party/WebKit/Source/core/animation/SVGLengthInterpolationType.h |
diff --git a/third_party/WebKit/Source/core/animation/SVGLengthInterpolationType.h b/third_party/WebKit/Source/core/animation/SVGLengthInterpolationType.h |
index d9b42ce52d7174b634bb4317b3884207bf64c145..7332db53fd7be156076ed6b2f58d38df82cba2ee 100644 |
--- a/third_party/WebKit/Source/core/animation/SVGLengthInterpolationType.h |
+++ b/third_party/WebKit/Source/core/animation/SVGLengthInterpolationType.h |
@@ -6,7 +6,6 @@ |
#define SVGLengthInterpolationType_h |
#include "core/animation/SVGInterpolationType.h" |
- |
#include "core/svg/SVGLength.h" |
namespace blink { |
@@ -22,11 +21,14 @@ public: |
, m_negativeValuesForbidden(SVGLength::negativeValuesForbiddenForAnimatedLengthAttribute(attribute)) |
{ } |
+ static PassOwnPtr<InterpolableValue> neutralInterpolableValue(); |
+ static InterpolationComponent convertSVGLength(const SVGLength&); |
+ static PassRefPtrWillBeRawPtr<SVGLength> resolveInterpolableSVGLength(const InterpolableValue&, const SVGLengthContext&, SVGLengthMode, bool negativeValuesForbidden); |
+ |
private: |
PassOwnPtr<InterpolationValue> maybeConvertNeutral(const UnderlyingValue&, ConversionCheckers&) const final; |
PassOwnPtr<InterpolationValue> maybeConvertSVGValue(const SVGPropertyBase& svgValue) const final; |
PassRefPtrWillBeRawPtr<SVGPropertyBase> appliedSVGValue(const InterpolableValue&, const NonInterpolableValue*) const final; |
- PassRefPtrWillBeRawPtr<SVGPropertyBase> appliedSVGValue(const InterpolableValue&, const NonInterpolableValue*, const SVGLengthContext&) const; |
void apply(const InterpolableValue&, const NonInterpolableValue*, InterpolationEnvironment&) const final; |
const SVGLengthMode m_unitMode; |