| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2006, 2010 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 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 20 matching lines...) Expand all Loading... |
| 31 class Document; | 31 class Document; |
| 32 class QualifiedName; | 32 class QualifiedName; |
| 33 class SVGElement; | 33 class SVGElement; |
| 34 | 34 |
| 35 class CORE_EXPORT SVGTests : public WillBeGarbageCollectedMixin { | 35 class CORE_EXPORT SVGTests : public WillBeGarbageCollectedMixin { |
| 36 public: | 36 public: |
| 37 // JS API | 37 // JS API |
| 38 SVGStringListTearOff* requiredFeatures() { return m_requiredFeatures->tearOf
f(); } | 38 SVGStringListTearOff* requiredFeatures() { return m_requiredFeatures->tearOf
f(); } |
| 39 SVGStringListTearOff* requiredExtensions() { return m_requiredExtensions->te
arOff(); } | 39 SVGStringListTearOff* requiredExtensions() { return m_requiredExtensions->te
arOff(); } |
| 40 SVGStringListTearOff* systemLanguage() { return m_systemLanguage->tearOff();
} | 40 SVGStringListTearOff* systemLanguage() { return m_systemLanguage->tearOff();
} |
| 41 bool hasExtension(const String&); | |
| 42 | 41 |
| 43 bool isValid(Document&) const; | 42 bool isValid(Document&) const; |
| 44 | 43 |
| 45 bool parseAttribute(const QualifiedName&, const AtomicString&); | 44 bool parseAttribute(const QualifiedName&, const AtomicString&); |
| 46 bool isKnownAttribute(const QualifiedName&); | 45 bool isKnownAttribute(const QualifiedName&); |
| 47 | 46 |
| 48 void addSupportedAttributes(HashSet<QualifiedName>&); | 47 void addSupportedAttributes(HashSet<QualifiedName>&); |
| 49 | 48 |
| 50 DECLARE_VIRTUAL_TRACE(); | 49 DECLARE_VIRTUAL_TRACE(); |
| 51 | 50 |
| 52 protected: | 51 protected: |
| 53 explicit SVGTests(SVGElement* contextElement); | 52 explicit SVGTests(SVGElement* contextElement); |
| 54 | 53 |
| 55 private: | 54 private: |
| 56 RefPtrWillBeMember<SVGStaticStringList> m_requiredFeatures; | 55 RefPtrWillBeMember<SVGStaticStringList> m_requiredFeatures; |
| 57 RefPtrWillBeMember<SVGStaticStringList> m_requiredExtensions; | 56 RefPtrWillBeMember<SVGStaticStringList> m_requiredExtensions; |
| 58 RefPtrWillBeMember<SVGStaticStringList> m_systemLanguage; | 57 RefPtrWillBeMember<SVGStaticStringList> m_systemLanguage; |
| 59 }; | 58 }; |
| 60 | 59 |
| 61 } // namespace blink | 60 } // namespace blink |
| 62 | 61 |
| 63 #endif // SVGTests_h | 62 #endif // SVGTests_h |
| OLD | NEW |