| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 RefPtr<SVGAnimatedLength> m_x; | 102 RefPtr<SVGAnimatedLength> m_x; |
| 103 RefPtr<SVGAnimatedLength> m_y; | 103 RefPtr<SVGAnimatedLength> m_y; |
| 104 RefPtr<SVGAnimatedLength> m_width; | 104 RefPtr<SVGAnimatedLength> m_width; |
| 105 RefPtr<SVGAnimatedLength> m_height; | 105 RefPtr<SVGAnimatedLength> m_height; |
| 106 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGUseElement) | |
| 107 END_DECLARE_ANIMATED_PROPERTIES | |
| 108 | 106 |
| 109 bool resourceIsStillLoading(); | 107 bool resourceIsStillLoading(); |
| 110 Document* externalDocument() const; | 108 Document* externalDocument() const; |
| 111 bool instanceTreeIsLoading(SVGElementInstance*); | 109 bool instanceTreeIsLoading(SVGElementInstance*); |
| 112 virtual void notifyFinished(Resource*) OVERRIDE; | 110 virtual void notifyFinished(Resource*) OVERRIDE; |
| 113 Document* referencedDocument() const; | 111 Document* referencedDocument() const; |
| 114 void setDocumentResource(ResourcePtr<DocumentResource>); | 112 void setDocumentResource(ResourcePtr<DocumentResource>); |
| 115 | 113 |
| 116 virtual Timer<SVGElement>* svgLoadEventTimer() OVERRIDE { return &m_svgLoadE
ventTimer; } | 114 virtual Timer<SVGElement>* svgLoadEventTimer() OVERRIDE { return &m_svgLoadE
ventTimer; } |
| 117 | 115 |
| 118 bool m_wasInsertedByParser; | 116 bool m_wasInsertedByParser; |
| 119 bool m_haveFiredLoadEvent; | 117 bool m_haveFiredLoadEvent; |
| 120 bool m_needsShadowTreeRecreation; | 118 bool m_needsShadowTreeRecreation; |
| 121 RefPtr<SVGElementInstance> m_targetElementInstance; | 119 RefPtr<SVGElementInstance> m_targetElementInstance; |
| 122 ResourcePtr<DocumentResource> m_resource; | 120 ResourcePtr<DocumentResource> m_resource; |
| 123 Timer<SVGElement> m_svgLoadEventTimer; | 121 Timer<SVGElement> m_svgLoadEventTimer; |
| 124 }; | 122 }; |
| 125 | 123 |
| 126 DEFINE_NODE_TYPE_CASTS(SVGUseElement, hasTagName(SVGNames::useTag)); | 124 DEFINE_NODE_TYPE_CASTS(SVGUseElement, hasTagName(SVGNames::useTag)); |
| 127 | 125 |
| 128 } | 126 } |
| 129 | 127 |
| 130 #endif | 128 #endif |
| OLD | NEW |