Index: content/public/common/content_switches.cc |
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc |
index dbf67ade802dd0ac5897e0a111812533ef08007d..41c227fa072945dda3fe86440f28d13d69357858 100644 |
--- a/content/public/common/content_switches.cc |
+++ b/content/public/common/content_switches.cc |
@@ -848,6 +848,18 @@ const char kTestType[] = "test-type"; |
// of the top document. This is a performance isolation mode. |
const char kTopDocumentIsolation[] = "top-document-isolation"; |
+// Enable support for touch event feature detection. |
+const char kTouchEventFeatureDetection[] = "touch-events"; |
+ |
+// The values the kTouchEventFeatureDetection switch may have, as in |
+// --touch-events=disabled. |
+// auto: enabled at startup when an attached touchscreen is present. |
+const char kTouchEventFeatureDetectionAuto[] = "auto"; |
+// enabled: touch events always enabled. |
+const char kTouchEventFeatureDetectionEnabled[] = "enabled"; |
+// disabled: touch events are disabled. |
+const char kTouchEventFeatureDetectionDisabled[] = "disabled"; |
+ |
// Controls how text selection granularity changes when touch text selection |
// handles are dragged. Should be "character" or "direction". If not specified, |
// the platform default is used. |