SVGAnimatedColor.h [plain text]
#pragma once
#include "SVGAnimatedTypeAnimator.h"
namespace WebCore {
class SVGAnimatedColorAnimator final : public SVGAnimatedTypeAnimator {
public:
SVGAnimatedColorAnimator(SVGAnimationElement&, SVGElement&);
private:
std::unique_ptr<SVGAnimatedType> constructFromString(const String&) final;
std::unique_ptr<SVGAnimatedType> startAnimValAnimation(const SVGElementAnimatedPropertyList&) final { return nullptr; }
void stopAnimValAnimation(const SVGElementAnimatedPropertyList&) final { }
void resetAnimValToBaseVal(const SVGElementAnimatedPropertyList&, SVGAnimatedType&) final { }
void animValWillChange(const SVGElementAnimatedPropertyList&) final { }
void animValDidChange(const SVGElementAnimatedPropertyList&) final { }
void addAnimatedTypes(SVGAnimatedType*, SVGAnimatedType*) final;
void calculateAnimatedValue(float percentage, unsigned repeatCount, SVGAnimatedType*, SVGAnimatedType*, SVGAnimatedType*, SVGAnimatedType*) final;
float calculateDistance(const String& fromString, const String& toString) final;
};
}