| 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 Apple Inc. All rights reserved. | 4 * Copyright (C) 2009 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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 | 201 |
| 202 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 202 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
| 203 | 203 |
| 204 virtual void attributeChanged(const QualifiedName&, const AtomicString&, Att
ributeModificationReason = ModifiedDirectly) OVERRIDE; | 204 virtual void attributeChanged(const QualifiedName&, const AtomicString&, Att
ributeModificationReason = ModifiedDirectly) OVERRIDE; |
| 205 | 205 |
| 206 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; | 206 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; |
| 207 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) OVERRIDE; | 207 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) OVERRIDE; |
| 208 | 208 |
| 209 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; | 209 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |
| 210 virtual void removedFrom(ContainerNode*) OVERRIDE; | 210 virtual void removedFrom(ContainerNode*) OVERRIDE; |
| 211 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE; | 211 virtual void childrenChanged(const ChildrenChange&) OVERRIDE; |
| 212 | 212 |
| 213 static CSSPropertyID cssPropertyIdForSVGAttributeName(const QualifiedName&); | 213 static CSSPropertyID cssPropertyIdForSVGAttributeName(const QualifiedName&); |
| 214 void updateRelativeLengthsInformation() { updateRelativeLengthsInformation(s
elfHasRelativeLengths(), this); } | 214 void updateRelativeLengthsInformation() { updateRelativeLengthsInformation(s
elfHasRelativeLengths(), this); } |
| 215 void updateRelativeLengthsInformation(bool hasRelativeLengths, SVGElement*); | 215 void updateRelativeLengthsInformation(bool hasRelativeLengths, SVGElement*); |
| 216 | 216 |
| 217 virtual bool selfHasRelativeLengths() const { return false; } | 217 virtual bool selfHasRelativeLengths() const { return false; } |
| 218 | 218 |
| 219 SVGElementRareData* ensureSVGRareData(); | 219 SVGElementRareData* ensureSVGRareData(); |
| 220 inline bool hasSVGRareData() const { return m_SVGRareData; } | 220 inline bool hasSVGRareData() const { return m_SVGRareData; } |
| 221 inline SVGElementRareData* svgRareData() const | 221 inline SVGElementRareData* svgRareData() const |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a
.matches(b); } | 268 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a
.matches(b); } |
| 269 }; | 269 }; |
| 270 | 270 |
| 271 DEFINE_ELEMENT_TYPE_CASTS(SVGElement, isSVGElement()); | 271 DEFINE_ELEMENT_TYPE_CASTS(SVGElement, isSVGElement()); |
| 272 | 272 |
| 273 template <> inline bool isElementOfType<const SVGElement>(const Node& node) { re
turn node.isSVGElement(); } | 273 template <> inline bool isElementOfType<const SVGElement>(const Node& node) { re
turn node.isSVGElement(); } |
| 274 | 274 |
| 275 } | 275 } |
| 276 | 276 |
| 277 #endif | 277 #endif |
| OLD | NEW |