| 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 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved. | 4 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved. |
| 5 * Copyright (C) 2011 Torch Mobile (Beijing) Co. Ltd. All rights reserved. | 5 * Copyright (C) 2011 Torch Mobile (Beijing) Co. Ltd. All rights reserved. |
| 6 * Copyright (C) 2012 University of Szeged | 6 * Copyright (C) 2012 University of Szeged |
| 7 * Copyright (C) 2012 Renata Hodovan <reni@webkit.org> | 7 * Copyright (C) 2012 Renata Hodovan <reni@webkit.org> |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| 11 * License as published by the Free Software Foundation; either | 11 * License as published by the Free Software Foundation; either |
| 12 * version 2 of the License, or (at your option) any later version. | 12 * version 2 of the License, or (at your option) any later version. |
| 13 * | 13 * |
| 14 * This library is distributed in the hope that it will be useful, | 14 * This library is distributed in the hope that it will be useful, |
| 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 17 * Library General Public License for more details. | 17 * Library General Public License for more details. |
| 18 * | 18 * |
| 19 * You should have received a copy of the GNU Library General Public License | 19 * You should have received a copy of the GNU Library General Public License |
| 20 * along with this library; see the file COPYING.LIB. If not, write to | 20 * along with this library; see the file COPYING.LIB. If not, write to |
| 21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 22 * Boston, MA 02110-1301, USA. | 22 * Boston, MA 02110-1301, USA. |
| 23 */ | 23 */ |
| 24 | 24 |
| 25 #include "config.h" | 25 #include "config.h" |
| 26 | 26 |
| 27 #include "core/svg/SVGUseElement.h" | 27 #include "core/svg/SVGUseElement.h" |
| 28 | 28 |
| 29 #include "HTMLNames.h" | |
| 30 #include "SVGNames.h" | 29 #include "SVGNames.h" |
| 31 #include "XLinkNames.h" | 30 #include "XLinkNames.h" |
| 32 #include "core/dom/Attribute.h" | |
| 33 #include "core/dom/Document.h" | 31 #include "core/dom/Document.h" |
| 34 #include "core/dom/Event.h" | 32 #include "core/dom/Event.h" |
| 35 #include "core/dom/EventListener.h" | |
| 36 #include "core/dom/NodeRenderStyle.h" | |
| 37 #include "core/dom/NodeTraversal.h" | 33 #include "core/dom/NodeTraversal.h" |
| 38 #include "core/dom/RegisteredEventListener.h" | |
| 39 #include "core/dom/shadow/ElementShadow.h" | 34 #include "core/dom/shadow/ElementShadow.h" |
| 40 #include "core/dom/shadow/ShadowRoot.h" | 35 #include "core/dom/shadow/ShadowRoot.h" |
| 41 #include "core/loader/cache/CachedDocument.h" | 36 #include "core/loader/cache/CachedDocument.h" |
| 42 #include "core/loader/cache/CachedResourceLoader.h" | 37 #include "core/loader/cache/CachedResourceLoader.h" |
| 43 #include "core/loader/cache/CachedResourceRequest.h" | 38 #include "core/loader/cache/CachedResourceRequest.h" |
| 44 #include "core/rendering/svg/RenderSVGResource.h" | 39 #include "core/rendering/svg/RenderSVGResource.h" |
| 45 #include "core/rendering/svg/RenderSVGTransformableContainer.h" | 40 #include "core/rendering/svg/RenderSVGTransformableContainer.h" |
| 46 #include "core/svg/SVGElementInstance.h" | 41 #include "core/svg/SVGElementInstance.h" |
| 47 #include "core/svg/SVGElementInstanceList.h" | |
| 48 #include "core/svg/SVGElementRareData.h" | |
| 49 #include "core/svg/SVGGElement.h" | 42 #include "core/svg/SVGGElement.h" |
| 50 #include "core/svg/SVGLengthContext.h" | 43 #include "core/svg/SVGLengthContext.h" |
| 51 #include "core/svg/SVGSVGElement.h" | 44 #include "core/svg/SVGSVGElement.h" |
| 52 #include "core/svg/SVGSymbolElement.h" | |
| 53 #include "core/svg/animation/SVGSMILElement.h" | |
| 54 #include "core/xml/XMLSerializer.h" | |
| 55 #include "core/xml/parser/XMLDocumentParser.h" | 45 #include "core/xml/parser/XMLDocumentParser.h" |
| 56 | 46 |
| 57 // Dump SVGElementInstance object tree - useful to debug instanceRoot problems | 47 // Dump SVGElementInstance object tree - useful to debug instanceRoot problems |
| 58 // #define DUMP_INSTANCE_TREE | 48 // #define DUMP_INSTANCE_TREE |
| 59 | 49 |
| 60 // Dump the deep-expanded shadow tree (where the renderers are built from) | 50 // Dump the deep-expanded shadow tree (where the renderers are built from) |
| 61 // #define DUMP_SHADOW_TREE | 51 // #define DUMP_SHADOW_TREE |
| 62 | 52 |
| 63 namespace WebCore { | 53 namespace WebCore { |
| 64 | 54 |
| (...skipping 934 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 999 | 989 |
| 1000 if (m_cachedDocument) | 990 if (m_cachedDocument) |
| 1001 m_cachedDocument->removeClient(this); | 991 m_cachedDocument->removeClient(this); |
| 1002 | 992 |
| 1003 m_cachedDocument = cachedDocument; | 993 m_cachedDocument = cachedDocument; |
| 1004 if (m_cachedDocument) | 994 if (m_cachedDocument) |
| 1005 m_cachedDocument->addClient(this); | 995 m_cachedDocument->addClient(this); |
| 1006 } | 996 } |
| 1007 | 997 |
| 1008 } | 998 } |
| OLD | NEW |