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 28 matching lines...) Expand all Loading... |
39 class SVGAnimatedPropertyBase; | 39 class SVGAnimatedPropertyBase; |
40 class SubtreeLayoutScope; | 40 class SubtreeLayoutScope; |
41 class SVGCursorElement; | 41 class SVGCursorElement; |
42 class SVGDocumentExtensions; | 42 class SVGDocumentExtensions; |
43 class SVGElement; | 43 class SVGElement; |
44 class SVGElementRareData; | 44 class SVGElementRareData; |
45 class SVGFitToViewBox; | 45 class SVGFitToViewBox; |
46 class SVGSVGElement; | 46 class SVGSVGElement; |
47 class SVGUseElement; | 47 class SVGUseElement; |
48 | 48 |
49 void mapAttributeToCSSProperty(HashMap<StringImpl*, CSSPropertyID>* propertyName
ToIdMap, const QualifiedName& attrName); | |
50 | |
51 typedef WillBeHeapHashSet<RawPtrWillBeMember<SVGElement> > SVGElementSet; | 49 typedef WillBeHeapHashSet<RawPtrWillBeMember<SVGElement> > SVGElementSet; |
52 | 50 |
53 class SVGElement : public Element { | 51 class SVGElement : public Element { |
54 DEFINE_WRAPPERTYPEINFO(); | 52 DEFINE_WRAPPERTYPEINFO(); |
55 public: | 53 public: |
56 virtual ~SVGElement(); | 54 virtual ~SVGElement(); |
57 virtual void attach(const AttachContext&) OVERRIDE; | 55 virtual void attach(const AttachContext&) OVERRIDE; |
58 virtual void detach(const AttachContext&) OVERRIDE; | 56 virtual void detach(const AttachContext&) OVERRIDE; |
59 | 57 |
60 virtual short tabIndex() const OVERRIDE; | 58 virtual short tabIndex() const OVERRIDE; |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 template<typename T> inline bool is##thisType(const PassRefPtr<T>& node) { r
eturn is##thisType(node.get()); } \ | 284 template<typename T> inline bool is##thisType(const PassRefPtr<T>& node) { r
eturn is##thisType(node.get()); } \ |
287 template<typename T> inline bool is##thisType(const RefPtr<T>& node) { retur
n is##thisType(node.get()); } \ | 285 template<typename T> inline bool is##thisType(const RefPtr<T>& node) { retur
n is##thisType(node.get()); } \ |
288 template <> inline bool isElementOfType<const thisType>(const SVGElement& el
ement) { return is##thisType(element); } \ | 286 template <> inline bool isElementOfType<const thisType>(const SVGElement& el
ement) { return is##thisType(element); } \ |
289 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) | 287 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) |
290 | 288 |
291 } // namespace blink | 289 } // namespace blink |
292 | 290 |
293 #include "core/SVGElementTypeHelpers.h" | 291 #include "core/SVGElementTypeHelpers.h" |
294 | 292 |
295 #endif // SVGElement_h | 293 #endif // SVGElement_h |
OLD | NEW |