| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2007 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
| 5 * Copyright (C) 2010 Apple Inc. All rights reserved. | 5 * Copyright (C) 2010 Apple Inc. All rights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 #include "core/html/HTMLAnchorElement.h" | 35 #include "core/html/HTMLAnchorElement.h" |
| 36 #include "core/html/HTMLFormElement.h" | 36 #include "core/html/HTMLFormElement.h" |
| 37 #include "core/html/parser/HTMLParserIdioms.h" | 37 #include "core/html/parser/HTMLParserIdioms.h" |
| 38 #include "core/loader/FrameLoadRequest.h" | 38 #include "core/loader/FrameLoadRequest.h" |
| 39 #include "core/loader/FrameLoader.h" | 39 #include "core/loader/FrameLoader.h" |
| 40 #include "core/loader/FrameLoaderTypes.h" | 40 #include "core/loader/FrameLoaderTypes.h" |
| 41 #include "core/page/Chrome.h" | 41 #include "core/page/Chrome.h" |
| 42 #include "core/page/ChromeClient.h" | 42 #include "core/page/ChromeClient.h" |
| 43 #include "core/page/Frame.h" | 43 #include "core/page/Frame.h" |
| 44 #include "core/page/Page.h" | 44 #include "core/page/Page.h" |
| 45 #include "core/platform/PlatformMouseEvent.h" | |
| 46 #include "core/platform/network/ResourceRequest.h" | 45 #include "core/platform/network/ResourceRequest.h" |
| 47 #include "core/rendering/svg/RenderSVGInline.h" | 46 #include "core/rendering/svg/RenderSVGInline.h" |
| 48 #include "core/rendering/svg/RenderSVGText.h" | 47 #include "core/rendering/svg/RenderSVGText.h" |
| 49 #include "core/rendering/svg/RenderSVGTransformableContainer.h" | 48 #include "core/rendering/svg/RenderSVGTransformableContainer.h" |
| 50 #include "core/svg/SVGElementInstance.h" | 49 #include "core/svg/SVGElementInstance.h" |
| 51 #include "core/svg/animation/SVGSMILElement.h" | 50 #include "core/svg/animation/SVGSMILElement.h" |
| 51 #include "platform/PlatformMouseEvent.h" |
| 52 | 52 |
| 53 namespace WebCore { | 53 namespace WebCore { |
| 54 | 54 |
| 55 using namespace HTMLNames; | 55 using namespace HTMLNames; |
| 56 | 56 |
| 57 // Animated property definitions | 57 // Animated property definitions |
| 58 DEFINE_ANIMATED_STRING(SVGAElement, SVGNames::targetAttr, SVGTarget, svgTarget) | 58 DEFINE_ANIMATED_STRING(SVGAElement, SVGNames::targetAttr, SVGTarget, svgTarget) |
| 59 DEFINE_ANIMATED_STRING(SVGAElement, XLinkNames::hrefAttr, Href, href) | 59 DEFINE_ANIMATED_STRING(SVGAElement, XLinkNames::hrefAttr, Href, href) |
| 60 DEFINE_ANIMATED_BOOLEAN(SVGAElement, SVGNames::externalResourcesRequiredAttr, Ex
ternalResourcesRequired, externalResourcesRequired) | 60 DEFINE_ANIMATED_BOOLEAN(SVGAElement, SVGNames::externalResourcesRequiredAttr, Ex
ternalResourcesRequired, externalResourcesRequired) |
| 61 | 61 |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 // The 'a' element may contain any element that its parent may contain, exce
pt itself. | 232 // The 'a' element may contain any element that its parent may contain, exce
pt itself. |
| 233 if (child.hasTagName(SVGNames::aTag)) | 233 if (child.hasTagName(SVGNames::aTag)) |
| 234 return false; | 234 return false; |
| 235 if (parentNode() && parentNode()->isSVGElement()) | 235 if (parentNode() && parentNode()->isSVGElement()) |
| 236 return parentNode()->childShouldCreateRenderer(child); | 236 return parentNode()->childShouldCreateRenderer(child); |
| 237 | 237 |
| 238 return SVGElement::childShouldCreateRenderer(child); | 238 return SVGElement::childShouldCreateRenderer(child); |
| 239 } | 239 } |
| 240 | 240 |
| 241 } // namespace WebCore | 241 } // namespace WebCore |
| OLD | NEW |