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

Unified Diff: Source/core/svg/SVGTextPositioningElement.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/SVGTextPathElement.cpp ('k') | Source/core/svg/SVGTextPositioningElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGTextPositioningElement.h
diff --git a/Source/core/svg/SVGTextPositioningElement.h b/Source/core/svg/SVGTextPositioningElement.h
index 665315c38a257b1e9c707b3dc9484c36763e2037..eadeafb72b7e69fa075925cabd0236ca87419391 100644
--- a/Source/core/svg/SVGTextPositioningElement.h
+++ b/Source/core/svg/SVGTextPositioningElement.h
@@ -31,6 +31,11 @@ class SVGTextPositioningElement : public SVGTextContentElement {
public:
static SVGTextPositioningElement* elementFromRenderer(RenderObject*);
+ SVGAnimatedLengthList* x() const { return m_x.get(); }
+ SVGAnimatedLengthList* y() const { return m_y.get(); }
+ SVGAnimatedLengthList* dx() const { return m_dx.get(); }
+ SVGAnimatedLengthList* dy() const { return m_dy.get(); }
+
protected:
SVGTextPositioningElement(const QualifiedName&, Document&);
@@ -38,11 +43,11 @@ protected:
virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;
virtual void svgAttributeChanged(const QualifiedName&);
+ RefPtr<SVGAnimatedLengthList> m_x;
+ RefPtr<SVGAnimatedLengthList> m_y;
+ RefPtr<SVGAnimatedLengthList> m_dx;
+ RefPtr<SVGAnimatedLengthList> m_dy;
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGTextPositioningElement)
- DECLARE_ANIMATED_LENGTH_LIST(X, x)
- DECLARE_ANIMATED_LENGTH_LIST(Y, y)
- DECLARE_ANIMATED_LENGTH_LIST(Dx, dx)
- DECLARE_ANIMATED_LENGTH_LIST(Dy, dy)
DECLARE_ANIMATED_NUMBER_LIST(Rotate, rotate)
END_DECLARE_ANIMATED_PROPERTIES
};
« no previous file with comments | « Source/core/svg/SVGTextPathElement.cpp ('k') | Source/core/svg/SVGTextPositioningElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698