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

Unified Diff: ui/events/event_switches.cc

Issue 2467913002: Touch event flag should control only DOM event firing. (Closed)
Patch Set: Merge branch 'master' of https://chromium.googlesource.com/chromium/src into patchtoflags Created 4 years, 1 month 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: ui/events/event_switches.cc
diff --git a/ui/events/event_switches.cc b/ui/events/event_switches.cc
index c64c5482336ed3abfc775f707efd69348c4b7563..43f7e817cb674436e0b108ea08155d530da3e229 100644
--- a/ui/events/event_switches.cc
+++ b/ui/events/event_switches.cc
@@ -10,16 +10,8 @@ namespace switches {
// Enable scroll prediction for scroll update events.
const char kEnableScrollPrediction[] = "enable-scroll-prediction";
-// Enable support for touch events.
-const char kTouchEvents[] = "touch-events";
-
-// The values the kTouchEvents switch may have, as in --touch-events=disabled.
-// auto: enabled at startup when an attached touchscreen is present.
-const char kTouchEventsAuto[] = "auto";
-// enabled: touch events always enabled.
-const char kTouchEventsEnabled[] = "enabled";
-// disabled: touch events are disabled.
-const char kTouchEventsDisabled[] = "disabled";
+// Disable support for touch events.
+const char kDisableTouchEventAPI[] = "disable-touch-event-api";
// Enable compensation for unstable pinch zoom. Some touch screens display
// significant amount of wobble when moving a finger in a straight line. This

Powered by Google App Engine
This is Rietveld 408576698