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

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

Issue 132233010: [SVG] SVGAnimatedRect migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebsaed 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/SVGLengthTearOff.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 b3b682845235e71c212e4304374d65b22e3fabd2..e8d76720f7c616f9e93169eb6e5bd76bf0619580 100644
--- a/Source/core/svg/SVGMarkerElement.h
+++ b/Source/core/svg/SVGMarkerElement.h
@@ -122,6 +122,7 @@ public:
SVGAnimatedLength* refY() const { return m_refY.get(); }
SVGAnimatedLength* markerWidth() const { return m_markerWidth.get(); }
SVGAnimatedLength* markerHeight() const { return m_markerHeight.get(); }
+ SVGAnimatedRect* viewBox() const { return m_viewBox.get(); }
// Custom 'orientType' property.
static void synchronizeOrientType(SVGElement* contextElement);
@@ -155,11 +156,11 @@ private:
RefPtr<SVGAnimatedLength> m_refY;
RefPtr<SVGAnimatedLength> m_markerWidth;
RefPtr<SVGAnimatedLength> m_markerHeight;
+ RefPtr<SVGAnimatedRect> m_viewBox;
mutable SVGSynchronizableAnimatedProperty<SVGMarkerOrientType> m_orientType;
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGMarkerElement)
DECLARE_ANIMATED_ENUMERATION(MarkerUnits, markerUnits, SVGMarkerUnitsType)
DECLARE_ANIMATED_ANGLE(OrientAngle, orientAngle)
- DECLARE_ANIMATED_RECT(ViewBox, viewBox)
DECLARE_ANIMATED_PRESERVEASPECTRATIO(PreserveAspectRatio, preserveAspectRatio)
END_DECLARE_ANIMATED_PROPERTIES
};
« no previous file with comments | « Source/core/svg/SVGLengthTearOff.cpp ('k') | Source/core/svg/SVGMarkerElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698