OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde
.org> | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde
.org> |
3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) | 103 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) |
104 END_DECLARE_ANIMATED_PROPERTIES | 104 END_DECLARE_ANIMATED_PROPERTIES |
105 | 105 |
106 bool cachedDocumentIsStillLoading(); | 106 bool cachedDocumentIsStillLoading(); |
107 Document* externalDocument() const; | 107 Document* externalDocument() const; |
108 bool instanceTreeIsLoading(SVGElementInstance*); | 108 bool instanceTreeIsLoading(SVGElementInstance*); |
109 virtual void notifyFinished(CachedResource*); | 109 virtual void notifyFinished(CachedResource*); |
110 Document* referencedDocument() const; | 110 Document* referencedDocument() const; |
111 void setCachedDocument(CachedResourceHandle<CachedDocument>); | 111 void setCachedDocument(CachedResourceHandle<CachedDocument>); |
112 | 112 |
113 // SVGTests | |
114 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe
atures(this); } | |
115 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired
Extensions(this); } | |
116 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua
ge(this); } | |
117 | |
118 // SVGExternalResourcesRequired | 113 // SVGExternalResourcesRequired |
119 virtual void setHaveFiredLoadEvent(bool haveFiredLoadEvent) { m_haveFiredLoa
dEvent = haveFiredLoadEvent; } | 114 virtual void setHaveFiredLoadEvent(bool haveFiredLoadEvent) { m_haveFiredLoa
dEvent = haveFiredLoadEvent; } |
120 virtual bool isParserInserted() const { return m_wasInsertedByParser; } | 115 virtual bool isParserInserted() const { return m_wasInsertedByParser; } |
121 virtual bool haveFiredLoadEvent() const { return m_haveFiredLoadEvent; } | 116 virtual bool haveFiredLoadEvent() const { return m_haveFiredLoadEvent; } |
122 virtual Timer<SVGElement>* svgLoadEventTimer() OVERRIDE { return &m_svgLoadE
ventTimer; } | 117 virtual Timer<SVGElement>* svgLoadEventTimer() OVERRIDE { return &m_svgLoadE
ventTimer; } |
123 | 118 |
124 bool m_wasInsertedByParser; | 119 bool m_wasInsertedByParser; |
125 bool m_haveFiredLoadEvent; | 120 bool m_haveFiredLoadEvent; |
126 bool m_needsShadowTreeRecreation; | 121 bool m_needsShadowTreeRecreation; |
127 RefPtr<SVGElementInstance> m_targetElementInstance; | 122 RefPtr<SVGElementInstance> m_targetElementInstance; |
128 CachedResourceHandle<CachedDocument> m_cachedDocument; | 123 CachedResourceHandle<CachedDocument> m_cachedDocument; |
129 Timer<SVGElement> m_svgLoadEventTimer; | 124 Timer<SVGElement> m_svgLoadEventTimer; |
130 }; | 125 }; |
131 | 126 |
132 } | 127 } |
133 | 128 |
134 #endif | 129 #endif |
OLD | NEW |