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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 isSVGGraphicsElement() const { return false; } | 61 virtual bool isSVGGraphicsElement() const { return false; } |
62 virtual bool isStyledLocatable() const { return false; } | |
63 virtual bool isSVGSVGElement() const { return false; } | 62 virtual bool isSVGSVGElement() const { return false; } |
64 virtual bool isFilterEffect() const { return false; } | 63 virtual bool isFilterEffect() const { return false; } |
65 virtual bool isGradientStop() const { return false; } | 64 virtual bool isGradientStop() const { return false; } |
66 virtual bool isTextContent() const { return false; } | 65 virtual bool isTextContent() const { return false; } |
67 | 66 |
68 // For SVGTests | 67 // For SVGTests |
69 virtual bool isValid() const { return true; } | 68 virtual bool isValid() const { return true; } |
70 | 69 |
71 virtual void svgAttributeChanged(const QualifiedName&) { } | 70 virtual void svgAttributeChanged(const QualifiedName&) { } |
72 | 71 |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 | 175 |
177 inline const SVGElement* toSVGElement(const Node* node) | 176 inline const SVGElement* toSVGElement(const Node* node) |
178 { | 177 { |
179 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->isSVGElement()); | 178 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->isSVGElement()); |
180 return static_cast<const SVGElement*>(node); | 179 return static_cast<const SVGElement*>(node); |
181 } | 180 } |
182 | 181 |
183 } | 182 } |
184 | 183 |
185 #endif | 184 #endif |
OLD | NEW |