| 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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 virtual bool isPresentationAttribute(const QualifiedName&) const override; | 202 virtual bool isPresentationAttribute(const QualifiedName&) const override; |
| 203 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) override; | 203 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) override; |
| 204 | 204 |
| 205 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; | 205 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; |
| 206 virtual void removedFrom(ContainerNode*) override; | 206 virtual void removedFrom(ContainerNode*) override; |
| 207 virtual void childrenChanged(const ChildrenChange&) override; | 207 virtual void childrenChanged(const ChildrenChange&) override; |
| 208 | 208 |
| 209 static CSSPropertyID cssPropertyIdForSVGAttributeName(const QualifiedName&); | 209 static CSSPropertyID cssPropertyIdForSVGAttributeName(const QualifiedName&); |
| 210 void updateRelativeLengthsInformation() { updateRelativeLengthsInformation(s
elfHasRelativeLengths(), this); } | 210 void updateRelativeLengthsInformation() { updateRelativeLengthsInformation(s
elfHasRelativeLengths(), this); } |
| 211 void updateRelativeLengthsInformation(bool hasRelativeLengths, SVGElement*); | 211 void updateRelativeLengthsInformation(bool hasRelativeLengths, SVGElement*); |
| 212 static void markForLayoutAndParentResourceInvalidation(RenderObject*); |
| 212 | 213 |
| 213 virtual bool selfHasRelativeLengths() const { return false; } | 214 virtual bool selfHasRelativeLengths() const { return false; } |
| 214 | 215 |
| 215 SVGElementRareData* ensureSVGRareData(); | 216 SVGElementRareData* ensureSVGRareData(); |
| 216 inline bool hasSVGRareData() const { return m_SVGRareData; } | 217 inline bool hasSVGRareData() const { return m_SVGRareData; } |
| 217 inline SVGElementRareData* svgRareData() const | 218 inline SVGElementRareData* svgRareData() const |
| 218 { | 219 { |
| 219 ASSERT(m_SVGRareData); | 220 ASSERT(m_SVGRareData); |
| 220 return m_SVGRareData.get(); | 221 return m_SVGRareData.get(); |
| 221 } | 222 } |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 template<typename T> inline bool is##thisType(const PassRefPtr<T>& node) { r
eturn is##thisType(node.get()); } \ | 281 template<typename T> inline bool is##thisType(const PassRefPtr<T>& node) { r
eturn is##thisType(node.get()); } \ |
| 281 template<typename T> inline bool is##thisType(const RefPtr<T>& node) { retur
n is##thisType(node.get()); } \ | 282 template<typename T> inline bool is##thisType(const RefPtr<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 |