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

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
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSProperties.json5 ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d1390a294d246bbf7fbfe3360b8085d42c4be2b8..2a1df60d81611199b6270df56b4de04142e79e0e 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",
},
@@ -270,7 +277,8 @@
name: "VisitedLinkTextStrokeColor",
inherited: true,
field_template: "storage_only",
- field_type_path: "platform/graphics/Color",
+ type_name: "Color",
+ include_paths: ["platform/graphics/Color.h"],
default_value: "Color()",
field_group: "rare-inherited",
},
@@ -278,7 +286,8 @@
name: "VisitedLinkTextFillColor",
inherited: true,
field_template: "storage_only",
- field_type_path: "platform/graphics/Color",
+ type_name: "Color",
+ include_paths: ["platform/graphics/Color.h"],
default_value: "Color()",
field_group: "rare-inherited",
},
@@ -286,7 +295,8 @@
name: "VisitedLinkTextEmphasisColor",
inherited: true,
field_template: "storage_only",
- field_type_path: "platform/graphics/Color",
+ type_name: "Color",
+ include_paths: ["platform/graphics/Color.h"],
default_value: "Color()",
field_group: "rare-inherited",
},
@@ -294,7 +304,8 @@
name: "VisitedLinkCaretColor",
inherited: true,
field_template: "storage_only",
- field_type_path: "platform/graphics/Color",
+ type_name: "Color",
+ include_paths: ["platform/graphics/Color.h"],
default_value: "Color()",
field_group: "rare-inherited",
},
@@ -302,7 +313,8 @@
name: "CursorData",
inherited: true,
field_template: "storage_only",
- field_type_path: "core/style/CursorList",
+ type_name: "CursorList",
+ include_paths: ["core/style/CursorList.h"],
default_value: "nullptr",
wrapper_pointer_name: "Persistent",
field_group: "rare-inherited",
@@ -518,7 +530,8 @@
name: "TextEmphasisCustomMark",
inherited: true,
field_template: "storage_only",
- field_type_path: "platform/wtf/text/AtomicString",
+ type_name: "AtomicString",
+ include_paths: ["platform/wtf/text/AtomicString.h"],
default_value: "AtomicString()",
field_group: "rare-inherited",
},
@@ -526,7 +539,8 @@
name: "AppliedTextDecorations",
inherited: true,
field_template: "storage_only",
- field_type_path: "core/style/AppliedTextDecorationList",
+ type_name: "AppliedTextDecorationList",
+ include_paths: ["core/style/AppliedTextDecorationList.h"],
default_value: "nullptr",
wrapper_pointer_name: "RefPtr",
field_group: "rare-inherited",
@@ -535,7 +549,8 @@
name: "Variables",
inherited: true,
field_template: "storage_only",
- field_type_path: "core/style/StyleInheritedVariables",
+ type_name: "StyleInheritedVariables",
+ include_paths: ["core/style/StyleInheritedVariables.h"],
default_value: "nullptr",
wrapper_pointer_name: "RefPtr",
field_group: "rare-inherited",
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSProperties.json5 ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698