| 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 Document; | 39 class Document; |
| 40 class SVGAnimatedPropertyBase; | 40 class SVGAnimatedPropertyBase; |
| 41 class SubtreeLayoutScope; | 41 class SubtreeLayoutScope; |
| 42 class SVGAnimatedString; | 42 class SVGAnimatedString; |
| 43 class SVGCursorElement; | 43 class SVGCursorElement; |
| 44 class SVGDocumentExtensions; | 44 class SVGDocumentExtensions; |
| 45 class SVGElement; | 45 class SVGElement; |
| 46 class SVGElementRareData; | 46 class SVGElementRareData; |
| 47 class SVGFitToViewBox; | 47 class SVGFitToViewBox; |
| 48 class SVGLength; | 48 class SVGLength; |
| 49 class SVGPropertyBase; |
| 49 class SVGSVGElement; | 50 class SVGSVGElement; |
| 50 class SVGUseElement; | 51 class SVGUseElement; |
| 51 | 52 |
| 52 typedef WillBeHeapHashSet<RawPtrWillBeMember<SVGElement>> SVGElementSet; | 53 typedef WillBeHeapHashSet<RawPtrWillBeMember<SVGElement>> SVGElementSet; |
| 53 | 54 |
| 54 class CORE_EXPORT SVGElement : public Element { | 55 class CORE_EXPORT SVGElement : public Element { |
| 55 DEFINE_WRAPPERTYPEINFO(); | 56 DEFINE_WRAPPERTYPEINFO(); |
| 56 public: | 57 public: |
| 57 ~SVGElement() override; | 58 ~SVGElement() override; |
| 58 void attach(const AttachContext&) override; | 59 void attach(const AttachContext&) override; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 76 }; | 77 }; |
| 77 virtual AffineTransform localCoordinateSpaceTransform(CTMScope) const; | 78 virtual AffineTransform localCoordinateSpaceTransform(CTMScope) const; |
| 78 virtual bool needsPendingResourceHandling() const { return true; } | 79 virtual bool needsPendingResourceHandling() const { return true; } |
| 79 | 80 |
| 80 bool instanceUpdatesBlocked() const; | 81 bool instanceUpdatesBlocked() const; |
| 81 void setInstanceUpdatesBlocked(bool); | 82 void setInstanceUpdatesBlocked(bool); |
| 82 | 83 |
| 83 // Records the SVG element as having a Web Animation on an SVG attribute tha
t needs applying. | 84 // Records the SVG element as having a Web Animation on an SVG attribute tha
t needs applying. |
| 84 void setWebAnimationsPending(); | 85 void setWebAnimationsPending(); |
| 85 | 86 |
| 87 void setWebAnimatedAttribute(const QualifiedName& attribute, PassRefPtrWillB
eRawPtr<SVGPropertyBase>); |
| 88 void clearWebAnimatedAttributes(); |
| 89 |
| 86 SVGSVGElement* ownerSVGElement() const; | 90 SVGSVGElement* ownerSVGElement() const; |
| 87 SVGElement* viewportElement() const; | 91 SVGElement* viewportElement() const; |
| 88 | 92 |
| 89 SVGDocumentExtensions& accessDocumentSVGExtensions(); | 93 SVGDocumentExtensions& accessDocumentSVGExtensions(); |
| 90 | 94 |
| 91 virtual bool isSVGGeometryElement() const { return false; } | 95 virtual bool isSVGGeometryElement() const { return false; } |
| 92 virtual bool isSVGGraphicsElement() const { return false; } | 96 virtual bool isSVGGraphicsElement() const { return false; } |
| 93 virtual bool isFilterEffect() const { return false; } | 97 virtual bool isFilterEffect() const { return false; } |
| 94 virtual bool isTextContent() const { return false; } | 98 virtual bool isTextContent() const { return false; } |
| 95 virtual bool isTextPositioning() const { return false; } | 99 virtual bool isTextPositioning() const { return false; } |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 template<typename T> inline bool is##thisType(const PassRefPtrWillBeRawPtr<T
>& node) { return is##thisType(node.get()); } \ | 283 template<typename T> inline bool is##thisType(const PassRefPtrWillBeRawPtr<T
>& node) { return is##thisType(node.get()); } \ |
| 280 template<typename T> inline bool is##thisType(const RefPtrWillBeMember<T>& n
ode) { return is##thisType(node.get()); } \ | 284 template<typename T> inline bool is##thisType(const RefPtrWillBeMember<T>& n
ode) { return is##thisType(node.get()); } \ |
| 281 template <> inline bool isElementOfType<const thisType>(const SVGElement& el
ement) { return is##thisType(element); } \ | 285 template <> inline bool isElementOfType<const thisType>(const SVGElement& el
ement) { return is##thisType(element); } \ |
| 282 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) | 286 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) |
| 283 | 287 |
| 284 } // namespace blink | 288 } // namespace blink |
| 285 | 289 |
| 286 #include "core/SVGElementTypeHelpers.h" | 290 #include "core/SVGElementTypeHelpers.h" |
| 287 | 291 |
| 288 #endif // SVGElement_h | 292 #endif // SVGElement_h |
| OLD | NEW |