Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / svg / SVGFEDropShadowElement.h
index b476c4c..4886c17 100644 (file)
 #include "core/svg/SVGFilterPrimitiveStandardAttributes.h"
 #include "platform/graphics/filters/FEDropShadow.h"
 
-namespace WebCore {
+namespace blink {
 
 class SVGFEDropShadowElement FINAL : public SVGFilterPrimitiveStandardAttributes {
+    DEFINE_WRAPPERTYPEINFO();
 public:
-    static PassRefPtr<SVGFEDropShadowElement> create(Document&);
+    DECLARE_NODE_FACTORY(SVGFEDropShadowElement);
 
     void setStdDeviation(float stdDeviationX, float stdDeviationY);
 
@@ -37,6 +38,7 @@ public:
     SVGAnimatedNumber* dy() { return m_dy.get(); }
     SVGAnimatedNumber* stdDeviationX() { return m_stdDeviation->firstNumber(); }
     SVGAnimatedNumber* stdDeviationY() { return m_stdDeviation->secondNumber(); }
+    SVGAnimatedString* in1() { return m_in1.get(); }
 
 private:
     explicit SVGFEDropShadowElement(Document&);
@@ -52,11 +54,9 @@ private:
     RefPtr<SVGAnimatedNumber> m_dx;
     RefPtr<SVGAnimatedNumber> m_dy;
     RefPtr<SVGAnimatedNumberOptionalNumber> m_stdDeviation;
-    BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFEDropShadowElement)
-        DECLARE_ANIMATED_STRING(In1, in1)
-    END_DECLARE_ANIMATED_PROPERTIES
+    RefPtr<SVGAnimatedString> m_in1;
 };
 
-} // namespace WebCore
+} // namespace blink
 
-#endif
+#endif // SVGFEDropShadowElement_h