Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / ui / events / event_switches.cc
index d67c277..93e938f 100644 (file)
@@ -19,12 +19,19 @@ const char kTouchEventsAuto[] = "auto";
 const char kTouchEventsEnabled[] = "enabled";
 //   disabled: touch events are disabled.
 const char kTouchEventsDisabled[] = "disabled";
+// Use the unified gesture detector, instead of the aura gesture detector.
+const char kUseUnifiedGestureDetector[] = "use-unified-gesture-detector";
 
-#if defined(TOOLKIT_VIEWS) && defined(OS_LINUX)
+#if defined(OS_LINUX)
 // Tells chrome to interpret events from these devices as touch events. Only
 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the
 // devices can be retrieved from 'xinput list'.
 const char kTouchDevices[] = "touch-devices";
 #endif
 
+#if defined(USE_XI2_MT) || defined(USE_OZONE)
+// The calibration factors given as "<left>,<right>,<top>,<bottom>".
+const char kTouchCalibration[] = "touch-calibration";
+#endif
+
 }  // namespace switches