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

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

Issue 280123002: Oilpan: move LiveNodeList collections to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Have NodeRareData clear out NodeListsNodeData instead. 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/rendering/RenderTheme.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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 float getCurrentTime() const; 81 float getCurrentTime() const;
82 void setCurrentTime(float seconds); 82 void setCurrentTime(float seconds);
83 83
84 // Stubs for the deprecated 'redraw' interface. 84 // Stubs for the deprecated 'redraw' interface.
85 unsigned suspendRedraw(unsigned) { return 1; } 85 unsigned suspendRedraw(unsigned) { return 1; }
86 void unsuspendRedraw(unsigned) { } 86 void unsuspendRedraw(unsigned) { }
87 void unsuspendRedrawAll() { } 87 void unsuspendRedrawAll() { }
88 void forceRedraw() { } 88 void forceRedraw() { }
89 89
90 PassRefPtr<NodeList> getIntersectionList(PassRefPtr<SVGRectTearOff>, SVGElem ent* referenceElement) const; 90 PassRefPtrWillBeRawPtr<NodeList> getIntersectionList(PassRefPtr<SVGRectTearO ff>, SVGElement* referenceElement) const;
91 PassRefPtr<NodeList> getEnclosureList(PassRefPtr<SVGRectTearOff>, SVGElement * referenceElement) const; 91 PassRefPtrWillBeRawPtr<NodeList> getEnclosureList(PassRefPtr<SVGRectTearOff> , SVGElement* referenceElement) const;
92 bool checkIntersection(SVGElement*, PassRefPtr<SVGRectTearOff>) const; 92 bool checkIntersection(SVGElement*, PassRefPtr<SVGRectTearOff>) const;
93 bool checkEnclosure(SVGElement*, PassRefPtr<SVGRectTearOff>) const; 93 bool checkEnclosure(SVGElement*, PassRefPtr<SVGRectTearOff>) const;
94 void deselectAll(); 94 void deselectAll();
95 95
96 static PassRefPtr<SVGNumberTearOff> createSVGNumber(); 96 static PassRefPtr<SVGNumberTearOff> createSVGNumber();
97 static PassRefPtr<SVGLengthTearOff> createSVGLength(); 97 static PassRefPtr<SVGLengthTearOff> createSVGLength();
98 static PassRefPtr<SVGAngleTearOff> createSVGAngle(); 98 static PassRefPtr<SVGAngleTearOff> createSVGAngle();
99 static PassRefPtr<SVGPointTearOff> createSVGPoint(); 99 static PassRefPtr<SVGPointTearOff> createSVGPoint();
100 static PassRefPtr<SVGMatrixTearOff> createSVGMatrix(); 100 static PassRefPtr<SVGMatrixTearOff> createSVGMatrix();
101 static PassRefPtr<SVGRectTearOff> createSVGRect(); 101 static PassRefPtr<SVGRectTearOff> createSVGRect();
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 void updateCurrentTranslate(); 137 void updateCurrentTranslate();
138 138
139 virtual void finishParsingChildren() OVERRIDE; 139 virtual void finishParsingChildren() OVERRIDE;
140 140
141 enum CheckIntersectionOrEnclosure { 141 enum CheckIntersectionOrEnclosure {
142 CheckIntersection, 142 CheckIntersection,
143 CheckEnclosure 143 CheckEnclosure
144 }; 144 };
145 145
146 bool checkIntersectionOrEnclosure(const SVGElement&, const FloatRect&, Check IntersectionOrEnclosure) const; 146 bool checkIntersectionOrEnclosure(const SVGElement&, const FloatRect&, Check IntersectionOrEnclosure) const;
147 PassRefPtr<NodeList> collectIntersectionOrEnclosureList(const FloatRect&, SV GElement*, CheckIntersectionOrEnclosure) const; 147 PassRefPtrWillBeRawPtr<NodeList> collectIntersectionOrEnclosureList(const Fl oatRect&, SVGElement*, CheckIntersectionOrEnclosure) const;
148 148
149 RefPtr<SVGAnimatedLength> m_x; 149 RefPtr<SVGAnimatedLength> m_x;
150 RefPtr<SVGAnimatedLength> m_y; 150 RefPtr<SVGAnimatedLength> m_y;
151 RefPtr<SVGAnimatedLength> m_width; 151 RefPtr<SVGAnimatedLength> m_width;
152 RefPtr<SVGAnimatedLength> m_height; 152 RefPtr<SVGAnimatedLength> m_height;
153 153
154 virtual AffineTransform localCoordinateSpaceTransform(SVGElement::CTMScope) const OVERRIDE; 154 virtual AffineTransform localCoordinateSpaceTransform(SVGElement::CTMScope) const OVERRIDE;
155 155
156 bool m_useCurrentView; 156 bool m_useCurrentView;
157 RefPtr<SMILTimeContainer> m_timeContainer; 157 RefPtr<SMILTimeContainer> m_timeContainer;
158 RefPtr<SVGPoint> m_translation; 158 RefPtr<SVGPoint> m_translation;
159 RefPtr<SVGViewSpec> m_viewSpec; 159 RefPtr<SVGViewSpec> m_viewSpec;
160 160
161 friend class SVGCurrentTranslateTearOff; 161 friend class SVGCurrentTranslateTearOff;
162 }; 162 };
163 163
164 } // namespace WebCore 164 } // namespace WebCore
165 165
166 #endif 166 #endif
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderTheme.cpp ('k') | Source/core/svg/SVGSVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698