| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 4 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 #if ENABLE(SVG) | 24 #if ENABLE(SVG) |
| 25 #include "SVGTRefElement.h" | 25 #include "SVGTRefElement.h" |
| 26 | 26 |
| 27 #include "ElementShadow.h" | 27 #include "ElementShadow.h" |
| 28 #include "EventListener.h" | 28 #include "EventListener.h" |
| 29 #include "EventNames.h" | 29 #include "EventNames.h" |
| 30 #include "ExceptionCodePlaceholder.h" | 30 #include "ExceptionCodePlaceholder.h" |
| 31 #include "MutationEvent.h" | 31 #include "MutationEvent.h" |
| 32 #include "NodeRenderingContext.h" | 32 #include "NodeRenderingContext.h" |
| 33 #include "RenderSVGInline.h" | |
| 34 #include "RenderSVGInlineText.h" | |
| 35 #include "RenderSVGResource.h" | |
| 36 #include "SVGDocument.h" | 33 #include "SVGDocument.h" |
| 37 #include "SVGElementInstance.h" | 34 #include "SVGElementInstance.h" |
| 38 #include "SVGNames.h" | 35 #include "SVGNames.h" |
| 39 #include "ShadowRoot.h" | 36 #include "ShadowRoot.h" |
| 40 #include "Text.h" | 37 #include "Text.h" |
| 41 #include "UseCounter.h" | 38 #include "UseCounter.h" |
| 42 #include "XLinkNames.h" | 39 #include "XLinkNames.h" |
| 43 #include "core/rendering/style/StyleInheritedData.h" | 40 #include "core/rendering/style/StyleInheritedData.h" |
| 41 #include "core/rendering/svg/RenderSVGInline.h" |
| 42 #include "core/rendering/svg/RenderSVGInlineText.h" |
| 43 #include "core/rendering/svg/RenderSVGResource.h" |
| 44 | 44 |
| 45 namespace WebCore { | 45 namespace WebCore { |
| 46 | 46 |
| 47 // Animated property definitions | 47 // Animated property definitions |
| 48 DEFINE_ANIMATED_STRING(SVGTRefElement, XLinkNames::hrefAttr, Href, href) | 48 DEFINE_ANIMATED_STRING(SVGTRefElement, XLinkNames::hrefAttr, Href, href) |
| 49 | 49 |
| 50 BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGTRefElement) | 50 BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGTRefElement) |
| 51 REGISTER_LOCAL_ANIMATED_PROPERTY(href) | 51 REGISTER_LOCAL_ANIMATED_PROPERTY(href) |
| 52 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGTextPositioningElement) | 52 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGTextPositioningElement) |
| 53 END_REGISTER_ANIMATED_PROPERTIES | 53 END_REGISTER_ANIMATED_PROPERTIES |
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 void SVGTRefElement::removedFrom(ContainerNode* rootParent) | 292 void SVGTRefElement::removedFrom(ContainerNode* rootParent) |
| 293 { | 293 { |
| 294 SVGStyledElement::removedFrom(rootParent); | 294 SVGStyledElement::removedFrom(rootParent); |
| 295 if (rootParent->inDocument()) | 295 if (rootParent->inDocument()) |
| 296 m_targetListener->detach(); | 296 m_targetListener->detach(); |
| 297 } | 297 } |
| 298 | 298 |
| 299 } | 299 } |
| 300 | 300 |
| 301 #endif // ENABLE(SVG) | 301 #endif // ENABLE(SVG) |
| OLD | NEW |