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 26 matching lines...) Expand all Loading... |
37 , public SVGLangSpace | 37 , public SVGLangSpace |
38 , public SVGExternalResourcesRequired { | 38 , public SVGExternalResourcesRequired { |
39 public: | 39 public: |
40 SVGListPropertyTearOff<SVGPointList>* points(); | 40 SVGListPropertyTearOff<SVGPointList>* points(); |
41 SVGListPropertyTearOff<SVGPointList>* animatedPoints(); | 41 SVGListPropertyTearOff<SVGPointList>* animatedPoints(); |
42 | 42 |
43 SVGPointList& pointList() const { return m_points.value; } | 43 SVGPointList& pointList() const { return m_points.value; } |
44 | 44 |
45 static const SVGPropertyInfo* pointsPropertyInfo(); | 45 static const SVGPropertyInfo* pointsPropertyInfo(); |
46 | 46 |
| 47 virtual void accept(Visitor* visitor) const OVERRIDE { SVGStyledTransformabl
eElement::accept(visitor); } |
| 48 |
47 protected: | 49 protected: |
48 SVGPolyElement(const QualifiedName&, const Handle<Document>&); | 50 SVGPolyElement(const QualifiedName&, const Handle<Document>&); |
49 | 51 |
50 private: | 52 private: |
51 virtual bool isValid() const { return SVGTests::isValid(); } | 53 virtual bool isValid() const { return SVGTests::isValid(); } |
52 virtual bool supportsFocus() const { return true; } | 54 virtual bool supportsFocus() const { return true; } |
53 | 55 |
54 bool isSupportedAttribute(const QualifiedName&); | 56 bool isSupportedAttribute(const QualifiedName&); |
55 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 57 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
56 virtual void svgAttributeChanged(const QualifiedName&); | 58 virtual void svgAttributeChanged(const QualifiedName&); |
(...skipping 20 matching lines...) Expand all Loading... |
77 inline SVGPolyElement* toSVGPolyElement(SVGElement* element) | 79 inline SVGPolyElement* toSVGPolyElement(SVGElement* element) |
78 { | 80 { |
79 ASSERT_WITH_SECURITY_IMPLICATION(!element || element->hasTagName(SVGNames::p
olygonTag) || element->hasTagName(SVGNames::polylineTag)); | 81 ASSERT_WITH_SECURITY_IMPLICATION(!element || element->hasTagName(SVGNames::p
olygonTag) || element->hasTagName(SVGNames::polylineTag)); |
80 return static_cast<SVGPolyElement*>(element); | 82 return static_cast<SVGPolyElement*>(element); |
81 } | 83 } |
82 | 84 |
83 } // namespace WebCore | 85 } // namespace WebCore |
84 | 86 |
85 #endif // ENABLE(SVG) | 87 #endif // ENABLE(SVG) |
86 #endif | 88 #endif |
OLD | NEW |