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 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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 field_group: "visual", | 227 field_group: "visual", |
228 }, | 228 }, |
229 { | 229 { |
230 name: "HasAutoZIndex", | 230 name: "HasAutoZIndex", |
231 field_template: "storage_only", | 231 field_template: "storage_only", |
232 type_name: "bool", | 232 type_name: "bool", |
233 field_size: 1, | 233 field_size: 1, |
234 field_group: "box", | 234 field_group: "box", |
235 default_value: "true", | 235 default_value: "true", |
236 }, | 236 }, |
| 237 { |
| 238 name: "font", |
| 239 field_template: "storage_only", |
| 240 field_type_path: "platform/fonts/Font", |
| 241 field_group: "inherited", |
| 242 inherited: true, |
| 243 default_value: "Font()", |
| 244 }, |
| 245 { |
| 246 name: "color", |
| 247 inherited: true, |
| 248 field_template: "storage_only", |
| 249 field_type_path: "platform/graphics/Color", |
| 250 field_group: "inherited", |
| 251 default_value: "Color::kBlack", |
| 252 }, |
| 253 { |
| 254 name: "VisitedLinkColor", |
| 255 inherited: true, |
| 256 field_template: "storage_only", |
| 257 field_type_path: "platform/graphics/Color", |
| 258 field_group: "inherited", |
| 259 default_value: "Color::kBlack", |
| 260 }, |
| 261 { |
| 262 name: "TextAutosizingMultiplier", |
| 263 inherited: true, |
| 264 field_template: "storage_only", |
| 265 type_name: "float", |
| 266 field_group: "inherited", |
| 267 default_value: "1.0", |
| 268 }, |
237 ], | 269 ], |
238 } | 270 } |
OLD | NEW |