| 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 22 matching lines...) Expand all Loading... |
| 33 , public SVGExternalResourcesRequired { | 33 , public SVGExternalResourcesRequired { |
| 34 public: | 34 public: |
| 35 SVGListPropertyTearOff<SVGPointList>* points(); | 35 SVGListPropertyTearOff<SVGPointList>* points(); |
| 36 SVGListPropertyTearOff<SVGPointList>* animatedPoints(); | 36 SVGListPropertyTearOff<SVGPointList>* animatedPoints(); |
| 37 | 37 |
| 38 SVGPointList& pointList() const { return m_points.value; } | 38 SVGPointList& pointList() const { return m_points.value; } |
| 39 | 39 |
| 40 static const SVGPropertyInfo* pointsPropertyInfo(); | 40 static const SVGPropertyInfo* pointsPropertyInfo(); |
| 41 | 41 |
| 42 protected: | 42 protected: |
| 43 SVGPolyElement(const QualifiedName&, Document*); | 43 SVGPolyElement(const QualifiedName&, Document&); |
| 44 | 44 |
| 45 private: | 45 private: |
| 46 virtual bool isValid() const { return SVGTests::isValid(); } | 46 virtual bool isValid() const { return SVGTests::isValid(); } |
| 47 virtual bool supportsFocus() const OVERRIDE { return hasFocusEventListeners(
); } | 47 virtual bool supportsFocus() const OVERRIDE { return hasFocusEventListeners(
); } |
| 48 | 48 |
| 49 bool isSupportedAttribute(const QualifiedName&); | 49 bool isSupportedAttribute(const QualifiedName&); |
| 50 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 50 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
| 51 virtual void svgAttributeChanged(const QualifiedName&); | 51 virtual void svgAttributeChanged(const QualifiedName&); |
| 52 | 52 |
| 53 virtual bool supportsMarkers() const { return true; } | 53 virtual bool supportsMarkers() const { return true; } |
| (...skipping 12 matching lines...) Expand all Loading... |
| 66 | 66 |
| 67 inline SVGPolyElement* toSVGPolyElement(SVGElement* element) | 67 inline SVGPolyElement* toSVGPolyElement(SVGElement* element) |
| 68 { | 68 { |
| 69 ASSERT_WITH_SECURITY_IMPLICATION(!element || element->hasTagName(SVGNames::p
olygonTag) || element->hasTagName(SVGNames::polylineTag)); | 69 ASSERT_WITH_SECURITY_IMPLICATION(!element || element->hasTagName(SVGNames::p
olygonTag) || element->hasTagName(SVGNames::polylineTag)); |
| 70 return static_cast<SVGPolyElement*>(element); | 70 return static_cast<SVGPolyElement*>(element); |
| 71 } | 71 } |
| 72 | 72 |
| 73 } // namespace WebCore | 73 } // namespace WebCore |
| 74 | 74 |
| 75 #endif | 75 #endif |
| OLD | NEW |