Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Unified Diff: Source/core/svg/SVGFilterPrimitiveStandardAttributes.h

Issue 168983002: Drop [LegacyImplementedInBaseClass] from SVGFilterPrimitiveStandardAttributes IDL interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/svg/SVGFilterPrimitiveStandardAttributes.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGFilterPrimitiveStandardAttributes.h
diff --git a/Source/core/svg/SVGFilterPrimitiveStandardAttributes.h b/Source/core/svg/SVGFilterPrimitiveStandardAttributes.h
index 4c35bd1201e7b5e132c8fe3af625f7295401d1c2..70c8f634e2031fbe433f683f456f0a4e85bedeb6 100644
--- a/Source/core/svg/SVGFilterPrimitiveStandardAttributes.h
+++ b/Source/core/svg/SVGFilterPrimitiveStandardAttributes.h
@@ -43,11 +43,18 @@ public:
// Returns true, if the new value is different from the old one.
virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName&);
+ // SVGFilterPrimitiveStandardAttributes JS API.
+ static SVGAnimatedLength* x(SVGFilterPrimitiveStandardAttributes* object) { return object->x(); }
+ static SVGAnimatedLength* y(SVGFilterPrimitiveStandardAttributes* object) { return object->y(); }
+ static SVGAnimatedLength* width(SVGFilterPrimitiveStandardAttributes* object) { return object->width(); }
+ static SVGAnimatedLength* height(SVGFilterPrimitiveStandardAttributes* object) { return object->height(); }
+ static SVGAnimatedString* result(SVGFilterPrimitiveStandardAttributes* object) { return object->result(); }
+
SVGAnimatedLength* x() const { return m_x.get(); }
SVGAnimatedLength* y() const { return m_y.get(); }
SVGAnimatedLength* width() const { return m_width.get(); }
SVGAnimatedLength* height() const { return m_height.get(); }
- SVGAnimatedString* result() { return m_result.get(); }
+ SVGAnimatedString* result() const { return m_result.get(); }
protected:
SVGFilterPrimitiveStandardAttributes(const QualifiedName&, Document&);
« no previous file with comments | « no previous file | Source/core/svg/SVGFilterPrimitiveStandardAttributes.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698