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

Unified Diff: Source/core/css/CSSPrimitiveValueMappings.h

Issue 134153016: add 'manipulation' support to CSS touch-action parsing. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase to trunk Created 6 years, 9 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: Source/core/css/CSSPrimitiveValueMappings.h
diff --git a/Source/core/css/CSSPrimitiveValueMappings.h b/Source/core/css/CSSPrimitiveValueMappings.h
index fb459a02bb4efd5ac3317b9091ea343f6dfb3997..4c0a4011ff4784d539d773d0badbae5f445e8d20 100644
--- a/Source/core/css/CSSPrimitiveValueMappings.h
+++ b/Source/core/css/CSSPrimitiveValueMappings.h
@@ -4702,6 +4702,8 @@ template<> inline CSSPrimitiveValue::operator TouchAction() const
return TouchActionPanX;
case CSSValuePanY:
return TouchActionPanY;
+ case CSSValueManipulation:
+ return TouchActionPanX | TouchActionPanY | TouchActionPinchZoom;
default:
break;
}

Powered by Google App Engine
This is Rietveld 408576698