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

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

Issue 62083002: Remove support for the externalResourcesRequired attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebaseline test 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 unified diff | Download patch
« no previous file with comments | « Source/core/svg/SVGMPathElement.idl ('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 11 matching lines...) Expand all
22 #define SVGMarkerElement_h 22 #define SVGMarkerElement_h
23 23
24 #include "bindings/v8/ExceptionState.h" 24 #include "bindings/v8/ExceptionState.h"
25 #include "core/svg/SVGAnimatedAngle.h" 25 #include "core/svg/SVGAnimatedAngle.h"
26 #include "core/svg/SVGAnimatedBoolean.h" 26 #include "core/svg/SVGAnimatedBoolean.h"
27 #include "core/svg/SVGAnimatedEnumeration.h" 27 #include "core/svg/SVGAnimatedEnumeration.h"
28 #include "core/svg/SVGAnimatedLength.h" 28 #include "core/svg/SVGAnimatedLength.h"
29 #include "core/svg/SVGAnimatedPreserveAspectRatio.h" 29 #include "core/svg/SVGAnimatedPreserveAspectRatio.h"
30 #include "core/svg/SVGAnimatedRect.h" 30 #include "core/svg/SVGAnimatedRect.h"
31 #include "core/svg/SVGElement.h" 31 #include "core/svg/SVGElement.h"
32 #include "core/svg/SVGExternalResourcesRequired.h"
33 #include "core/svg/SVGFitToViewBox.h" 32 #include "core/svg/SVGFitToViewBox.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 TrackExceptionState exceptionState; 88 TrackExceptionState exceptionState;
90 angle.setValueAsString(value, exceptionState); 89 angle.setValueAsString(value, exceptionState);
91 if (!exceptionState.hadException()) 90 if (!exceptionState.hadException())
92 return SVGMarkerOrientAngle; 91 return SVGMarkerOrientAngle;
93 return SVGMarkerOrientUnknown; 92 return SVGMarkerOrientUnknown;
94 } 93 }
95 }; 94 };
96 95
97 class SVGMarkerElement FINAL : public SVGElement, 96 class SVGMarkerElement FINAL : public SVGElement,
98 public SVGExternalResourcesRequired,
99 public SVGFitToViewBox { 97 public SVGFitToViewBox {
100 public: 98 public:
101 // Forward declare enumerations in the W3C naming scheme, for IDL generation . 99 // Forward declare enumerations in the W3C naming scheme, for IDL generation .
102 enum { 100 enum {
103 SVG_MARKERUNITS_UNKNOWN = SVGMarkerUnitsUnknown, 101 SVG_MARKERUNITS_UNKNOWN = SVGMarkerUnitsUnknown,
104 SVG_MARKERUNITS_USERSPACEONUSE = SVGMarkerUnitsUserSpaceOnUse, 102 SVG_MARKERUNITS_USERSPACEONUSE = SVGMarkerUnitsUserSpaceOnUse,
105 SVG_MARKERUNITS_STROKEWIDTH = SVGMarkerUnitsStrokeWidth 103 SVG_MARKERUNITS_STROKEWIDTH = SVGMarkerUnitsStrokeWidth
106 }; 104 };
107 105
108 enum { 106 enum {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 148
151 mutable SVGSynchronizableAnimatedProperty<SVGMarkerOrientType> m_orientType; 149 mutable SVGSynchronizableAnimatedProperty<SVGMarkerOrientType> m_orientType;
152 150
153 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGMarkerElement) 151 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGMarkerElement)
154 DECLARE_ANIMATED_LENGTH(RefX, refX) 152 DECLARE_ANIMATED_LENGTH(RefX, refX)
155 DECLARE_ANIMATED_LENGTH(RefY, refY) 153 DECLARE_ANIMATED_LENGTH(RefY, refY)
156 DECLARE_ANIMATED_LENGTH(MarkerWidth, markerWidth) 154 DECLARE_ANIMATED_LENGTH(MarkerWidth, markerWidth)
157 DECLARE_ANIMATED_LENGTH(MarkerHeight, markerHeight) 155 DECLARE_ANIMATED_LENGTH(MarkerHeight, markerHeight)
158 DECLARE_ANIMATED_ENUMERATION(MarkerUnits, markerUnits, SVGMarkerUnitsTyp e) 156 DECLARE_ANIMATED_ENUMERATION(MarkerUnits, markerUnits, SVGMarkerUnitsTyp e)
159 DECLARE_ANIMATED_ANGLE(OrientAngle, orientAngle) 157 DECLARE_ANIMATED_ANGLE(OrientAngle, orientAngle)
160 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq uired)
161 DECLARE_ANIMATED_RECT(ViewBox, viewBox) 158 DECLARE_ANIMATED_RECT(ViewBox, viewBox)
162 DECLARE_ANIMATED_PRESERVEASPECTRATIO(PreserveAspectRatio, preserveAspect Ratio) 159 DECLARE_ANIMATED_PRESERVEASPECTRATIO(PreserveAspectRatio, preserveAspect Ratio)
163 END_DECLARE_ANIMATED_PROPERTIES 160 END_DECLARE_ANIMATED_PROPERTIES
164 }; 161 };
165 162
166 DEFINE_NODE_TYPE_CASTS(SVGMarkerElement, hasTagName(SVGNames::markerTag)); 163 DEFINE_NODE_TYPE_CASTS(SVGMarkerElement, hasTagName(SVGNames::markerTag));
167 164
168 } 165 }
169 166
170 #endif 167 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGMPathElement.idl ('k') | Source/core/svg/SVGMarkerElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698