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

Unified Diff: third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5

Issue 2904483003: Replace "field_type_path" with "include_paths" in CSSProperties.json5. (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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5
diff --git a/third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5 b/third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5
index e3c2108f10ba9088576c0b782b18a006561f45a5..03840812746c2738278d2bcf7de65475b41664c6 100644
--- a/third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5
+++ b/third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5
@@ -11,7 +11,7 @@
// The rest is the same as CSSProperties.json5, but the only relevant ones in
// this file are:
- // name, field_template, field_type_path, default_value, type_name, keyword,
+ // name, field_template, include_paths, default_value, type_name, keyword,
// inherited
},
@@ -186,27 +186,31 @@
name: "VerticalAlignLength",
field_template: "storage_only",
default_value: "Length()",
- field_type_path: "platform/Length",
+ include_paths: ["platform/Length.h"],
+ type_name: "Length",
field_group: "box",
},
{
name: "border-image",
field_template: "external",
- field_type_path: "core/style/NinePieceImage",
+ include_paths: ["core/style/NinePieceImage.h"],
+ type_name: "NinePieceImage",
field_group: "surround",
default_value: "NinePieceImage()",
},
{
name: "Background",
field_template: "storage_only",
- field_type_path: "core/style/FillLayer",
+ include_paths: ["core/style/FillLayer.h"],
+ type_name: "FillLayer",
default_value: "FillLayer(kBackgroundFillLayer, true)",
field_group: "background",
},
{
name: "BackgroundColor",
field_template: "storage_only",
- field_type_path: "core/css/StyleColor",
+ include_paths: ["core/css/StyleColor.h"],
+ type_name: "StyleColor",
default_value: "Color::kTransparent",
field_group: "background",
},
@@ -237,7 +241,8 @@
{
name: "font",
field_template: "storage_only",
- field_type_path: "platform/fonts/Font",
+ include_paths: ["platform/fonts/Font.h"],
+ type_name: "Font",
field_group: "inherited",
inherited: true,
default_value: "Font()",
@@ -246,7 +251,8 @@
name: "color",
inherited: true,
field_template: "storage_only",
- field_type_path: "platform/graphics/Color",
+ include_paths: ["platform/graphics/Color.h"],
+ type_name: "Color",
field_group: "inherited",
default_value: "Color::kBlack",
},
@@ -254,7 +260,8 @@
name: "VisitedLinkColor",
inherited: true,
field_template: "external",
- field_type_path: "platform/graphics/Color",
+ include_paths: ["platform/graphics/Color.h"],
+ type_name: "Color",
field_group: "inherited",
default_value: "Color::kBlack",
},

Powered by Google App Engine
This is Rietveld 408576698