blob: 273b17b336c0cc7853202fd5d74b7efcfbc990db [file] [log] [blame]
// 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 SVGTransformListInterpolationType_h
#define SVGTransformListInterpolationType_h
#include "core/animation/SVGInterpolationType.h"
#include "core/svg/SVGTransform.h"
namespace blink {
class SVGTransformListInterpolationType : public SVGInterpolationType {
public:
SVGTransformListInterpolationType(const QualifiedName& attribute)
: SVGInterpolationType(attribute)
{ }
private:
PassOwnPtr<InterpolationValue> maybeConvertSVGValue(const SVGPropertyBase& svgValue) const final;
PassOwnPtr<InterpolationValue> maybeConvertSingle(const PropertySpecificKeyframe&, const InterpolationEnvironment&, const UnderlyingValue&, ConversionCheckers&) const final;
PassRefPtrWillBeRawPtr<SVGPropertyBase> appliedSVGValue(const InterpolableValue&, const NonInterpolableValue*) const final;
PassOwnPtr<PairwisePrimitiveInterpolation> mergeSingleConversions(InterpolationValue& startValue, InterpolationValue& endValue) const final;
void composite(UnderlyingValue&, double, const InterpolationValue&) const final;
};
} // namespace blink
#endif // SVGTransformListInterpolationType_h