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

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

Issue 17608010: Remove SVGLangSpace IDL interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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/SVGLineElement.idl ('k') | Source/core/svg/SVGMarkerElement.idl » ('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 11 matching lines...) Expand all
22 #define SVGMarkerElement_h 22 #define SVGMarkerElement_h
23 23
24 #include "core/svg/SVGAnimatedAngle.h" 24 #include "core/svg/SVGAnimatedAngle.h"
25 #include "core/svg/SVGAnimatedBoolean.h" 25 #include "core/svg/SVGAnimatedBoolean.h"
26 #include "core/svg/SVGAnimatedEnumeration.h" 26 #include "core/svg/SVGAnimatedEnumeration.h"
27 #include "core/svg/SVGAnimatedLength.h" 27 #include "core/svg/SVGAnimatedLength.h"
28 #include "core/svg/SVGAnimatedPreserveAspectRatio.h" 28 #include "core/svg/SVGAnimatedPreserveAspectRatio.h"
29 #include "core/svg/SVGAnimatedRect.h" 29 #include "core/svg/SVGAnimatedRect.h"
30 #include "core/svg/SVGExternalResourcesRequired.h" 30 #include "core/svg/SVGExternalResourcesRequired.h"
31 #include "core/svg/SVGFitToViewBox.h" 31 #include "core/svg/SVGFitToViewBox.h"
32 #include "core/svg/SVGLangSpace.h"
33 #include "core/svg/SVGStyledElement.h" 32 #include "core/svg/SVGStyledElement.h"
34 33
35 namespace WebCore { 34 namespace WebCore {
36 35
37 enum SVGMarkerUnitsType { 36 enum SVGMarkerUnitsType {
38 SVGMarkerUnitsUnknown = 0, 37 SVGMarkerUnitsUnknown = 0,
39 SVGMarkerUnitsUserSpaceOnUse, 38 SVGMarkerUnitsUserSpaceOnUse,
40 SVGMarkerUnitsStrokeWidth 39 SVGMarkerUnitsStrokeWidth
41 }; 40 };
42 41
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 87
89 ExceptionCode ec = 0; 88 ExceptionCode ec = 0;
90 angle.setValueAsString(value, ec); 89 angle.setValueAsString(value, ec);
91 if (!ec) 90 if (!ec)
92 return SVGMarkerOrientAngle; 91 return SVGMarkerOrientAngle;
93 return SVGMarkerOrientUnknown; 92 return SVGMarkerOrientUnknown;
94 } 93 }
95 }; 94 };
96 95
97 class SVGMarkerElement FINAL : public SVGStyledElement, 96 class SVGMarkerElement FINAL : public SVGStyledElement,
98 public SVGLangSpace,
99 public SVGExternalResourcesRequired, 97 public SVGExternalResourcesRequired,
100 public SVGFitToViewBox { 98 public SVGFitToViewBox {
101 public: 99 public:
102 // Forward declare enumerations in the W3C naming scheme, for IDL generation . 100 // Forward declare enumerations in the W3C naming scheme, for IDL generation .
103 enum { 101 enum {
104 SVG_MARKERUNITS_UNKNOWN = SVGMarkerUnitsUnknown, 102 SVG_MARKERUNITS_UNKNOWN = SVGMarkerUnitsUnknown,
105 SVG_MARKERUNITS_USERSPACEONUSE = SVGMarkerUnitsUserSpaceOnUse, 103 SVG_MARKERUNITS_USERSPACEONUSE = SVGMarkerUnitsUserSpaceOnUse,
106 SVG_MARKERUNITS_STROKEWIDTH = SVGMarkerUnitsStrokeWidth 104 SVG_MARKERUNITS_STROKEWIDTH = SVGMarkerUnitsStrokeWidth
107 }; 105 };
108 106
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 166
169 inline SVGMarkerElement* toSVGMarkerElement(SVGElement* element) 167 inline SVGMarkerElement* toSVGMarkerElement(SVGElement* element)
170 { 168 {
171 ASSERT_WITH_SECURITY_IMPLICATION(!element || element->hasTagName(SVGNames::m arkerTag)); 169 ASSERT_WITH_SECURITY_IMPLICATION(!element || element->hasTagName(SVGNames::m arkerTag));
172 return static_cast<SVGMarkerElement*>(element); 170 return static_cast<SVGMarkerElement*>(element);
173 } 171 }
174 172
175 } 173 }
176 174
177 #endif 175 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGLineElement.idl ('k') | Source/core/svg/SVGMarkerElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698