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

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

Issue 2916563003: Compute effective touch action in StyleAdjuster. (Closed)
Patch Set: Move ComputeEffectiveTouchAction out of AdjustComputedStyle. 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 9d3fd3eb5f8b2795f142af9e9331ba61df729243..bda98b2bc31229cb3885f4f043b770b842a1542e 100644
--- a/third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5
+++ b/third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5
@@ -526,6 +526,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",
+ },
{
name: "TextEmphasisCustomMark",
inherited: true,

Powered by Google App Engine
This is Rietveld 408576698