#ifndef SVGFEGaussianBlurElement_h
#define SVGFEGaussianBlurElement_h
#include "core/svg/SVGAnimatedNumberOptionalNumber.h"
#include "core/svg/SVGFilterPrimitiveStandardAttributes.h"
#include "platform/graphics/filters/FEGaussianBlur.h"
namespace WebCore {
class SVGFEGaussianBlurElement FINAL : public SVGFilterPrimitiveStandardAttributes {
public:
static PassRefPtr<SVGFEGaussianBlurElement> create(Document&);
void setStdDeviation(float stdDeviationX, float stdDeviationY);
SVGAnimatedNumber* stdDeviationX() { return m_stdDeviation->firstNumber(); }
SVGAnimatedNumber* stdDeviationY() { return m_stdDeviation->secondNumber(); }
SVGAnimatedString* in1() { return m_in1.get(); }
private:
explicit SVGFEGaussianBlurElement(Document&);
bool isSupportedAttribute(const QualifiedName&);
virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;
virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE;
virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*) OVERRIDE;
RefPtr<SVGAnimatedNumberOptionalNumber> m_stdDeviation;
RefPtr<SVGAnimatedString> m_in1;
};
}
#endif