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