Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(228)

Side by Side Diff: Source/core/svg/SVGPolyElement.h

Issue 24527003: [oilpan] Implement accept methods to trace the class hierarchy of SVGElement and all sub-classes. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698