| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 | 51 |
| 52 String xmlbase() const; | 52 String xmlbase() const; |
| 53 void setXmlbase(const String&); | 53 void setXmlbase(const String&); |
| 54 | 54 |
| 55 SVGSVGElement* ownerSVGElement() const; | 55 SVGSVGElement* ownerSVGElement() const; |
| 56 SVGElement* viewportElement() const; | 56 SVGElement* viewportElement() const; |
| 57 | 57 |
| 58 SVGDocumentExtensions* accessDocumentSVGExtensions(); | 58 SVGDocumentExtensions* accessDocumentSVGExtensions(); |
| 59 | 59 |
| 60 virtual bool isSVGStyledElement() const { return false; } | 60 virtual bool isSVGStyledElement() const { return false; } |
| 61 virtual bool isStyledTransformable() const { return false; } | 61 virtual bool isSVGGraphicsElement() const { return false; } |
| 62 virtual bool isStyledLocatable() const { return false; } | 62 virtual bool isStyledLocatable() const { return false; } |
| 63 virtual bool isSVGSVGElement() const { return false; } | 63 virtual bool isSVGSVGElement() const { return false; } |
| 64 virtual bool isFilterEffect() const { return false; } | 64 virtual bool isFilterEffect() const { return false; } |
| 65 virtual bool isGradientStop() const { return false; } | 65 virtual bool isGradientStop() const { return false; } |
| 66 virtual bool isTextContent() const { return false; } | 66 virtual bool isTextContent() const { return false; } |
| 67 | 67 |
| 68 // For SVGTests | 68 // For SVGTests |
| 69 virtual bool isValid() const { return true; } | 69 virtual bool isValid() const { return true; } |
| 70 | 70 |
| 71 virtual void svgAttributeChanged(const QualifiedName&) { } | 71 virtual void svgAttributeChanged(const QualifiedName&) { } |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 | 176 |
| 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 |
| OLD | NEW |