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 * |
11 * This library is distributed in the hope that it will be useful, | 11 * This library is distributed in the hope that it will be useful, |
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
14 * Library General Public License for more details. | 14 * Library General Public License for more details. |
15 * | 15 * |
16 * You should have received a copy of the GNU Library General Public License | 16 * You should have received a copy of the GNU Library General Public License |
17 * along with this library; see the file COPYING.LIB. If not, write to | 17 * along with this library; see the file COPYING.LIB. If not, write to |
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
19 * Boston, MA 02110-1301, USA. | 19 * Boston, MA 02110-1301, USA. |
20 */ | 20 */ |
21 | 21 |
22 #include "config.h" | 22 #include "config.h" |
23 | 23 |
24 #if ENABLE(SVG) | 24 #if ENABLE(SVG) |
25 #include "SVGTRefElement.h" | 25 #include "SVGTRefElement.h" |
26 | 26 |
27 #include "ElementShadow.h" | |
28 #include "EventListener.h" | |
29 #include "EventNames.h" | |
30 #include "ExceptionCodePlaceholder.h" | |
31 #include "MutationEvent.h" | |
32 #include "NodeRenderingContext.h" | |
33 #include "SVGDocument.h" | 27 #include "SVGDocument.h" |
34 #include "SVGElementInstance.h" | 28 #include "SVGElementInstance.h" |
35 #include "SVGNames.h" | 29 #include "SVGNames.h" |
36 #include "ShadowRoot.h" | |
37 #include "Text.h" | |
38 #include "XLinkNames.h" | 30 #include "XLinkNames.h" |
| 31 #include "core/dom/ElementShadow.h" |
| 32 #include "core/dom/EventListener.h" |
| 33 #include "core/dom/EventNames.h" |
| 34 #include "core/dom/ExceptionCodePlaceholder.h" |
| 35 #include "core/dom/MutationEvent.h" |
| 36 #include "core/dom/NodeRenderingContext.h" |
| 37 #include "core/dom/ShadowRoot.h" |
| 38 #include "core/dom/Text.h" |
39 #include "core/page/UseCounter.h" | 39 #include "core/page/UseCounter.h" |
40 #include "core/rendering/style/StyleInheritedData.h" | 40 #include "core/rendering/style/StyleInheritedData.h" |
41 #include "core/rendering/svg/RenderSVGInline.h" | 41 #include "core/rendering/svg/RenderSVGInline.h" |
42 #include "core/rendering/svg/RenderSVGInlineText.h" | 42 #include "core/rendering/svg/RenderSVGInlineText.h" |
43 #include "core/rendering/svg/RenderSVGResource.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) |
(...skipping 243 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 |