diff options
Diffstat (limited to 'WebCore/svg/SVGTests.h')
-rw-r--r-- | WebCore/svg/SVGTests.h | 42 |
1 files changed, 19 insertions, 23 deletions
diff --git a/WebCore/svg/SVGTests.h b/WebCore/svg/SVGTests.h index c5bb70f..f662e9a 100644 --- a/WebCore/svg/SVGTests.h +++ b/WebCore/svg/SVGTests.h @@ -22,37 +22,33 @@ #define SVGTests_h #if ENABLE(SVG) -#include <wtf/Forward.h> -#include <wtf/RefPtr.h> +#include "SVGStringList.h" namespace WebCore { - class Attribute; - class QualifiedName; - class SVGStringList; +class Attribute; +class QualifiedName; - class SVGTests { - public: - SVGStringList* requiredFeatures() const; - SVGStringList* requiredExtensions() const; - SVGStringList* systemLanguage() const; +class SVGTests { +public: + SVGStringList& requiredFeatures() { return m_features; } + SVGStringList& requiredExtensions() { return m_extensions; } + SVGStringList& systemLanguage() { return m_systemLanguage; } - bool hasExtension(const String&) const { return false; } + bool hasExtension(const String&) const; + bool isValid() const; - bool isValid() const; - - bool parseMappedAttribute(Attribute*); - bool isKnownAttribute(const QualifiedName&); + bool parseMappedAttribute(Attribute*); + bool isKnownAttribute(const QualifiedName&); - protected: - SVGTests(); - ~SVGTests(); +protected: + SVGTests(); - private: - mutable RefPtr<SVGStringList> m_features; - mutable RefPtr<SVGStringList> m_extensions; - mutable RefPtr<SVGStringList> m_systemLanguage; - }; +private: + SVGStringList m_features; + SVGStringList m_extensions; + SVGStringList m_systemLanguage; +}; } // namespace WebCore |