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 26 matching lines...) Expand all Loading... |
37 #include "core/html/parser/HTMLParserIdioms.h" | 37 #include "core/html/parser/HTMLParserIdioms.h" |
38 #include "core/layout/svg/LayoutSVGInline.h" | 38 #include "core/layout/svg/LayoutSVGInline.h" |
39 #include "core/layout/svg/LayoutSVGText.h" | 39 #include "core/layout/svg/LayoutSVGText.h" |
40 #include "core/layout/svg/LayoutSVGTransformableContainer.h" | 40 #include "core/layout/svg/LayoutSVGTransformableContainer.h" |
41 #include "core/loader/FrameLoadRequest.h" | 41 #include "core/loader/FrameLoadRequest.h" |
42 #include "core/loader/FrameLoader.h" | 42 #include "core/loader/FrameLoader.h" |
43 #include "core/loader/FrameLoaderTypes.h" | 43 #include "core/loader/FrameLoaderTypes.h" |
44 #include "core/page/ChromeClient.h" | 44 #include "core/page/ChromeClient.h" |
45 #include "core/page/Page.h" | 45 #include "core/page/Page.h" |
46 #include "core/svg/animation/SVGSMILElement.h" | 46 #include "core/svg/animation/SVGSMILElement.h" |
47 #include "platform/PlatformMouseEvent.h" | |
48 #include "platform/network/ResourceRequest.h" | 47 #include "platform/network/ResourceRequest.h" |
49 | 48 |
50 namespace blink { | 49 namespace blink { |
51 | 50 |
52 using namespace HTMLNames; | 51 using namespace HTMLNames; |
53 | 52 |
54 inline SVGAElement::SVGAElement(Document& document) | 53 inline SVGAElement::SVGAElement(Document& document) |
55 : SVGGraphicsElement(SVGNames::aTag, document), | 54 : SVGGraphicsElement(SVGNames::aTag, document), |
56 SVGURIReference(this), | 55 SVGURIReference(this), |
57 m_svgTarget(SVGAnimatedString::create(this, SVGNames::targetAttr)), | 56 m_svgTarget(SVGAnimatedString::create(this, SVGNames::targetAttr)), |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 if (!isLink()) | 208 if (!isLink()) |
210 return SVGElement::canStartSelection(); | 209 return SVGElement::canStartSelection(); |
211 return hasEditableStyle(*this); | 210 return hasEditableStyle(*this); |
212 } | 211 } |
213 | 212 |
214 bool SVGAElement::willRespondToMouseClickEvents() { | 213 bool SVGAElement::willRespondToMouseClickEvents() { |
215 return isLink() || SVGGraphicsElement::willRespondToMouseClickEvents(); | 214 return isLink() || SVGGraphicsElement::willRespondToMouseClickEvents(); |
216 } | 215 } |
217 | 216 |
218 } // namespace blink | 217 } // namespace blink |
OLD | NEW |