| 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, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2007 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 24 matching lines...) Expand all Loading... |
| 35 | 35 |
| 36 class SVGScriptElement final | 36 class SVGScriptElement final |
| 37 : public SVGElement | 37 : public SVGElement |
| 38 , public SVGURIReference | 38 , public SVGURIReference |
| 39 , public ScriptLoaderClient { | 39 , public ScriptLoaderClient { |
| 40 DEFINE_WRAPPERTYPEINFO(); | 40 DEFINE_WRAPPERTYPEINFO(); |
| 41 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGScriptElement); | 41 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGScriptElement); |
| 42 public: | 42 public: |
| 43 static PassRefPtrWillBeRawPtr<SVGScriptElement> create(Document&, bool wasIn
sertedByParser); | 43 static PassRefPtrWillBeRawPtr<SVGScriptElement> create(Document&, bool wasIn
sertedByParser); |
| 44 | 44 |
| 45 ScriptLoader* loader() const; | 45 ScriptLoader* loader() const { return m_loader.get(); } |
| 46 | 46 |
| 47 #if ENABLE(ASSERT) | 47 #if ENABLE(ASSERT) |
| 48 bool isAnimatableAttribute(const QualifiedName&) const override; | 48 bool isAnimatableAttribute(const QualifiedName&) const override; |
| 49 #endif | 49 #endif |
| 50 | 50 |
| 51 DECLARE_VIRTUAL_TRACE(); | 51 DECLARE_VIRTUAL_TRACE(); |
| 52 | 52 |
| 53 private: | 53 private: |
| 54 SVGScriptElement(Document&, bool wasInsertedByParser, bool alreadyStarted); | 54 SVGScriptElement(Document&, bool wasInsertedByParser, bool alreadyStarted); |
| 55 | 55 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 80 | 80 |
| 81 PassRefPtrWillBeRawPtr<Element> cloneElementWithoutAttributesAndChildren() o
verride; | 81 PassRefPtrWillBeRawPtr<Element> cloneElementWithoutAttributesAndChildren() o
verride; |
| 82 bool layoutObjectIsNeeded(const ComputedStyle&) override { return false; } | 82 bool layoutObjectIsNeeded(const ComputedStyle&) override { return false; } |
| 83 | 83 |
| 84 OwnPtrWillBeMember<ScriptLoader> m_loader; | 84 OwnPtrWillBeMember<ScriptLoader> m_loader; |
| 85 }; | 85 }; |
| 86 | 86 |
| 87 } // namespace blink | 87 } // namespace blink |
| 88 | 88 |
| 89 #endif // SVGScriptElement_h | 89 #endif // SVGScriptElement_h |
| OLD | NEW |