| 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 | 119 |
| 120 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<Even
tListener>, bool useCapture) OVERRIDE; | 120 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<Even
tListener>, bool useCapture) OVERRIDE; |
| 121 virtual bool removeEventListener(const AtomicString& eventType, EventListene
r*, bool useCapture) OVERRIDE; | 121 virtual bool removeEventListener(const AtomicString& eventType, EventListene
r*, bool useCapture) OVERRIDE; |
| 122 | 122 |
| 123 protected: | 123 protected: |
| 124 SVGElement(const QualifiedName&, Document*, ConstructionType = CreateSVGElem
ent); | 124 SVGElement(const QualifiedName&, Document*, ConstructionType = CreateSVGElem
ent); |
| 125 | 125 |
| 126 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 126 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
| 127 | 127 |
| 128 virtual void finishParsingChildren(); | 128 virtual void finishParsingChildren(); |
| 129 virtual void attributeChanged(const QualifiedName&, const AtomicString&) OVE
RRIDE; | 129 virtual void attributeChanged(const QualifiedName&, const AtomicString&, Att
ributeModificationReason = ModifiedDirectly) OVERRIDE; |
| 130 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const OV
ERRIDE; | 130 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const OV
ERRIDE; |
| 131 | 131 |
| 132 virtual void removedFrom(ContainerNode*) OVERRIDE; | 132 virtual void removedFrom(ContainerNode*) OVERRIDE; |
| 133 | 133 |
| 134 SVGElementRareData* svgRareData() const; | 134 SVGElementRareData* svgRareData() const; |
| 135 SVGElementRareData* ensureSVGRareData(); | 135 SVGElementRareData* ensureSVGRareData(); |
| 136 | 136 |
| 137 void reportAttributeParsingError(SVGParsingError, const QualifiedName&, cons
t AtomicString&); | 137 void reportAttributeParsingError(SVGParsingError, const QualifiedName&, cons
t AtomicString&); |
| 138 | 138 |
| 139 private: | 139 private: |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 inline const SVGElement* toSVGElement(const Node* node) | 177 inline const SVGElement* toSVGElement(const Node* node) |
| 178 { | 178 { |
| 179 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->isSVGElement()); | 179 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->isSVGElement()); |
| 180 return static_cast<const SVGElement*>(node); | 180 return static_cast<const SVGElement*>(node); |
| 181 } | 181 } |
| 182 | 182 |
| 183 } | 183 } |
| 184 | 184 |
| 185 #endif | 185 #endif |
| 186 #endif | 186 #endif |
| OLD | NEW |