Index: ui/events/devices/x11/ui_events_devices_x11_switches.cc |
diff --git a/ui/events/devices/x11/ui_events_devices_x11_switches.cc b/ui/events/devices/x11/ui_events_devices_x11_switches.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..190d64722ba31658d55ac8b9021f72b639fbe40c |
--- /dev/null |
+++ b/ui/events/devices/x11/ui_events_devices_x11_switches.cc |
@@ -0,0 +1,16 @@ |
+// Copyright (c) 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "build/build_config.h" |
+#include "ui/events/devices/x11/ui_events_devices_x11_switches.h" |
+ |
+namespace switches { |
+ |
+#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_CHROMEOS) |
+// Disables high precision scrolling in X11 |
+const char kDisableHighPrecisionScrolling[] = |
+ "disable-high-precision-scrolling"; |
+#endif |
+ |
+} // namespace switches |