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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 void expandUseElementsInShadowTree(Node* element); | 92 void expandUseElementsInShadowTree(Node* element); |
93 void expandSymbolElementsInShadowTree(Node* element); | 93 void expandSymbolElementsInShadowTree(Node* element); |
94 | 94 |
95 // "Tree connector" | 95 // "Tree connector" |
96 void associateInstancesWithShadowTreeElements(Node* target, SVGElementInstan
ce* targetInstance); | 96 void associateInstancesWithShadowTreeElements(Node* target, SVGElementInstan
ce* targetInstance); |
97 SVGElementInstance* instanceForShadowTreeElement(Node* element, SVGElementIn
stance* instance) const; | 97 SVGElementInstance* instanceForShadowTreeElement(Node* element, SVGElementIn
stance* instance) const; |
98 | 98 |
99 void transferUseAttributesToReplacedElement(SVGElement* from, SVGElement* to
) const; | 99 void transferUseAttributesToReplacedElement(SVGElement* from, SVGElement* to
) const; |
100 void transferEventListenersToShadowTree(SVGElementInstance* target); | 100 void transferEventListenersToShadowTree(SVGElementInstance* target); |
101 | 101 |
| 102 bool isInUserAgentShadowTree() const; |
| 103 |
102 RefPtr<SVGAnimatedLength> m_x; | 104 RefPtr<SVGAnimatedLength> m_x; |
103 RefPtr<SVGAnimatedLength> m_y; | 105 RefPtr<SVGAnimatedLength> m_y; |
104 RefPtr<SVGAnimatedLength> m_width; | 106 RefPtr<SVGAnimatedLength> m_width; |
105 RefPtr<SVGAnimatedLength> m_height; | 107 RefPtr<SVGAnimatedLength> m_height; |
106 | 108 |
107 bool resourceIsStillLoading(); | 109 bool resourceIsStillLoading(); |
108 Document* externalDocument() const; | 110 Document* externalDocument() const; |
109 bool instanceTreeIsLoading(SVGElementInstance*); | 111 bool instanceTreeIsLoading(SVGElementInstance*); |
110 virtual void notifyFinished(Resource*) OVERRIDE; | 112 virtual void notifyFinished(Resource*) OVERRIDE; |
111 Document* referencedDocument() const; | 113 Document* referencedDocument() const; |
112 void setDocumentResource(ResourcePtr<DocumentResource>); | 114 void setDocumentResource(ResourcePtr<DocumentResource>); |
113 | 115 |
114 virtual Timer<SVGElement>* svgLoadEventTimer() OVERRIDE { return &m_svgLoadE
ventTimer; } | 116 virtual Timer<SVGElement>* svgLoadEventTimer() OVERRIDE { return &m_svgLoadE
ventTimer; } |
115 | 117 |
116 bool m_wasInsertedByParser; | 118 bool m_wasInsertedByParser; |
117 bool m_haveFiredLoadEvent; | 119 bool m_haveFiredLoadEvent; |
118 bool m_needsShadowTreeRecreation; | 120 bool m_needsShadowTreeRecreation; |
119 RefPtr<SVGElementInstance> m_targetElementInstance; | 121 RefPtr<SVGElementInstance> m_targetElementInstance; |
120 ResourcePtr<DocumentResource> m_resource; | 122 ResourcePtr<DocumentResource> m_resource; |
121 Timer<SVGElement> m_svgLoadEventTimer; | 123 Timer<SVGElement> m_svgLoadEventTimer; |
122 }; | 124 }; |
123 | 125 |
124 } | 126 } |
125 | 127 |
126 #endif | 128 #endif |
OLD | NEW |