| 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 void childrenChanged(const ChildrenChange&) override; | 228 void childrenChanged(const ChildrenChange&) override; |
| 229 | 229 |
| 230 static CSSPropertyID cssPropertyIdForSVGAttributeName(const QualifiedName&); | 230 static CSSPropertyID cssPropertyIdForSVGAttributeName(const QualifiedName&); |
| 231 void updateRelativeLengthsInformation() { | 231 void updateRelativeLengthsInformation() { |
| 232 updateRelativeLengthsInformation(selfHasRelativeLengths(), this); | 232 updateRelativeLengthsInformation(selfHasRelativeLengths(), this); |
| 233 } | 233 } |
| 234 void updateRelativeLengthsInformation(bool hasRelativeLengths, SVGElement*); | 234 void updateRelativeLengthsInformation(bool hasRelativeLengths, SVGElement*); |
| 235 static void markForLayoutAndParentResourceInvalidation(LayoutObject*); | 235 static void markForLayoutAndParentResourceInvalidation(LayoutObject*); |
| 236 | 236 |
| 237 virtual bool selfHasRelativeLengths() const { return false; } | 237 virtual bool selfHasRelativeLengths() const { return false; } |
| 238 bool isInSVGSubtree() const; |
| 239 bool isValidAndInSVGSubtree() const; |
| 238 | 240 |
| 239 SVGElementRareData* ensureSVGRareData(); | 241 SVGElementRareData* ensureSVGRareData(); |
| 240 inline bool hasSVGRareData() const { return m_SVGRareData; } | 242 inline bool hasSVGRareData() const { return m_SVGRareData; } |
| 241 inline SVGElementRareData* svgRareData() const { | 243 inline SVGElementRareData* svgRareData() const { |
| 242 ASSERT(m_SVGRareData); | 244 ASSERT(m_SVGRareData); |
| 243 return m_SVGRareData.get(); | 245 return m_SVGRareData.get(); |
| 244 } | 246 } |
| 245 | 247 |
| 246 void reportAttributeParsingError(SVGParsingError, | 248 void reportAttributeParsingError(SVGParsingError, |
| 247 const QualifiedName&, | 249 const QualifiedName&, |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 inline bool isElementOfType<const thisType>(const SVGElement& element) { \ | 337 inline bool isElementOfType<const thisType>(const SVGElement& element) { \ |
| 336 return is##thisType(element); \ | 338 return is##thisType(element); \ |
| 337 } \ | 339 } \ |
| 338 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) | 340 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) |
| 339 | 341 |
| 340 } // namespace blink | 342 } // namespace blink |
| 341 | 343 |
| 342 #include "core/SVGElementTypeHelpers.h" | 344 #include "core/SVGElementTypeHelpers.h" |
| 343 | 345 |
| 344 #endif // SVGElement_h | 346 #endif // SVGElement_h |
| OLD | NEW |