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 24 matching lines...) Expand all Loading... |
35 | 35 |
36 namespace WebCore { | 36 namespace WebCore { |
37 | 37 |
38 class SVGAngle; | 38 class SVGAngle; |
39 class SVGMatrix; | 39 class SVGMatrix; |
40 class SVGTransform; | 40 class SVGTransform; |
41 class SVGViewSpec; | 41 class SVGViewSpec; |
42 class SVGViewElement; | 42 class SVGViewElement; |
43 class SMILTimeContainer; | 43 class SMILTimeContainer; |
44 | 44 |
45 class SVGSVGElement : public SVGStyledTransformableElement, | 45 class SVGSVGElement FINAL : public SVGStyledTransformableElement, |
46 public SVGTests, | 46 public SVGTests, |
47 public SVGLangSpace, | 47 public SVGLangSpace, |
48 public SVGExternalResourcesRequired, | 48 public SVGExternalResourcesRequired, |
49 public SVGFitToViewBox, | 49 public SVGFitToViewBox, |
50 public SVGZoomAndPan { | 50 public SVGZoomAndPan { |
51 public: | 51 public: |
52 static PassRefPtr<SVGSVGElement> create(const QualifiedName&, Document*); | 52 static PassRefPtr<SVGSVGElement> create(const QualifiedName&, Document*); |
53 | 53 |
54 using SVGStyledTransformableElement::ref; | 54 using SVGStyledTransformableElement::ref; |
55 using SVGStyledTransformableElement::deref; | 55 using SVGStyledTransformableElement::deref; |
56 | 56 |
57 virtual bool isValid() const { return SVGTests::isValid(); } | 57 virtual bool isValid() const { return SVGTests::isValid(); } |
58 virtual bool supportsFocus() const { return true; } | 58 virtual bool supportsFocus() const { return true; } |
59 | 59 |
60 // 'SVGSVGElement' functions | 60 // 'SVGSVGElement' functions |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 { | 192 { |
193 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->isSVGElement()); | 193 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->isSVGElement()); |
194 ASSERT_WITH_SECURITY_IMPLICATION(!node || toSVGElement(node)->isSVGSVGElemen
t()); | 194 ASSERT_WITH_SECURITY_IMPLICATION(!node || toSVGElement(node)->isSVGSVGElemen
t()); |
195 return static_cast<SVGSVGElement*>(node); | 195 return static_cast<SVGSVGElement*>(node); |
196 } | 196 } |
197 | 197 |
198 } // namespace WebCore | 198 } // namespace WebCore |
199 | 199 |
200 #endif // ENABLE(SVG) | 200 #endif // ENABLE(SVG) |
201 #endif | 201 #endif |
OLD | NEW |