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, |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
14 * | 14 * |
15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
19 */ | 19 */ |
20 | 20 |
21 #ifndef SVGSVGElement_h | 21 #ifndef SVGSVGElement_h |
22 #define SVGSVGElement_h | 22 #define SVGSVGElement_h |
23 | 23 |
24 #include "core/svg/SVGAnimatedBoolean.h" | 24 #include "core/svg/SVGAnimatedBoolean.h" |
25 #include "core/svg/SVGAnimatedLength.h" | 25 #include "core/svg/SVGAnimatedLength.h" |
26 #include "core/svg/SVGAnimatedPreserveAspectRatio.h" | 26 #include "core/svg/SVGAnimatedPreserveAspectRatio.h" |
27 #include "core/svg/SVGAnimatedRect.h" | 27 #include "core/svg/SVGAnimatedRect.h" |
28 #include "core/svg/SVGExternalResourcesRequired.h" | 28 #include "core/svg/SVGExternalResourcesRequired.h" |
29 #include "core/svg/SVGFitToViewBox.h" | 29 #include "core/svg/SVGFitToViewBox.h" |
30 #include "core/svg/SVGLangSpace.h" | |
31 #include "core/svg/SVGStyledTransformableElement.h" | 30 #include "core/svg/SVGStyledTransformableElement.h" |
32 #include "core/svg/SVGTests.h" | 31 #include "core/svg/SVGTests.h" |
33 #include "core/svg/SVGZoomAndPan.h" | 32 #include "core/svg/SVGZoomAndPan.h" |
34 | 33 |
35 namespace WebCore { | 34 namespace WebCore { |
36 | 35 |
37 class SVGAngle; | 36 class SVGAngle; |
38 class SVGMatrix; | 37 class SVGMatrix; |
39 class SVGTransform; | 38 class SVGTransform; |
40 class SVGViewSpec; | 39 class SVGViewSpec; |
41 class SVGViewElement; | 40 class SVGViewElement; |
42 class SMILTimeContainer; | 41 class SMILTimeContainer; |
43 | 42 |
44 class SVGSVGElement FINAL : public SVGStyledTransformableElement, | 43 class SVGSVGElement FINAL : public SVGStyledTransformableElement, |
45 public SVGTests, | 44 public SVGTests, |
46 public SVGLangSpace, | |
47 public SVGExternalResourcesRequired, | 45 public SVGExternalResourcesRequired, |
48 public SVGFitToViewBox, | 46 public SVGFitToViewBox, |
49 public SVGZoomAndPan { | 47 public SVGZoomAndPan { |
50 public: | 48 public: |
51 static PassRefPtr<SVGSVGElement> create(const QualifiedName&, Document*); | 49 static PassRefPtr<SVGSVGElement> create(const QualifiedName&, Document*); |
52 | 50 |
53 using SVGStyledTransformableElement::ref; | 51 using SVGStyledTransformableElement::ref; |
54 using SVGStyledTransformableElement::deref; | 52 using SVGStyledTransformableElement::deref; |
55 | 53 |
56 virtual bool isValid() const { return SVGTests::isValid(); } | 54 virtual bool isValid() const { return SVGTests::isValid(); } |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 inline SVGSVGElement* toSVGSVGElement(Node* node) | 188 inline SVGSVGElement* toSVGSVGElement(Node* node) |
191 { | 189 { |
192 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->isSVGElement()); | 190 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->isSVGElement()); |
193 ASSERT_WITH_SECURITY_IMPLICATION(!node || toSVGElement(node)->isSVGSVGElemen
t()); | 191 ASSERT_WITH_SECURITY_IMPLICATION(!node || toSVGElement(node)->isSVGSVGElemen
t()); |
194 return static_cast<SVGSVGElement*>(node); | 192 return static_cast<SVGSVGElement*>(node); |
195 } | 193 } |
196 | 194 |
197 } // namespace WebCore | 195 } // namespace WebCore |
198 | 196 |
199 #endif | 197 #endif |
OLD | NEW |