#include "content/public/browser/navigation_entry.h"
#include "content/public/browser/resource_dispatcher_host.h"
#include "content/public/common/content_client.h"
+#include "content/public/common/content_switches.h"
#include "content/public/common/user_agent.h"
#include "permission_popup_manager.cc"
#include "private/ewk_back_forward_list_private.h"
#include "tizen/system_info.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/display/screen.h"
-#include "ui/events/event_switches.h"
#include "web_contents_delegate_efl.h"
#include "web_contents_efl_delegate_ewk.h"
#include "web_contents_view_efl_delegate_ewk.h"
settings_.reset(new Ewk_Settings(
evas_object_,
web_contents_->GetRenderViewHost()->GetWebkitPreferences()));
-#if !defined(EWK_BRINGUP) // FIXME: m67 bringup
base::CommandLine* cmdline = base::CommandLine::ForCurrentProcess();
- if (cmdline->HasSwitch(switches::kTouchEvents))
- SetTouchEventsEnabled(true);
- else
-#endif
+ if (cmdline->HasSwitch(switches::kTouchEventFeatureDetection)) {
+ SetTouchEventsEnabled(
+ cmdline->GetSwitchValueASCII(switches::kTouchEventFeatureDetection) ==
+ switches::kTouchEventFeatureDetectionEnabled);
+ } else {
SetMouseEventsEnabled(true);
+ }
popupMenuItems_ = 0;
popupPicker_ = 0;