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 23 matching lines...) Expand all Loading... |
34 | 34 |
35 class SVGScriptElement FINAL | 35 class SVGScriptElement FINAL |
36 : public SVGElement | 36 : public SVGElement |
37 , public SVGURIReference | 37 , public SVGURIReference |
38 , public ScriptLoaderClient { | 38 , public ScriptLoaderClient { |
39 public: | 39 public: |
40 static PassRefPtrWillBeRawPtr<SVGScriptElement> create(Document&, bool wasIn
sertedByParser); | 40 static PassRefPtrWillBeRawPtr<SVGScriptElement> create(Document&, bool wasIn
sertedByParser); |
41 | 41 |
42 ScriptLoader* loader() const { return m_loader.get(); } | 42 ScriptLoader* loader() const { return m_loader.get(); } |
43 | 43 |
44 #ifndef NDEBUG | 44 #if ENABLE(ASSERT) |
45 virtual bool isAnimatableAttribute(const QualifiedName&) const OVERRIDE; | 45 virtual bool isAnimatableAttribute(const QualifiedName&) const OVERRIDE; |
46 #endif | 46 #endif |
47 | 47 |
48 private: | 48 private: |
49 SVGScriptElement(Document&, bool wasInsertedByParser, bool alreadyStarted); | 49 SVGScriptElement(Document&, bool wasInsertedByParser, bool alreadyStarted); |
50 | 50 |
51 bool isSupportedAttribute(const QualifiedName&); | 51 bool isSupportedAttribute(const QualifiedName&); |
52 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 52 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
53 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; | 53 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |
54 virtual void didNotifySubtreeInsertionsToDocument() OVERRIDE; | 54 virtual void didNotifySubtreeInsertionsToDocument() OVERRIDE; |
(...skipping 24 matching lines...) Expand all Loading... |
79 virtual Timer<SVGElement>* svgLoadEventTimer() OVERRIDE { return &m_svgLoadE
ventTimer; } | 79 virtual Timer<SVGElement>* svgLoadEventTimer() OVERRIDE { return &m_svgLoadE
ventTimer; } |
80 | 80 |
81 | 81 |
82 Timer<SVGElement> m_svgLoadEventTimer; | 82 Timer<SVGElement> m_svgLoadEventTimer; |
83 OwnPtr<ScriptLoader> m_loader; | 83 OwnPtr<ScriptLoader> m_loader; |
84 }; | 84 }; |
85 | 85 |
86 } // namespace WebCore | 86 } // namespace WebCore |
87 | 87 |
88 #endif | 88 #endif |
OLD | NEW |