Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / Source / core / animation / TransformSVGInterpolation.h
blob67dfa4e4f26007bb4912dc272001d2b70cbf8fc9
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
3 // found in the LICENSE file.
5 #ifndef TransformSVGInterpolation_h
6 #define TransformSVGInterpolation_h
8 #include "core/animation/SVGInterpolation.h"
9 #include "core/svg/SVGTransformList.h"
10 #include "wtf/Allocator.h"
12 namespace blink {
14 class TransformSVGInterpolation {
15 STATIC_ONLY(TransformSVGInterpolation);
16 public:
17 typedef SVGTransformList ListType;
18 typedef SVGTransformType NonInterpolableType;
20 static bool canCreateFrom(SVGTransform* start, SVGTransform* end);
22 static PassRefPtrWillBeRawPtr<SVGTransformList> createList(const SVGAnimatedPropertyBase&)
24 return SVGTransformList::create();
27 static PassOwnPtr<InterpolableValue> toInterpolableValue(SVGTransform*, const SVGAnimatedPropertyBase*, SVGTransformType*);
29 static PassRefPtrWillBeRawPtr<SVGTransform> fromInterpolableValue(const InterpolableValue&, SVGTransformType, const SVGElement*);
34 #endif // TransformSVGInterpolation_h