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

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

Issue 478243002: bindings: Adds virtual ScriptWrappable::wrap method. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 3 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.h ('k') | Source/core/svg/SVGMaskElement.h » ('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 22 matching lines...) Expand all
33 33
34 enum SVGMarkerUnitsType { 34 enum SVGMarkerUnitsType {
35 SVGMarkerUnitsUnknown = 0, 35 SVGMarkerUnitsUnknown = 0,
36 SVGMarkerUnitsUserSpaceOnUse, 36 SVGMarkerUnitsUserSpaceOnUse,
37 SVGMarkerUnitsStrokeWidth 37 SVGMarkerUnitsStrokeWidth
38 }; 38 };
39 template<> const SVGEnumerationStringEntries& getStaticStringEntries<SVGMarkerUn itsType>(); 39 template<> const SVGEnumerationStringEntries& getStaticStringEntries<SVGMarkerUn itsType>();
40 40
41 class SVGMarkerElement FINAL : public SVGElement, 41 class SVGMarkerElement FINAL : public SVGElement,
42 public SVGFitToViewBox { 42 public SVGFitToViewBox {
43 DEFINE_WRAPPERTYPEINFO();
43 public: 44 public:
44 // Forward declare enumerations in the W3C naming scheme, for IDL generation . 45 // Forward declare enumerations in the W3C naming scheme, for IDL generation .
45 enum { 46 enum {
46 SVG_MARKERUNITS_UNKNOWN = SVGMarkerUnitsUnknown, 47 SVG_MARKERUNITS_UNKNOWN = SVGMarkerUnitsUnknown,
47 SVG_MARKERUNITS_USERSPACEONUSE = SVGMarkerUnitsUserSpaceOnUse, 48 SVG_MARKERUNITS_USERSPACEONUSE = SVGMarkerUnitsUserSpaceOnUse,
48 SVG_MARKERUNITS_STROKEWIDTH = SVGMarkerUnitsStrokeWidth 49 SVG_MARKERUNITS_STROKEWIDTH = SVGMarkerUnitsStrokeWidth
49 }; 50 };
50 51
51 enum { 52 enum {
52 SVG_MARKER_ORIENT_UNKNOWN = SVGMarkerOrientUnknown, 53 SVG_MARKER_ORIENT_UNKNOWN = SVGMarkerOrientUnknown,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 virtual bool selfHasRelativeLengths() const OVERRIDE; 86 virtual bool selfHasRelativeLengths() const OVERRIDE;
86 87
87 RefPtr<SVGAnimatedLength> m_refX; 88 RefPtr<SVGAnimatedLength> m_refX;
88 RefPtr<SVGAnimatedLength> m_refY; 89 RefPtr<SVGAnimatedLength> m_refY;
89 RefPtr<SVGAnimatedLength> m_markerWidth; 90 RefPtr<SVGAnimatedLength> m_markerWidth;
90 RefPtr<SVGAnimatedLength> m_markerHeight; 91 RefPtr<SVGAnimatedLength> m_markerHeight;
91 RefPtr<SVGAnimatedAngle> m_orientAngle; 92 RefPtr<SVGAnimatedAngle> m_orientAngle;
92 RefPtr<SVGAnimatedEnumeration<SVGMarkerUnitsType> > m_markerUnits; 93 RefPtr<SVGAnimatedEnumeration<SVGMarkerUnitsType> > m_markerUnits;
93 }; 94 };
94 95
95 } 96 } // namespace blink
96 97
97 #endif 98 #endif // SVGMarkerElement_h
OLDNEW
« no previous file with comments | « Source/core/svg/SVGMPathElement.h ('k') | Source/core/svg/SVGMaskElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698