| // 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 SVGIntegerOptionalIntegerInterpolationType_h |
| #define SVGIntegerOptionalIntegerInterpolationType_h |
| |
| #include "core/animation/NumberAttributeFunctions.h" |
| #include "core/animation/SVGInterpolationType.h" |
| |
| namespace blink { |
| |
| class SVGIntegerOptionalIntegerInterpolationType : public SVGInterpolationType { |
| public: |
| SVGIntegerOptionalIntegerInterpolationType(const QualifiedName& attribute) |
| : SVGInterpolationType(attribute) {} |
| |
| private: |
| InterpolationValue maybeConvertNeutral(const InterpolationValue& underlying, |
| ConversionCheckers&) const final; |
| InterpolationValue maybeConvertSVGValue( |
| const SVGPropertyBase& svgValue) const final; |
| SVGPropertyBase* appliedSVGValue(const InterpolableValue&, |
| const NonInterpolableValue*) const final; |
| }; |
| |
| } // namespace blink |
| |
| #endif // SVGIntegerOptionalIntegerInterpolationType_h |