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

Side by Side Diff: third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5

Issue 2845773002: Make TextDecoration an enum class. (Closed)
Patch Set: Rebase Created 3 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
OLDNEW
1 { 1 {
2 // This file specifies fields in ComputedStyle that we would like to 2 // This file specifies fields in ComputedStyle that we would like to
3 // generate, but are not CSS properties. 3 // generate, but are not CSS properties.
4 4
5 parameters: { 5 parameters: {
6 // If the field has_custom_compare_and_copy, then it does not appear in 6 // If the field has_custom_compare_and_copy, then it does not appear in
7 // ComputedStyle::operator== and ComputedStyle::CopyNonInheritedFromCached. 7 // ComputedStyle::operator== and ComputedStyle::CopyNonInheritedFromCached.
8 has_custom_compare_and_copy: { 8 has_custom_compare_and_copy: {
9 default: false, 9 default: false,
10 }, 10 },
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 field_template: "storage_only", 201 field_template: "storage_only",
202 field_type_path: "core/css/StyleColor", 202 field_type_path: "core/css/StyleColor",
203 default_value: "Color::kTransparent", 203 default_value: "Color::kTransparent",
204 field_group: "background", 204 field_group: "background",
205 }, 205 },
206 { 206 {
207 name: "TextDecoration", 207 name: "TextDecoration",
208 field_template: "storage_only", 208 field_template: "storage_only",
209 type_name: "TextDecoration", 209 type_name: "TextDecoration",
210 field_size: 4, 210 field_size: 4,
211 default_value: "kTextDecorationNone", 211 default_value: "TextDecoration::kNone",
212 field_group: "visual", 212 field_group: "visual",
213 }, 213 },
214 { 214 {
215 name: "HasAutoClip", 215 name: "HasAutoClip",
216 field_template: "storage_only", 216 field_template: "storage_only",
217 type_name: "bool", 217 type_name: "bool",
218 field_size: 1, 218 field_size: 1,
219 default_value: "true", 219 default_value: "true",
220 field_group: "visual", 220 field_group: "visual",
221 }, 221 },
222 ], 222 ],
223 } 223 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698