| 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 13 matching lines...) Expand all Loading... |
| 24 #include "core/CoreExport.h" | 24 #include "core/CoreExport.h" |
| 25 #include "core/svg/SVGStaticStringList.h" | 25 #include "core/svg/SVGStaticStringList.h" |
| 26 #include "platform/heap/Handle.h" | 26 #include "platform/heap/Handle.h" |
| 27 | 27 |
| 28 namespace blink { | 28 namespace blink { |
| 29 | 29 |
| 30 class Document; | 30 class Document; |
| 31 class QualifiedName; | 31 class QualifiedName; |
| 32 class SVGElement; | 32 class SVGElement; |
| 33 | 33 |
| 34 class CORE_EXPORT SVGTests : public WillBeGarbageCollectedMixin { | 34 class CORE_EXPORT SVGTests : public GarbageCollectedMixin { |
| 35 public: | 35 public: |
| 36 // JS API | 36 // JS API |
| 37 SVGStringListTearOff* requiredFeatures() { return m_requiredFeatures->tearOf
f(); } | 37 SVGStringListTearOff* requiredFeatures() { return m_requiredFeatures->tearOf
f(); } |
| 38 SVGStringListTearOff* requiredExtensions() { return m_requiredExtensions->te
arOff(); } | 38 SVGStringListTearOff* requiredExtensions() { return m_requiredExtensions->te
arOff(); } |
| 39 SVGStringListTearOff* systemLanguage() { return m_systemLanguage->tearOff();
} | 39 SVGStringListTearOff* systemLanguage() { return m_systemLanguage->tearOff();
} |
| 40 | 40 |
| 41 bool isValid() const; | 41 bool isValid() const; |
| 42 | 42 |
| 43 bool isKnownAttribute(const QualifiedName&); | 43 bool isKnownAttribute(const QualifiedName&); |
| 44 | 44 |
| 45 DECLARE_VIRTUAL_TRACE(); | 45 DECLARE_VIRTUAL_TRACE(); |
| 46 | 46 |
| 47 protected: | 47 protected: |
| 48 explicit SVGTests(SVGElement* contextElement); | 48 explicit SVGTests(SVGElement* contextElement); |
| 49 | 49 |
| 50 private: | 50 private: |
| 51 RefPtrWillBeMember<SVGStaticStringList> m_requiredFeatures; | 51 Member<SVGStaticStringList> m_requiredFeatures; |
| 52 RefPtrWillBeMember<SVGStaticStringList> m_requiredExtensions; | 52 Member<SVGStaticStringList> m_requiredExtensions; |
| 53 RefPtrWillBeMember<SVGStaticStringList> m_systemLanguage; | 53 Member<SVGStaticStringList> m_systemLanguage; |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 } // namespace blink | 56 } // namespace blink |
| 57 | 57 |
| 58 #endif // SVGTests_h | 58 #endif // SVGTests_h |
| OLD | NEW |