| 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 virtual bool isPresentationAttribute(const QualifiedName&) const override; | 203 virtual bool isPresentationAttribute(const QualifiedName&) const override; |
| 204 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) override; | 204 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) override; |
| 205 | 205 |
| 206 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; | 206 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; |
| 207 virtual void removedFrom(ContainerNode*) override; | 207 virtual void removedFrom(ContainerNode*) override; |
| 208 virtual void childrenChanged(const ChildrenChange&) override; | 208 virtual void childrenChanged(const ChildrenChange&) override; |
| 209 | 209 |
| 210 static CSSPropertyID cssPropertyIdForSVGAttributeName(const QualifiedName&); | 210 static CSSPropertyID cssPropertyIdForSVGAttributeName(const QualifiedName&); |
| 211 void updateRelativeLengthsInformation() { updateRelativeLengthsInformation(s
elfHasRelativeLengths(), this); } | 211 void updateRelativeLengthsInformation() { updateRelativeLengthsInformation(s
elfHasRelativeLengths(), this); } |
| 212 void updateRelativeLengthsInformation(bool hasRelativeLengths, SVGElement*); | 212 void updateRelativeLengthsInformation(bool hasRelativeLengths, SVGElement*); |
| 213 static void markForLayoutAndParentResourceInvalidation(RenderObject*); | 213 static void markForLayoutAndParentResourceInvalidation(LayoutObject*); |
| 214 | 214 |
| 215 virtual bool selfHasRelativeLengths() const { return false; } | 215 virtual bool selfHasRelativeLengths() const { return false; } |
| 216 | 216 |
| 217 SVGElementRareData* ensureSVGRareData(); | 217 SVGElementRareData* ensureSVGRareData(); |
| 218 inline bool hasSVGRareData() const { return m_SVGRareData; } | 218 inline bool hasSVGRareData() const { return m_SVGRareData; } |
| 219 inline SVGElementRareData* svgRareData() const | 219 inline SVGElementRareData* svgRareData() const |
| 220 { | 220 { |
| 221 ASSERT(m_SVGRareData); | 221 ASSERT(m_SVGRareData); |
| 222 return m_SVGRareData.get(); | 222 return m_SVGRareData.get(); |
| 223 } | 223 } |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 template<typename T> inline bool is##thisType(const PassRefPtrWillBeRawPtr<T
>& node) { return is##thisType(node.get()); } \ | 282 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 RefPtrWillBeMember<T>& n
ode) { return is##thisType(node.get()); } \ | 283 template<typename T> inline bool is##thisType(const RefPtrWillBeMember<T>& n
ode) { return is##thisType(node.get()); } \ |
| 284 template <> inline bool isElementOfType<const thisType>(const SVGElement& el
ement) { return is##thisType(element); } \ | 284 template <> inline bool isElementOfType<const thisType>(const SVGElement& el
ement) { return is##thisType(element); } \ |
| 285 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) | 285 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) |
| 286 | 286 |
| 287 } // namespace blink | 287 } // namespace blink |
| 288 | 288 |
| 289 #include "core/SVGElementTypeHelpers.h" | 289 #include "core/SVGElementTypeHelpers.h" |
| 290 | 290 |
| 291 #endif // SVGElement_h | 291 #endif // SVGElement_h |
| OLD | NEW |