Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 true, we do not include this field in ComputedStyleBase::InheritFrom | 6 // If true, we do not include this field in ComputedStyleBase::InheritFrom |
| 7 // and ComputedStyleBase::CopyNonInheritedFromCached. | 7 // and ComputedStyleBase::CopyNonInheritedFromCached. |
| 8 custom_copy: { | 8 custom_copy: { |
| 9 default: false, | 9 default: false, |
| 10 }, | 10 }, |
| (...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 476 }, | 476 }, |
| 477 { | 477 { |
| 478 name: "HyphenationLimitLines", | 478 name: "HyphenationLimitLines", |
| 479 inherited: true, | 479 inherited: true, |
| 480 field_template: "storage_only", | 480 field_template: "storage_only", |
| 481 type_name: "short", | 481 type_name: "short", |
| 482 default_value: "-1", | 482 default_value: "-1", |
| 483 field_group: "rare-inherited", | 483 field_group: "rare-inherited", |
| 484 }, | 484 }, |
| 485 { | 485 { |
| 486 name: "EffectiveTouchAction", | |
| 487 inherited: true, | |
| 488 field_template: "storage_only", | |
| 489 include_paths: ["platform/graphics/TouchAction.h"], | |
| 490 type_name: "TouchAction", | |
| 491 default_value: "TouchAction::kTouchActionAuto", | |
| 492 field_group: "rare-inherited", | |
|
shend
2017/06/30 03:05:40
Adding "field_size: 6" would pack the storage of t
sunxd
2017/07/04 15:35:42
Done.
| |
| 493 }, | |
| 494 { | |
| 486 name: "TextEmphasisCustomMark", | 495 name: "TextEmphasisCustomMark", |
| 487 inherited: true, | 496 inherited: true, |
| 488 field_template: "external", | 497 field_template: "external", |
| 489 type_name: "AtomicString", | 498 type_name: "AtomicString", |
| 490 include_paths: ["platform/wtf/text/AtomicString.h"], | 499 include_paths: ["platform/wtf/text/AtomicString.h"], |
| 491 default_value: "AtomicString()", | 500 default_value: "AtomicString()", |
| 492 field_group: "rare-inherited", | 501 field_group: "rare-inherited", |
| 493 }, | 502 }, |
| 494 { | 503 { |
| 495 name: "AppliedTextDecorations", | 504 name: "AppliedTextDecorations", |
| (...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 949 { | 958 { |
| 950 name: "GridAutoRepeatRowsType", | 959 name: "GridAutoRepeatRowsType", |
| 951 field_template: "keyword", | 960 field_template: "keyword", |
| 952 type_name: "AutoRepeatType", | 961 type_name: "AutoRepeatType", |
| 953 field_group: "rare-non-inherited->grid", | 962 field_group: "rare-non-inherited->grid", |
| 954 keywords: ["no-auto-repeat", "auto-fill", "auto-fit"], | 963 keywords: ["no-auto-repeat", "auto-fill", "auto-fit"], |
| 955 default_value: "no-auto-repeat", | 964 default_value: "no-auto-repeat", |
| 956 }, | 965 }, |
| 957 ], | 966 ], |
| 958 } | 967 } |
| OLD | NEW |