OLD | NEW |
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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 static const SVGPropertyInfo* orientTypePropertyInfo(); | 123 static const SVGPropertyInfo* orientTypePropertyInfo(); |
124 | 124 |
125 private: | 125 private: |
126 SVGMarkerElement(const QualifiedName&, Handle<Document>); | 126 SVGMarkerElement(const QualifiedName&, Handle<Document>); |
127 | 127 |
128 virtual bool needsPendingResourceHandling() const { return false; } | 128 virtual bool needsPendingResourceHandling() const { return false; } |
129 | 129 |
130 bool isSupportedAttribute(const QualifiedName&); | 130 bool isSupportedAttribute(const QualifiedName&); |
131 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 131 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
132 virtual void svgAttributeChanged(const QualifiedName&); | 132 virtual void svgAttributeChanged(const QualifiedName&); |
133 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0); | 133 virtual void childrenChanged(bool changedByParser = false, const Handle<Node
>& beforeChange = nullptr, const Handle<Node>& afterChange = nullptr, int childC
ountDelta = 0); |
134 | 134 |
135 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); | 135 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); |
136 virtual bool rendererIsNeeded(const NodeRenderingContext&) { return true; } | 136 virtual bool rendererIsNeeded(const NodeRenderingContext&) { return true; } |
137 | 137 |
138 virtual bool selfHasRelativeLengths() const; | 138 virtual bool selfHasRelativeLengths() const; |
139 | 139 |
140 void synchronizeOrientType(); | 140 void synchronizeOrientType(); |
141 | 141 |
142 static const AtomicString& orientTypeIdentifier(); | 142 static const AtomicString& orientTypeIdentifier(); |
143 static const AtomicString& orientAngleIdentifier(); | 143 static const AtomicString& orientAngleIdentifier(); |
(...skipping 26 matching lines...) Expand all Loading... |
170 inline SVGMarkerElement* toSVGMarkerElement(SVGElement* element) | 170 inline SVGMarkerElement* toSVGMarkerElement(SVGElement* element) |
171 { | 171 { |
172 ASSERT_WITH_SECURITY_IMPLICATION(!element || element->hasTagName(SVGNames::m
arkerTag)); | 172 ASSERT_WITH_SECURITY_IMPLICATION(!element || element->hasTagName(SVGNames::m
arkerTag)); |
173 return static_cast<SVGMarkerElement*>(element); | 173 return static_cast<SVGMarkerElement*>(element); |
174 } | 174 } |
175 | 175 |
176 } | 176 } |
177 | 177 |
178 #endif | 178 #endif |
179 #endif | 179 #endif |
OLD | NEW |