| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Rob Buis <buis@kde.org> |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 | 138 |
| 139 private: | 139 private: |
| 140 SVGSVGElement(const QualifiedName&, Document*); | 140 SVGSVGElement(const QualifiedName&, Document*); |
| 141 virtual ~SVGSVGElement(); | 141 virtual ~SVGSVGElement(); |
| 142 | 142 |
| 143 virtual bool isSVGSVGElement() const OVERRIDE { return true; } | 143 virtual bool isSVGSVGElement() const OVERRIDE { return true; } |
| 144 | 144 |
| 145 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 145 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
| 146 | 146 |
| 147 virtual bool rendererIsNeeded(const NodeRenderingContext&) OVERRIDE; | 147 virtual bool rendererIsNeeded(const NodeRenderingContext&) OVERRIDE; |
| 148 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); | 148 virtual RenderObject* createRenderer(RenderStyle*); |
| 149 | 149 |
| 150 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; | 150 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |
| 151 virtual void removedFrom(ContainerNode*) OVERRIDE; | 151 virtual void removedFrom(ContainerNode*) OVERRIDE; |
| 152 | 152 |
| 153 virtual void svgAttributeChanged(const QualifiedName&); | 153 virtual void svgAttributeChanged(const QualifiedName&); |
| 154 | 154 |
| 155 virtual bool selfHasRelativeLengths() const; | 155 virtual bool selfHasRelativeLengths() const; |
| 156 | 156 |
| 157 void inheritViewAttributes(SVGViewElement*); | 157 void inheritViewAttributes(SVGViewElement*); |
| 158 | 158 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 inline SVGSVGElement* toSVGSVGElement(Node* node) | 190 inline SVGSVGElement* toSVGSVGElement(Node* node) |
| 191 { | 191 { |
| 192 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->isSVGElement()); | 192 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->isSVGElement()); |
| 193 ASSERT_WITH_SECURITY_IMPLICATION(!node || toSVGElement(node)->isSVGSVGElemen
t()); | 193 ASSERT_WITH_SECURITY_IMPLICATION(!node || toSVGElement(node)->isSVGSVGElemen
t()); |
| 194 return static_cast<SVGSVGElement*>(node); | 194 return static_cast<SVGSVGElement*>(node); |
| 195 } | 195 } |
| 196 | 196 |
| 197 } // namespace WebCore | 197 } // namespace WebCore |
| 198 | 198 |
| 199 #endif | 199 #endif |
| OLD | NEW |