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

Side by Side Diff: Source/core/rendering/style/SVGRenderStyleDefs.h

Issue 234453002: Remove SVG1.1 kerning property (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org>
3 2004, 2005 Rob Buis <buis@kde.org> 3 2004, 2005 Rob Buis <buis@kde.org>
4 Copyright (C) Research In Motion Limited 2010. All rights reserved. 4 Copyright (C) Research In Motion Limited 2010. All rights reserved.
5 5
6 Based on khtml code by: 6 Based on khtml code by:
7 Copyright (C) 2000-2003 Lars Knoll (knoll@kde.org) 7 Copyright (C) 2000-2003 Lars Knoll (knoll@kde.org)
8 (C) 2000 Antti Koivisto (koivisto@kde.org) 8 (C) 2000 Antti Koivisto (koivisto@kde.org)
9 (C) 2000-2003 Dirk Mueller (mueller@kde.org) 9 (C) 2000-2003 Dirk Mueller (mueller@kde.org)
10 (C) 2002-2003 Apple Computer, Inc. 10 (C) 2002-2003 Apple Computer, Inc.
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 } 175 }
176 176
177 float opacity; 177 float opacity;
178 Color color; 178 Color color;
179 179
180 private: 180 private:
181 StyleStopData(); 181 StyleStopData();
182 StyleStopData(const StyleStopData&); 182 StyleStopData(const StyleStopData&);
183 }; 183 };
184 184
185 class StyleTextData : public RefCounted<StyleTextData> {
pdr. 2014/04/11 00:25:21 This class was used to just store kerning. Interes
186 public:
187 static PassRefPtr<StyleTextData> create() { return adoptRef(new StyleTex tData); }
188 PassRefPtr<StyleTextData> copy() const { return adoptRef(new StyleTextDa ta(*this)); }
189
190 bool operator==(const StyleTextData& other) const;
191 bool operator!=(const StyleTextData& other) const
192 {
193 return !(*this == other);
194 }
195
196 RefPtr<SVGLength> kerning;
197
198 private:
199 StyleTextData();
200 StyleTextData(const StyleTextData&);
201 };
202
203 // Note: the rule for this class is, *no inheritance* of these props 185 // Note: the rule for this class is, *no inheritance* of these props
204 class StyleMiscData : public RefCounted<StyleMiscData> { 186 class StyleMiscData : public RefCounted<StyleMiscData> {
205 public: 187 public:
206 static PassRefPtr<StyleMiscData> create() { return adoptRef(new StyleMis cData); } 188 static PassRefPtr<StyleMiscData> create() { return adoptRef(new StyleMis cData); }
207 PassRefPtr<StyleMiscData> copy() const { return adoptRef(new StyleMiscDa ta(*this)); } 189 PassRefPtr<StyleMiscData> copy() const { return adoptRef(new StyleMiscDa ta(*this)); }
208 190
209 bool operator==(const StyleMiscData&) const; 191 bool operator==(const StyleMiscData&) const;
210 bool operator!=(const StyleMiscData& other) const 192 bool operator!=(const StyleMiscData& other) const
211 { 193 {
212 return !(*this == other); 194 return !(*this == other);
213 } 195 }
214 196
215 Color floodColor; 197 Color floodColor;
216 float floodOpacity; 198 float floodOpacity;
217 Color lightingColor; 199 Color lightingColor;
218 200
219 // non-inherited text stuff lives here not in StyleTextData.
220 RefPtr<SVGLength> baselineShiftValue; 201 RefPtr<SVGLength> baselineShiftValue;
221 202
222 private: 203 private:
223 StyleMiscData(); 204 StyleMiscData();
224 StyleMiscData(const StyleMiscData&); 205 StyleMiscData(const StyleMiscData&);
225 }; 206 };
226 207
227 // Non-inherited resources 208 // Non-inherited resources
228 class StyleResourceData : public RefCounted<StyleResourceData> { 209 class StyleResourceData : public RefCounted<StyleResourceData> {
229 public: 210 public:
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 AtomicString markerEnd; 243 AtomicString markerEnd;
263 244
264 private: 245 private:
265 StyleInheritedResourceData(); 246 StyleInheritedResourceData();
266 StyleInheritedResourceData(const StyleInheritedResourceData&); 247 StyleInheritedResourceData(const StyleInheritedResourceData&);
267 }; 248 };
268 249
269 } // namespace WebCore 250 } // namespace WebCore
270 251
271 #endif // SVGRenderStyleDefs_h 252 #endif // SVGRenderStyleDefs_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698