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 28 matching lines...) Expand all Loading... |
39 DEFINE_WRAPPERTYPEINFO(); | 39 DEFINE_WRAPPERTYPEINFO(); |
40 public: | 40 public: |
41 static PassRefPtrWillBeRawPtr<SVGScriptElement> create(Document&, bool wasIn
sertedByParser); | 41 static PassRefPtrWillBeRawPtr<SVGScriptElement> create(Document&, bool wasIn
sertedByParser); |
42 | 42 |
43 ScriptLoader* loader() const { return m_loader.get(); } | 43 ScriptLoader* loader() const { return m_loader.get(); } |
44 | 44 |
45 #if ENABLE(ASSERT) | 45 #if ENABLE(ASSERT) |
46 virtual bool isAnimatableAttribute(const QualifiedName&) const override; | 46 virtual bool isAnimatableAttribute(const QualifiedName&) const override; |
47 #endif | 47 #endif |
48 | 48 |
49 virtual void trace(Visitor*) override; | |
50 | |
51 private: | 49 private: |
52 SVGScriptElement(Document&, bool wasInsertedByParser, bool alreadyStarted); | 50 SVGScriptElement(Document&, bool wasInsertedByParser, bool alreadyStarted); |
53 virtual ~SVGScriptElement(); | 51 virtual ~SVGScriptElement(); |
54 | 52 |
55 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; | 53 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; |
56 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; | 54 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; |
57 virtual void didNotifySubtreeInsertionsToDocument() override; | 55 virtual void didNotifySubtreeInsertionsToDocument() override; |
58 virtual void childrenChanged(const ChildrenChange&) override; | 56 virtual void childrenChanged(const ChildrenChange&) override; |
59 virtual void didMoveToNewDocument(Document& oldDocument) override; | 57 virtual void didMoveToNewDocument(Document& oldDocument) override; |
60 | 58 |
(...skipping 14 matching lines...) Expand all Loading... |
75 virtual bool deferAttributeValue() const override; | 73 virtual bool deferAttributeValue() const override; |
76 virtual bool hasSourceAttribute() const override; | 74 virtual bool hasSourceAttribute() const override; |
77 | 75 |
78 virtual void dispatchLoadEvent() override; | 76 virtual void dispatchLoadEvent() override; |
79 | 77 |
80 virtual PassRefPtrWillBeRawPtr<Element> cloneElementWithoutAttributesAndChil
dren() override; | 78 virtual PassRefPtrWillBeRawPtr<Element> cloneElementWithoutAttributesAndChil
dren() override; |
81 virtual bool rendererIsNeeded(const RenderStyle&) override { return false; } | 79 virtual bool rendererIsNeeded(const RenderStyle&) override { return false; } |
82 | 80 |
83 virtual Timer<SVGElement>* svgLoadEventTimer() override { return &m_svgLoadE
ventTimer; } | 81 virtual Timer<SVGElement>* svgLoadEventTimer() override { return &m_svgLoadE
ventTimer; } |
84 | 82 |
| 83 |
85 Timer<SVGElement> m_svgLoadEventTimer; | 84 Timer<SVGElement> m_svgLoadEventTimer; |
86 OwnPtrWillBeMember<ScriptLoader> m_loader; | 85 OwnPtr<ScriptLoader> m_loader; |
87 }; | 86 }; |
88 | 87 |
89 } // namespace blink | 88 } // namespace blink |
90 | 89 |
91 #endif // SVGScriptElement_h | 90 #endif // SVGScriptElement_h |
OLD | NEW |