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

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

Issue 112003003: [SVG] SVGLength{,List} migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: revert aggressive svgAttributeChanged, add NeedsRebaseline Created 6 years, 11 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 | « Source/core/svg/SVGCursorElement.cpp ('k') | Source/core/svg/SVGEllipseElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGEllipseElement.h
diff --git a/Source/core/svg/SVGEllipseElement.h b/Source/core/svg/SVGEllipseElement.h
index 1dc8cf9a73161620b168dc6341726af0826a1553..d153d422eccf9feb07d2d97e53fced56726933c4 100644
--- a/Source/core/svg/SVGEllipseElement.h
+++ b/Source/core/svg/SVGEllipseElement.h
@@ -32,6 +32,11 @@ class SVGEllipseElement FINAL : public SVGGeometryElement {
public:
static PassRefPtr<SVGEllipseElement> create(Document&);
+ SVGAnimatedLength* cx() const { return m_cx.get(); }
+ SVGAnimatedLength* cy() const { return m_cy.get(); }
+ SVGAnimatedLength* rx() const { return m_rx.get(); }
+ SVGAnimatedLength* ry() const { return m_ry.get(); }
+
private:
explicit SVGEllipseElement(Document&);
@@ -46,11 +51,11 @@ private:
virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
+ RefPtr<SVGAnimatedLength> m_cx;
+ RefPtr<SVGAnimatedLength> m_cy;
+ RefPtr<SVGAnimatedLength> m_rx;
+ RefPtr<SVGAnimatedLength> m_ry;
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGEllipseElement)
- DECLARE_ANIMATED_LENGTH(Cx, cx)
- DECLARE_ANIMATED_LENGTH(Cy, cy)
- DECLARE_ANIMATED_LENGTH(Rx, rx)
- DECLARE_ANIMATED_LENGTH(Ry, ry)
END_DECLARE_ANIMATED_PROPERTIES
};
« no previous file with comments | « Source/core/svg/SVGCursorElement.cpp ('k') | Source/core/svg/SVGEllipseElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698