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

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

Issue 268303004: Move SVGElement::finishParsingChildren to SVGSVGElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix nit Created 6 years, 7 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
« no previous file with comments | « Source/core/svg/SVGElement.cpp ('k') | Source/core/svg/SVGSVGElement.cpp » ('j') | 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 virtual void removedFrom(ContainerNode*) OVERRIDE; 129 virtual void removedFrom(ContainerNode*) OVERRIDE;
130 130
131 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; 131 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE;
132 132
133 virtual bool selfHasRelativeLengths() const OVERRIDE; 133 virtual bool selfHasRelativeLengths() const OVERRIDE;
134 134
135 void inheritViewAttributes(SVGViewElement*); 135 void inheritViewAttributes(SVGViewElement*);
136 136
137 void updateCurrentTranslate(); 137 void updateCurrentTranslate();
138 138
139 virtual void finishParsingChildren() OVERRIDE;
140
139 enum CheckIntersectionOrEnclosure { 141 enum CheckIntersectionOrEnclosure {
140 CheckIntersection, 142 CheckIntersection,
141 CheckEnclosure 143 CheckEnclosure
142 }; 144 };
143 145
144 bool checkIntersectionOrEnclosure(const SVGElement&, const FloatRect&, Check IntersectionOrEnclosure) const; 146 bool checkIntersectionOrEnclosure(const SVGElement&, const FloatRect&, Check IntersectionOrEnclosure) const;
145 PassRefPtr<NodeList> collectIntersectionOrEnclosureList(const FloatRect&, SV GElement*, CheckIntersectionOrEnclosure) const; 147 PassRefPtr<NodeList> collectIntersectionOrEnclosureList(const FloatRect&, SV GElement*, CheckIntersectionOrEnclosure) const;
146 148
147 RefPtr<SVGAnimatedLength> m_x; 149 RefPtr<SVGAnimatedLength> m_x;
148 RefPtr<SVGAnimatedLength> m_y; 150 RefPtr<SVGAnimatedLength> m_y;
149 RefPtr<SVGAnimatedLength> m_width; 151 RefPtr<SVGAnimatedLength> m_width;
150 RefPtr<SVGAnimatedLength> m_height; 152 RefPtr<SVGAnimatedLength> m_height;
151 153
152 virtual AffineTransform localCoordinateSpaceTransform(SVGElement::CTMScope) const OVERRIDE; 154 virtual AffineTransform localCoordinateSpaceTransform(SVGElement::CTMScope) const OVERRIDE;
153 155
154 bool m_useCurrentView; 156 bool m_useCurrentView;
155 RefPtr<SMILTimeContainer> m_timeContainer; 157 RefPtr<SMILTimeContainer> m_timeContainer;
156 RefPtr<SVGPoint> m_translation; 158 RefPtr<SVGPoint> m_translation;
157 RefPtr<SVGViewSpec> m_viewSpec; 159 RefPtr<SVGViewSpec> m_viewSpec;
158 160
159 friend class SVGCurrentTranslateTearOff; 161 friend class SVGCurrentTranslateTearOff;
160 }; 162 };
161 163
162 } // namespace WebCore 164 } // namespace WebCore
163 165
164 #endif 166 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGElement.cpp ('k') | Source/core/svg/SVGSVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698