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

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

Issue 2916563003: Compute effective touch action in StyleAdjuster. (Closed)
Patch Set: Do not traverse across frames 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 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 3386f60d1a9484c0d8a323308615d2fc3e69a510..3cc7950235194a13cb05fdce06bd87fc7bd7a5cc 100644
--- a/third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5
+++ b/third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5
@@ -482,6 +482,15 @@
default_value: "-1",
field_group: "rare-inherited",
},
+ {
+ name: "EffectiveTouchAction",
+ inherited: true,
+ field_template: "storage_only",
+ include_paths: ["platform/graphics/TouchAction.h"],
+ type_name: "TouchAction",
+ default_value: "TouchAction::kTouchActionAuto",
+ 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.
+ },
{
name: "TextEmphasisCustomMark",
inherited: true,

Powered by Google App Engine
This is Rietveld 408576698