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

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

Issue 112003003: [SVG] SVGLength{,List} migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaselined Created 7 years 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
Index: Source/core/svg/SVGRadialGradientElement.h
diff --git a/Source/core/svg/SVGRadialGradientElement.h b/Source/core/svg/SVGRadialGradientElement.h
index e448d2077c81651382221c31b1993aa5f7745842..a0033546232c90b859656d0aa236ddc83873982a 100644
--- a/Source/core/svg/SVGRadialGradientElement.h
+++ b/Source/core/svg/SVGRadialGradientElement.h
@@ -35,6 +35,13 @@ public:
bool collectGradientAttributes(RadialGradientAttributes&);
+ SVGAnimatedLength* cx() const { return m_cx.get(); }
+ SVGAnimatedLength* cy() const { return m_cy.get(); }
+ SVGAnimatedLength* r() const { return m_r.get(); }
+ SVGAnimatedLength* fx() const { return m_fx.get(); }
+ SVGAnimatedLength* fy() const { return m_fy.get(); }
+ SVGAnimatedLength* fr() const { return m_fr.get(); }
+
private:
explicit SVGRadialGradientElement(Document&);
@@ -46,13 +53,13 @@ private:
virtual bool selfHasRelativeLengths() const;
+ RefPtr<SVGAnimatedLength> m_cx;
+ RefPtr<SVGAnimatedLength> m_cy;
+ RefPtr<SVGAnimatedLength> m_r;
+ RefPtr<SVGAnimatedLength> m_fx;
+ RefPtr<SVGAnimatedLength> m_fy;
+ RefPtr<SVGAnimatedLength> m_fr;
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGRadialGradientElement)
- DECLARE_ANIMATED_LENGTH(Cx, cx)
- DECLARE_ANIMATED_LENGTH(Cy, cy)
- DECLARE_ANIMATED_LENGTH(R, r)
- DECLARE_ANIMATED_LENGTH(Fx, fx)
- DECLARE_ANIMATED_LENGTH(Fy, fy)
- DECLARE_ANIMATED_LENGTH(Fr, fr)
END_DECLARE_ANIMATED_PROPERTIES
};

Powered by Google App Engine
This is Rietveld 408576698