#ifndef SVGFEColorMatrixElement_h
#define SVGFEColorMatrixElement_h
#include "core/svg/SVGAnimatedEnumeration.h"
#include "core/svg/SVGAnimatedNumberList.h"
#include "core/svg/SVGFilterPrimitiveStandardAttributes.h"
#include "platform/graphics/filters/FEColorMatrix.h"
namespace WebCore {
template<> const SVGEnumerationStringEntries& getStaticStringEntries<ColorMatrixType>();
class SVGFEColorMatrixElement FINAL : public SVGFilterPrimitiveStandardAttributes {
public:
static PassRefPtr<SVGFEColorMatrixElement> create(Document&);
SVGAnimatedNumberList* values() { return m_values.get(); }
SVGAnimatedString* in1() { return m_in1.get(); }
SVGAnimatedEnumeration<ColorMatrixType>* type() { return m_type.get(); }
private:
explicit SVGFEColorMatrixElement(Document&);
bool isSupportedAttribute(const QualifiedName&);
virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;
virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName&) OVERRIDE;
virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE;
virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*) OVERRIDE;
RefPtr<SVGAnimatedNumberList> m_values;
RefPtr<SVGAnimatedString> m_in1;
RefPtr<SVGAnimatedEnumeration<ColorMatrixType> > m_type;
};
}
#endif