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

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: 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/SVGLinearGradientElement.cpp ('k') | Source/core/svg/SVGMarkerElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGMarkerElement.h
diff --git a/Source/core/svg/SVGMarkerElement.h b/Source/core/svg/SVGMarkerElement.h
index 80c96d251932918e81d71da32fb32528f14fdcf1..8d2144185b26aaf40002b113edfa1b75a6125b5d 100644
--- a/Source/core/svg/SVGMarkerElement.h
+++ b/Source/core/svg/SVGMarkerElement.h
@@ -118,6 +118,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);
@@ -146,13 +151,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_RECT(ViewBox, viewBox)
« no previous file with comments | « Source/core/svg/SVGLinearGradientElement.cpp ('k') | Source/core/svg/SVGMarkerElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698