diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/svg/SVGFEOffsetElement.h')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/svg/SVGFEOffsetElement.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/chromium/third_party/WebKit/Source/core/svg/SVGFEOffsetElement.h b/chromium/third_party/WebKit/Source/core/svg/SVGFEOffsetElement.h index 74278647990..d1a3808ca16 100644 --- a/chromium/third_party/WebKit/Source/core/svg/SVGFEOffsetElement.h +++ b/chromium/third_party/WebKit/Source/core/svg/SVGFEOffsetElement.h @@ -29,21 +29,22 @@ namespace WebCore { class SVGFEOffsetElement FINAL : public SVGFilterPrimitiveStandardAttributes { public: - static PassRefPtr<SVGFEOffsetElement> create(Document&); + DECLARE_NODE_FACTORY(SVGFEOffsetElement); + SVGAnimatedNumber* dx() { return m_dx.get(); } + SVGAnimatedNumber* dy() { return m_dy.get(); } + SVGAnimatedString* in1() { return m_in1.get(); } private: explicit SVGFEOffsetElement(Document&); bool isSupportedAttribute(const QualifiedName&); virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE; - virtual void svgAttributeChanged(const QualifiedName&); - virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*); - - BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFEOffsetElement) - DECLARE_ANIMATED_STRING(In1, in1) - DECLARE_ANIMATED_NUMBER(Dx, dx) - DECLARE_ANIMATED_NUMBER(Dy, dy) - END_DECLARE_ANIMATED_PROPERTIES + virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; + virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*) OVERRIDE; + + RefPtr<SVGAnimatedNumber> m_dx; + RefPtr<SVGAnimatedNumber> m_dy; + RefPtr<SVGAnimatedString> m_in1; }; } // namespace WebCore |