OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006, 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 * Copyright (C) 2009, 2014 Apple Inc. All rights reserved. | 4 * Copyright (C) 2009, 2014 Apple Inc. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 private: | 184 private: |
185 RawPtrWillBeMember<SVGElement> m_targetElement; | 185 RawPtrWillBeMember<SVGElement> m_targetElement; |
186 }; | 186 }; |
187 | 187 |
188 void invalidateInstances(); | 188 void invalidateInstances(); |
189 | 189 |
190 virtual void trace(Visitor*) OVERRIDE; | 190 virtual void trace(Visitor*) OVERRIDE; |
191 | 191 |
192 static const AtomicString& eventParameterName(); | 192 static const AtomicString& eventParameterName(); |
193 | 193 |
194 bool getStyleTransform(AffineTransform& matrix) const; | |
195 | |
196 protected: | 194 protected: |
197 SVGElement(const QualifiedName&, Document&, ConstructionType = CreateSVGElem
ent); | 195 SVGElement(const QualifiedName&, Document&, ConstructionType = CreateSVGElem
ent); |
198 | 196 |
199 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 197 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
200 | 198 |
201 // FIXME: |parseAttributeNew| is a new implementation of parseAttribute | 199 // FIXME: |parseAttributeNew| is a new implementation of parseAttribute |
202 // which maps attribute using |m_attributeToPropertyMap|. | 200 // which maps attribute using |m_attributeToPropertyMap|. |
203 // This is to replace |parseAttribute()| after all derived class switch to c
all this. | 201 // This is to replace |parseAttribute()| after all derived class switch to c
all this. |
204 void parseAttributeNew(const QualifiedName&, const AtomicString&); | 202 void parseAttributeNew(const QualifiedName&, const AtomicString&); |
205 | 203 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 template<typename T> inline bool is##thisType(const PassRefPtr<T>& node) { r
eturn is##thisType(node.get()); } \ | 289 template<typename T> inline bool is##thisType(const PassRefPtr<T>& node) { r
eturn is##thisType(node.get()); } \ |
292 template<typename T> inline bool is##thisType(const RefPtr<T>& node) { retur
n is##thisType(node.get()); } \ | 290 template<typename T> inline bool is##thisType(const RefPtr<T>& node) { retur
n is##thisType(node.get()); } \ |
293 template <> inline bool isElementOfType<const thisType>(const SVGElement& el
ement) { return is##thisType(element); } \ | 291 template <> inline bool isElementOfType<const thisType>(const SVGElement& el
ement) { return is##thisType(element); } \ |
294 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) | 292 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) |
295 | 293 |
296 } | 294 } |
297 | 295 |
298 #include "core/SVGElementTypeHelpers.h" | 296 #include "core/SVGElementTypeHelpers.h" |
299 | 297 |
300 #endif | 298 #endif |
OLD | NEW |