OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006, 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 * | 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 SVGPathByteStream* pathByteStream() const; | 96 SVGPathByteStream* pathByteStream() const; |
97 | 97 |
98 void pathSegListChanged(SVGPathSegRole, ListModification = ListModificationU
nknown); | 98 void pathSegListChanged(SVGPathSegRole, ListModification = ListModificationU
nknown); |
99 | 99 |
100 virtual FloatRect getBBox(StyleUpdateStrategy = AllowStyleUpdate); | 100 virtual FloatRect getBBox(StyleUpdateStrategy = AllowStyleUpdate); |
101 | 101 |
102 static const SVGPropertyInfo* dPropertyInfo(); | 102 static const SVGPropertyInfo* dPropertyInfo(); |
103 | 103 |
104 bool isAnimValObserved() const { return m_isAnimValObserved; } | 104 bool isAnimValObserved() const { return m_isAnimValObserved; } |
105 | 105 |
| 106 virtual void accept(Visitor* visitor) const OVERRIDE { SVGStyledTransformabl
eElement::accept(visitor); } |
| 107 |
106 private: | 108 private: |
107 SVGPathElement(const QualifiedName&, const Handle<Document>&); | 109 SVGPathElement(const QualifiedName&, const Handle<Document>&); |
108 | 110 |
109 virtual bool isValid() const { return SVGTests::isValid(); } | 111 virtual bool isValid() const { return SVGTests::isValid(); } |
110 virtual bool supportsFocus() const { return true; } | 112 virtual bool supportsFocus() const { return true; } |
111 | 113 |
112 bool isSupportedAttribute(const QualifiedName&); | 114 bool isSupportedAttribute(const QualifiedName&); |
113 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 115 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
114 virtual void svgAttributeChanged(const QualifiedName&); | 116 virtual void svgAttributeChanged(const QualifiedName&); |
115 virtual bool supportsMarkers() const { return true; } | 117 virtual bool supportsMarkers() const { return true; } |
(...skipping 28 matching lines...) Expand all Loading... |
144 inline SVGPathElement* toSVGPathElement(SVGElement* element) | 146 inline SVGPathElement* toSVGPathElement(SVGElement* element) |
145 { | 147 { |
146 ASSERT_WITH_SECURITY_IMPLICATION(!element || element->hasTagName(SVGNames::p
athTag)); | 148 ASSERT_WITH_SECURITY_IMPLICATION(!element || element->hasTagName(SVGNames::p
athTag)); |
147 return static_cast<SVGPathElement*>(element); | 149 return static_cast<SVGPathElement*>(element); |
148 } | 150 } |
149 | 151 |
150 } // namespace WebCore | 152 } // namespace WebCore |
151 | 153 |
152 #endif // ENABLE(SVG) | 154 #endif // ENABLE(SVG) |
153 #endif | 155 #endif |
OLD | NEW |