OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
12 * Library General Public License for more details. | 12 * Library General Public License for more details. |
13 * | 13 * |
14 * You should have received a copy of the GNU Library General Public License | 14 * You should have received a copy of the GNU Library General Public License |
15 * along with this library; see the file COPYING.LIB. If not, write to | 15 * along with this library; see the file COPYING.LIB. If not, write to |
16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
17 * Boston, MA 02110-1301, USA. | 17 * Boston, MA 02110-1301, USA. |
18 */ | 18 */ |
19 | 19 |
20 #ifndef SVGForeignObjectElement_h | 20 #ifndef SVGForeignObjectElement_h |
21 #define SVGForeignObjectElement_h | 21 #define SVGForeignObjectElement_h |
22 | 22 |
23 #include "core/svg/SVGAnimatedBoolean.h" | 23 #include "core/svg/SVGAnimatedBoolean.h" |
24 #include "core/svg/SVGAnimatedLength.h" | 24 #include "core/svg/SVGAnimatedLength.h" |
25 #include "core/svg/SVGExternalResourcesRequired.h" | 25 #include "core/svg/SVGExternalResourcesRequired.h" |
26 #include "core/svg/SVGStyledTransformableElement.h" | 26 #include "core/svg/SVGGraphicsElement.h" |
27 #include "core/svg/SVGTests.h" | |
28 #include "core/svg/SVGURIReference.h" | 27 #include "core/svg/SVGURIReference.h" |
29 | 28 |
30 namespace WebCore { | 29 namespace WebCore { |
31 | 30 |
32 class SVGForeignObjectElement FINAL : public SVGStyledTransformableElement, | 31 class SVGForeignObjectElement FINAL : public SVGGraphicsElement, |
33 public SVGTests, | |
34 public SVGExternalResourcesRequired { | 32 public SVGExternalResourcesRequired { |
35 public: | 33 public: |
36 static PassRefPtr<SVGForeignObjectElement> create(const QualifiedName&, Docu
ment*); | 34 static PassRefPtr<SVGForeignObjectElement> create(const QualifiedName&, Docu
ment*); |
37 | 35 |
38 private: | 36 private: |
39 SVGForeignObjectElement(const QualifiedName&, Document*); | 37 SVGForeignObjectElement(const QualifiedName&, Document*); |
40 | 38 |
41 virtual bool isValid() const { return SVGTests::isValid(); } | 39 virtual bool isValid() const { return SVGTests::isValid(); } |
42 bool isSupportedAttribute(const QualifiedName&); | 40 bool isSupportedAttribute(const QualifiedName&); |
43 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 41 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
(...skipping 16 matching lines...) Expand all Loading... |
60 | 58 |
61 // SVGTests | 59 // SVGTests |
62 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe
atures(this); } | 60 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe
atures(this); } |
63 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired
Extensions(this); } | 61 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired
Extensions(this); } |
64 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua
ge(this); } | 62 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua
ge(this); } |
65 }; | 63 }; |
66 | 64 |
67 } // namespace WebCore | 65 } // namespace WebCore |
68 | 66 |
69 #endif | 67 #endif |
OLD | NEW |