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

Side by Side Diff: Source/core/svg/SVGMarkerElement.h

Issue 327633004: Apply DEFINE/DECLARE_NODE_FACTORY(T) macro to element factories with single Document& argument. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/svg/SVGMPathElement.cpp ('k') | Source/core/svg/SVGMarkerElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde .org> 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde .org>
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 SVG_MARKERUNITS_USERSPACEONUSE = SVGMarkerUnitsUserSpaceOnUse, 47 SVG_MARKERUNITS_USERSPACEONUSE = SVGMarkerUnitsUserSpaceOnUse,
48 SVG_MARKERUNITS_STROKEWIDTH = SVGMarkerUnitsStrokeWidth 48 SVG_MARKERUNITS_STROKEWIDTH = SVGMarkerUnitsStrokeWidth
49 }; 49 };
50 50
51 enum { 51 enum {
52 SVG_MARKER_ORIENT_UNKNOWN = SVGMarkerOrientUnknown, 52 SVG_MARKER_ORIENT_UNKNOWN = SVGMarkerOrientUnknown,
53 SVG_MARKER_ORIENT_AUTO = SVGMarkerOrientAuto, 53 SVG_MARKER_ORIENT_AUTO = SVGMarkerOrientAuto,
54 SVG_MARKER_ORIENT_ANGLE = SVGMarkerOrientAngle 54 SVG_MARKER_ORIENT_ANGLE = SVGMarkerOrientAngle
55 }; 55 };
56 56
57 DEFINE_NODE_FACTORY(SVGMarkerElement); 57 DECLARE_NODE_FACTORY(SVGMarkerElement);
58 58
59 AffineTransform viewBoxToViewTransform(float viewWidth, float viewHeight) co nst; 59 AffineTransform viewBoxToViewTransform(float viewWidth, float viewHeight) co nst;
60 60
61 void setOrientToAuto(); 61 void setOrientToAuto();
62 void setOrientToAngle(PassRefPtr<SVGAngleTearOff>); 62 void setOrientToAngle(PassRefPtr<SVGAngleTearOff>);
63 63
64 SVGAnimatedLength* refX() const { return m_refX.get(); } 64 SVGAnimatedLength* refX() const { return m_refX.get(); }
65 SVGAnimatedLength* refY() const { return m_refY.get(); } 65 SVGAnimatedLength* refY() const { return m_refY.get(); }
66 SVGAnimatedLength* markerWidth() const { return m_markerWidth.get(); } 66 SVGAnimatedLength* markerWidth() const { return m_markerWidth.get(); }
67 SVGAnimatedLength* markerHeight() const { return m_markerHeight.get(); } 67 SVGAnimatedLength* markerHeight() const { return m_markerHeight.get(); }
(...skipping 20 matching lines...) Expand all
88 RefPtr<SVGAnimatedLength> m_refY; 88 RefPtr<SVGAnimatedLength> m_refY;
89 RefPtr<SVGAnimatedLength> m_markerWidth; 89 RefPtr<SVGAnimatedLength> m_markerWidth;
90 RefPtr<SVGAnimatedLength> m_markerHeight; 90 RefPtr<SVGAnimatedLength> m_markerHeight;
91 RefPtr<SVGAnimatedAngle> m_orientAngle; 91 RefPtr<SVGAnimatedAngle> m_orientAngle;
92 RefPtr<SVGAnimatedEnumeration<SVGMarkerUnitsType> > m_markerUnits; 92 RefPtr<SVGAnimatedEnumeration<SVGMarkerUnitsType> > m_markerUnits;
93 }; 93 };
94 94
95 } 95 }
96 96
97 #endif 97 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGMPathElement.cpp ('k') | Source/core/svg/SVGMarkerElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698