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

Unified Diff: Source/core/svg/SVGMarkerElement.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/SVGMarkerElement.h
diff --git a/Source/core/svg/SVGMarkerElement.h b/Source/core/svg/SVGMarkerElement.h
index da6b4654f8ff4652ed99dddba18227e41520824b..7dee8ec5d52c6573f5437afc4cc5a3ab39b43bca 100644
--- a/Source/core/svg/SVGMarkerElement.h
+++ b/Source/core/svg/SVGMarkerElement.h
@@ -120,6 +120,11 @@ public:
static const SVGPropertyInfo* orientTypePropertyInfo();
+ SVGAnimatedLength* refX() const { return m_refX.get(); }
+ SVGAnimatedLength* refY() const { return m_refY.get(); }
+ SVGAnimatedLength* markerWidth() const { return m_markerWidth.get(); }
+ SVGAnimatedLength* markerHeight() const { return m_markerHeight.get(); }
+
// Custom 'orientType' property.
static void synchronizeOrientType(SVGElement* contextElement);
static PassRefPtr<SVGAnimatedProperty> lookupOrCreateOrientTypeWrapper(SVGElement* contextElement);
@@ -148,13 +153,12 @@ private:
static const AtomicString& orientTypeIdentifier();
static const AtomicString& orientAngleIdentifier();
+ RefPtr<SVGAnimatedLength> m_refX;
+ RefPtr<SVGAnimatedLength> m_refY;
+ RefPtr<SVGAnimatedLength> m_markerWidth;
+ RefPtr<SVGAnimatedLength> m_markerHeight;
mutable SVGSynchronizableAnimatedProperty<SVGMarkerOrientType> m_orientType;
-
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGMarkerElement)
- DECLARE_ANIMATED_LENGTH(RefX, refX)
- DECLARE_ANIMATED_LENGTH(RefY, refY)
- DECLARE_ANIMATED_LENGTH(MarkerWidth, markerWidth)
- DECLARE_ANIMATED_LENGTH(MarkerHeight, markerHeight)
DECLARE_ANIMATED_ENUMERATION(MarkerUnits, markerUnits, SVGMarkerUnitsType)
DECLARE_ANIMATED_ANGLE(OrientAngle, orientAngle)
DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesRequired)

Powered by Google App Engine
This is Rietveld 408576698