#include "content/public/browser/render_view_host.h"
#include "content/public/browser/web_contents_view_delegate.h"
#include "content/public/browser/web_contents_view_efl_delegate.h"
+#include "content/public/common/content_switches.h"
#include "efl/window_factory.h"
#include "tizen/system_info.h"
#include "ui/display/screen_efl.h"
-#include "ui/events/event_switches.h"
#include "ui/gfx/image/image_skia.h"
#include "ui/gl/gl_shared_context_efl.h"
touch_enabled_(IsMobileProfile() || IsWearableProfile()),
page_scale_factor_(1.0f),
web_contents_(contents) {
-#if !defined(EWK_BRINGUP) // FIXME: m67 bringup
base::CommandLine* cmdline = base::CommandLine::ForCurrentProcess();
- if (cmdline->HasSwitch(switches::kTouchEvents)) {
- touch_enabled_ = cmdline->GetSwitchValueASCII(switches::kTouchEvents) ==
- switches::kTouchEventsEnabled;
+ if (cmdline->HasSwitch(switches::kTouchEventFeatureDetection)) {
+ touch_enabled_ =
+ cmdline->GetSwitchValueASCII(switches::kTouchEventFeatureDetection) ==
+ switches::kTouchEventFeatureDetectionEnabled;
}
-#endif
}
WebContentsViewEfl::~WebContentsViewEfl() {}