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

Side by Side Diff: Source/core/svg/SVGMarkerElement.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, 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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698