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 12 matching lines...) Expand all Loading... |
23 #define SVGElement_h | 23 #define SVGElement_h |
24 | 24 |
25 #include "core/CoreExport.h" | 25 #include "core/CoreExport.h" |
26 #include "core/SVGNames.h" | 26 #include "core/SVGNames.h" |
27 #include "core/dom/Element.h" | 27 #include "core/dom/Element.h" |
28 #include "core/svg/SVGParsingError.h" | 28 #include "core/svg/SVGParsingError.h" |
29 #include "core/svg/properties/SVGPropertyInfo.h" | 29 #include "core/svg/properties/SVGPropertyInfo.h" |
30 #include "platform/heap/Handle.h" | 30 #include "platform/heap/Handle.h" |
31 #include "wtf/Allocator.h" | 31 #include "wtf/Allocator.h" |
32 #include "wtf/HashMap.h" | 32 #include "wtf/HashMap.h" |
| 33 #include "wtf/OwnPtr.h" |
33 | 34 |
34 namespace blink { | 35 namespace blink { |
35 | 36 |
36 class AffineTransform; | 37 class AffineTransform; |
37 class CSSCursorImageValue; | 38 class CSSCursorImageValue; |
38 class Document; | 39 class Document; |
39 class SVGAnimatedPropertyBase; | 40 class SVGAnimatedPropertyBase; |
40 class SubtreeLayoutScope; | 41 class SubtreeLayoutScope; |
41 class SVGAnimatedString; | 42 class SVGAnimatedString; |
42 class SVGCursorElement; | 43 class SVGCursorElement; |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 template<typename T> inline bool is##thisType(const T* node) { return is##th
isType(node); } \ | 281 template<typename T> inline bool is##thisType(const T* node) { return is##th
isType(node); } \ |
281 template<typename T> inline bool is##thisType(const Member<T>& node) { retur
n is##thisType(node.get()); } \ | 282 template<typename T> inline bool is##thisType(const Member<T>& node) { retur
n is##thisType(node.get()); } \ |
282 template <> inline bool isElementOfType<const thisType>(const SVGElement& el
ement) { return is##thisType(element); } \ | 283 template <> inline bool isElementOfType<const thisType>(const SVGElement& el
ement) { return is##thisType(element); } \ |
283 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) | 284 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) |
284 | 285 |
285 } // namespace blink | 286 } // namespace blink |
286 | 287 |
287 #include "core/SVGElementTypeHelpers.h" | 288 #include "core/SVGElementTypeHelpers.h" |
288 | 289 |
289 #endif // SVGElement_h | 290 #endif // SVGElement_h |
OLD | NEW |