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

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

Issue 192093002: Drop SVGElement::isSVGSVGElement() virtual function (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
« no previous file with comments | « Source/core/svg/SVGLengthContext.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Rob Buis <buis@kde.org>
4 * Copyright (C) 2014 Google, Inc. 4 * Copyright (C) 2014 Google, Inc.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 127
128 SVGAnimatedLength* x() const { return m_x.get(); } 128 SVGAnimatedLength* x() const { return m_x.get(); }
129 SVGAnimatedLength* y() const { return m_y.get(); } 129 SVGAnimatedLength* y() const { return m_y.get(); }
130 SVGAnimatedLength* width() const { return m_width.get(); } 130 SVGAnimatedLength* width() const { return m_width.get(); }
131 SVGAnimatedLength* height() const { return m_height.get(); } 131 SVGAnimatedLength* height() const { return m_height.get(); }
132 132
133 private: 133 private:
134 explicit SVGSVGElement(Document&); 134 explicit SVGSVGElement(Document&);
135 virtual ~SVGSVGElement(); 135 virtual ~SVGSVGElement();
136 136
137 virtual bool isSVGSVGElement() const OVERRIDE { return true; }
138
139 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 137 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
140 138
141 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE; 139 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE;
142 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; 140 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
143 141
144 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; 142 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
145 virtual void removedFrom(ContainerNode*) OVERRIDE; 143 virtual void removedFrom(ContainerNode*) OVERRIDE;
146 144
147 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; 145 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE;
148 146
(...skipping 22 matching lines...) Expand all
171 RefPtr<SMILTimeContainer> m_timeContainer; 169 RefPtr<SMILTimeContainer> m_timeContainer;
172 RefPtr<SVGPoint> m_translation; 170 RefPtr<SVGPoint> m_translation;
173 RefPtr<SVGViewSpec> m_viewSpec; 171 RefPtr<SVGViewSpec> m_viewSpec;
174 172
175 friend class SVGCurrentTranslateTearOff; 173 friend class SVGCurrentTranslateTearOff;
176 }; 174 };
177 175
178 } // namespace WebCore 176 } // namespace WebCore
179 177
180 #endif 178 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGLengthContext.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698