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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 virtual bool hasSourceAttribute() const; | 68 virtual bool hasSourceAttribute() const; |
69 | 69 |
70 virtual void dispatchLoadEvent() { SVGExternalResourcesRequired::dispatchLoa
dEvent(this); } | 70 virtual void dispatchLoadEvent() { SVGExternalResourcesRequired::dispatchLoa
dEvent(this); } |
71 | 71 |
72 virtual PassRefPtr<Element> cloneElementWithoutAttributesAndChildren(); | 72 virtual PassRefPtr<Element> cloneElementWithoutAttributesAndChildren(); |
73 | 73 |
74 // SVGExternalResourcesRequired | 74 // SVGExternalResourcesRequired |
75 virtual void setHaveFiredLoadEvent(bool haveFiredLoadEvent) { ScriptElement:
:setHaveFiredLoadEvent(haveFiredLoadEvent); } | 75 virtual void setHaveFiredLoadEvent(bool haveFiredLoadEvent) { ScriptElement:
:setHaveFiredLoadEvent(haveFiredLoadEvent); } |
76 virtual bool isParserInserted() const { return ScriptElement::isParserInsert
ed(); } | 76 virtual bool isParserInserted() const { return ScriptElement::isParserInsert
ed(); } |
77 virtual bool haveFiredLoadEvent() const { return ScriptElement::haveFiredLoa
dEvent(); } | 77 virtual bool haveFiredLoadEvent() const { return ScriptElement::haveFiredLoa
dEvent(); } |
| 78 virtual Timer<SVGElement>* svgLoadEventTimer() OVERRIDE { return &m_svgLoadE
ventTimer; } |
78 | 79 |
79 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGScriptElement) | 80 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGScriptElement) |
80 DECLARE_ANIMATED_STRING(Href, href) | 81 DECLARE_ANIMATED_STRING(Href, href) |
81 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) | 82 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) |
82 END_DECLARE_ANIMATED_PROPERTIES | 83 END_DECLARE_ANIMATED_PROPERTIES |
83 | 84 |
84 String m_type; | 85 String m_type; |
| 86 Timer<SVGElement> m_svgLoadEventTimer; |
85 }; | 87 }; |
86 | 88 |
87 } // namespace WebCore | 89 } // namespace WebCore |
88 | 90 |
89 #endif // ENABLE(SVG) | 91 #endif // ENABLE(SVG) |
90 #endif | 92 #endif |
OLD | NEW |