| 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 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 | 116 |
| 117 static PassRefPtr<SVGMarkerElement> create(const QualifiedName&, const Handl
e<Document>&); | 117 static PassRefPtr<SVGMarkerElement> create(const QualifiedName&, const Handl
e<Document>&); |
| 118 | 118 |
| 119 AffineTransform viewBoxToViewTransform(float viewWidth, float viewHeight) co
nst; | 119 AffineTransform viewBoxToViewTransform(float viewWidth, float viewHeight) co
nst; |
| 120 | 120 |
| 121 void setOrientToAuto(); | 121 void setOrientToAuto(); |
| 122 void setOrientToAngle(const SVGAngle&); | 122 void setOrientToAngle(const SVGAngle&); |
| 123 | 123 |
| 124 static const SVGPropertyInfo* orientTypePropertyInfo(); | 124 static const SVGPropertyInfo* orientTypePropertyInfo(); |
| 125 | 125 |
| 126 virtual void accept(Visitor* visitor) const OVERRIDE { SVGStyledElement::acc
ept(visitor); } |
| 127 |
| 126 private: | 128 private: |
| 127 SVGMarkerElement(const QualifiedName&, const Handle<Document>&); | 129 SVGMarkerElement(const QualifiedName&, const Handle<Document>&); |
| 128 | 130 |
| 129 virtual bool needsPendingResourceHandling() const { return false; } | 131 virtual bool needsPendingResourceHandling() const { return false; } |
| 130 | 132 |
| 131 bool isSupportedAttribute(const QualifiedName&); | 133 bool isSupportedAttribute(const QualifiedName&); |
| 132 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 134 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
| 133 virtual void svgAttributeChanged(const QualifiedName&); | 135 virtual void svgAttributeChanged(const QualifiedName&); |
| 134 virtual void childrenChanged(bool changedByParser = false, const Handle<Node
>& beforeChange = nullptr, const Handle<Node>& afterChange = nullptr, int childC
ountDelta = 0); | 136 virtual void childrenChanged(bool changedByParser = false, const Handle<Node
>& beforeChange = nullptr, const Handle<Node>& afterChange = nullptr, int childC
ountDelta = 0); |
| 135 | 137 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 inline SVGMarkerElement* toSVGMarkerElement(SVGElement* element) | 173 inline SVGMarkerElement* toSVGMarkerElement(SVGElement* element) |
| 172 { | 174 { |
| 173 ASSERT_WITH_SECURITY_IMPLICATION(!element || element->hasTagName(SVGNames::m
arkerTag)); | 175 ASSERT_WITH_SECURITY_IMPLICATION(!element || element->hasTagName(SVGNames::m
arkerTag)); |
| 174 return static_cast<SVGMarkerElement*>(element); | 176 return static_cast<SVGMarkerElement*>(element); |
| 175 } | 177 } |
| 176 | 178 |
| 177 } | 179 } |
| 178 | 180 |
| 179 #endif | 181 #endif |
| 180 #endif | 182 #endif |
| OLD | NEW |