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

Side by Side Diff: Source/core/rendering/svg/SVGResources.h

Issue 656913006: Remove SVG fonts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update tests for landing Created 6 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) Research In Motion Limited 2010. All rights reserved. 2 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 } 149 }
150 150
151 RenderSVGResourceMarker* markerStart; 151 RenderSVGResourceMarker* markerStart;
152 RenderSVGResourceMarker* markerMid; 152 RenderSVGResourceMarker* markerMid;
153 RenderSVGResourceMarker* markerEnd; 153 RenderSVGResourceMarker* markerEnd;
154 }; 154 };
155 155
156 // From SVG 1.1 2nd Edition 156 // From SVG 1.1 2nd Edition
157 // fill: 'shapes' and 'text content elements' 157 // fill: 'shapes' and 'text content elements'
158 // stroke: 'shapes' and 'text content elements' 158 // stroke: 'shapes' and 'text content elements'
159 // -> altGlyph, circle, ellipse, line, path, polygon, polyline, rect, text, textPath, tspan 159 // -> circle, ellipse, line, path, polygon, polyline, rect, text, textPath, tspan
160 struct FillStrokeData { 160 struct FillStrokeData {
161 WTF_MAKE_FAST_ALLOCATED; 161 WTF_MAKE_FAST_ALLOCATED;
162 public: 162 public:
163 FillStrokeData() 163 FillStrokeData()
164 : fill(0) 164 : fill(0)
165 , stroke(0) 165 , stroke(0)
166 { 166 {
167 } 167 }
168 168
169 static PassOwnPtr<FillStrokeData> create() 169 static PassOwnPtr<FillStrokeData> create()
170 { 170 {
171 return adoptPtr(new FillStrokeData); 171 return adoptPtr(new FillStrokeData);
172 } 172 }
173 173
174 RenderSVGResourcePaintServer* fill; 174 RenderSVGResourcePaintServer* fill;
175 RenderSVGResourcePaintServer* stroke; 175 RenderSVGResourcePaintServer* stroke;
176 }; 176 };
177 177
178 OwnPtr<ClipperFilterMaskerData> m_clipperFilterMaskerData; 178 OwnPtr<ClipperFilterMaskerData> m_clipperFilterMaskerData;
179 OwnPtr<MarkerData> m_markerData; 179 OwnPtr<MarkerData> m_markerData;
180 OwnPtr<FillStrokeData> m_fillStrokeData; 180 OwnPtr<FillStrokeData> m_fillStrokeData;
181 RenderSVGResourceContainer* m_linkedResource; 181 RenderSVGResourceContainer* m_linkedResource;
182 }; 182 };
183 183
184 } 184 }
185 185
186 #endif 186 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698