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

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

Issue 2905493008: Make TextIndentType 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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 type_name: "TextIndentLine", 439 type_name: "TextIndentLine",
440 default_value: "TextIndentLine::kFirstLine", 440 default_value: "TextIndentLine::kFirstLine",
441 field_size: 1, 441 field_size: 1,
442 field_group: "rare-inherited", 442 field_group: "rare-inherited",
443 }, 443 },
444 { 444 {
445 name: "TextIndentType", 445 name: "TextIndentType",
446 inherited: true, 446 inherited: true,
447 field_template: "storage_only", 447 field_template: "storage_only",
448 type_name: "TextIndentType", 448 type_name: "TextIndentType",
449 default_value: "kTextIndentNormal", 449 default_value: "TextIndentType::kNormal",
450 field_size: 1, 450 field_size: 1,
451 field_group: "rare-inherited", 451 field_group: "rare-inherited",
452 }, 452 },
453 // Though will-change is not itself an inherited property, the intent 453 // Though will-change is not itself an inherited property, the intent
454 // expressed by 'will-change: contents' includes descendants. 454 // expressed by 'will-change: contents' includes descendants.
455 { 455 {
456 name: "SubtreeWillChangeContents", 456 name: "SubtreeWillChangeContents",
457 inherited: true, 457 inherited: true,
458 field_template: "storage_only", 458 field_template: "storage_only",
459 type_name: "bool", 459 type_name: "bool",
(...skipping 75 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