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

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

Issue 2900633003: Make TextEmphasisMark an enum class. (Closed)
Patch Set: Rebase Created 3 years, 6 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 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 type_name: "TextEmphasisFill", 412 type_name: "TextEmphasisFill",
413 default_value: "TextEmphasisFill::kFilled", 413 default_value: "TextEmphasisFill::kFilled",
414 field_size: 1, 414 field_size: 1,
415 field_group: "rare-inherited", 415 field_group: "rare-inherited",
416 }, 416 },
417 { 417 {
418 name: "TextEmphasisMark", 418 name: "TextEmphasisMark",
419 inherited: true, 419 inherited: true,
420 field_template: "storage_only", 420 field_template: "storage_only",
421 type_name: "TextEmphasisMark", 421 type_name: "TextEmphasisMark",
422 default_value: "kTextEmphasisMarkNone", 422 default_value: "TextEmphasisMark::kNone",
423 field_size: 3, 423 field_size: 3,
424 field_group: "rare-inherited", 424 field_group: "rare-inherited",
425 }, 425 },
426 { 426 {
427 name: "TextEmphasisPosition", 427 name: "TextEmphasisPosition",
428 inherited: true, 428 inherited: true,
429 field_template: "storage_only", 429 field_template: "storage_only",
430 type_name: "TextEmphasisPosition", 430 type_name: "TextEmphasisPosition",
431 default_value: "TextEmphasisPosition::kOver", 431 default_value: "TextEmphasisPosition::kOver",
432 field_size: 1, 432 field_size: 1,
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 name: "Variables", 535 name: "Variables",
536 inherited: true, 536 inherited: true,
537 field_template: "storage_only", 537 field_template: "storage_only",
538 field_type_path: "core/style/StyleInheritedVariables", 538 field_type_path: "core/style/StyleInheritedVariables",
539 default_value: "nullptr", 539 default_value: "nullptr",
540 wrapper_pointer_name: "RefPtr", 540 wrapper_pointer_name: "RefPtr",
541 field_group: "rare-inherited", 541 field_group: "rare-inherited",
542 }, 542 },
543 ], 543 ],
544 } 544 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698