[M69 Dev][Tizen] Enable touch events for mobile/wearable profile
[platform/framework/web/chromium-efl.git] / tizen_src / ewk / efl_integration / command_line_efl.cc
index 21fca0a..573710e 100644 (file)
@@ -21,7 +21,6 @@
 #include "tizen/system_info.h"
 #include "ui/base/ui_base_switches.h"
 #include "ui/events/event_switches.h"
-#include "ui/events/event_switches.h"
 #include "url/gurl.h"
 
 int CommandLineEfl::argc_ = 0;
@@ -78,9 +77,10 @@ content::MainFunctionParams CommandLineEfl::GetDefaultPortParams() {
 
   if (IsMobileProfile() || IsWearableProfile()) {
     p_command_line->AppendSwitch(switches::kUseMobileUserAgent);
+    p_command_line->AppendSwitchASCII(
+        switches::kTouchEventFeatureDetection,
+        switches::kTouchEventFeatureDetectionEnabled);
 #if !defined(EWK_BRINGUP)
-    p_command_line->AppendSwitchASCII(switches::kTouchEvents,
-                                      switches::kTouchEventsEnabled);
     p_command_line->AppendSwitch(switches::kEnablePinch);
     // [M42_2231] FIXME: Need Parallel Canvas patch for S-Chromium/S-Blink/S-Skia
     p_command_line->AppendSwitchASCII(