| OLD | NEW |
| (Empty) |
| 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. | |
| 4 | |
| 5 #ifndef DefaultSVGInterpolation_h | |
| 6 #define DefaultSVGInterpolation_h | |
| 7 | |
| 8 #include "core/animation/SVGInterpolation.h" | |
| 9 | |
| 10 namespace blink { | |
| 11 | |
| 12 class DefaultSVGInterpolation : public SVGInterpolation { | |
| 13 public: | |
| 14 static PassRefPtr<DefaultSVGInterpolation> create(SVGPropertyBase* start, SV
GPropertyBase* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute) | |
| 15 { | |
| 16 return adoptRef(new DefaultSVGInterpolation(start, end, attribute)); | |
| 17 } | |
| 18 | |
| 19 PassRefPtrWillBeRawPtr<SVGPropertyBase> interpolatedValue(SVGElement&) const
final; | |
| 20 | |
| 21 private: | |
| 22 DefaultSVGInterpolation(SVGPropertyBase* start, SVGPropertyBase* end, PassRe
fPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute); | |
| 23 | |
| 24 RefPtrWillBePersistent<SVGPropertyBase> m_start; | |
| 25 RefPtrWillBePersistent<SVGPropertyBase> m_end; | |
| 26 }; | |
| 27 | |
| 28 } | |
| 29 | |
| 30 #endif // DefaultSVGInterpolation_h | |
| OLD | NEW |