#include "services/service_manager/public/cpp/binder_registry.h"
#include "third_party/blink/public/common/loader/url_loader_throttle.h"
#include "third_party/blink/public/web/web_window_features.h"
+#include "tizen/system_info.h"
namespace base {
class CommandLine;
// ContentBrowserClient implementations.
std::unique_ptr<BrowserMainParts> CreateBrowserMainParts(
bool is_integration_test) override;
-
+ bool ShouldUseMobileFlingCurve() override { return IsMobileProfile(); }
void AppendExtraCommandLineSwitches(base::CommandLine* command_line,
int child_process_id) override;
bool CanCreateWindow(RenderFrameHost* opener,
#include "ui/events/gesture_detection/gesture_configuration.h"
+#include <Elementary.h>
+
#include "base/command_line.h"
#include "base/memory/singleton.h"
#include "base/strings/string_number_conversions.h"
namespace ui {
namespace {
+#if BUILDFLAG(IS_EFL)
+const float kDefaultMaxFlingVelocity = 4500;
+#endif
+
#if BUILDFLAG(IS_CHROMEOS_ASH)
constexpr bool kDoubleTapAuraSupport = true;
#else
set_double_tap_enabled(kDoubleTapAuraSupport);
set_double_tap_timeout_in_ms(double_tap_timeout_in_ms());
set_gesture_begin_end_types_enabled(true);
+#if BUILDFLAG(IS_EFL)
+ set_long_press_time_in_ms(elm_config_longpress_timeout_get() * 1000);
+ set_max_tap_count(1);
+ set_max_distance_between_taps_for_double_tap(elm_config_finger_size_get());
+ set_max_touch_move_in_pixels_for_click(
+ elm_config_scroll_thumbscroll_threshold_get());
+ set_max_fling_velocity(kDefaultMaxFlingVelocity);
+#endif
set_min_gesture_bounds_length(default_radius());
set_min_pinch_update_span_delta(
base::CommandLine::ForCurrentProcess()->HasSwitch(