From 839e9ee58ba76986103a0678914f9037204e3621 Mon Sep 17 00:00:00 2001 From: Antonio Gomes Date: Thu, 14 May 2015 12:18:11 -0400 Subject: [PATCH] bringup double tap to zoom. Patch toggles on the existing blink patch according to the touch status. Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=12986 Reviewed by: Antonio Gomes, Hyunhak Kim, Piotr Tworek Change-Id: Ia831980b2e1321001952952b69a9057bdb72f469 Signed-off-by: Antonio Gomes --- tizen_src/ewk/efl_integration/eweb_view.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tizen_src/ewk/efl_integration/eweb_view.cc b/tizen_src/ewk/efl_integration/eweb_view.cc index 5421252..352aec3 100644 --- a/tizen_src/ewk/efl_integration/eweb_view.cc +++ b/tizen_src/ewk/efl_integration/eweb_view.cc @@ -830,6 +830,9 @@ void EWebView::SetTouchEventsEnabled(bool enabled) { touch_events_enabled_ = enabled; GetWebContentsViewEfl()->SetTouchEventsEnabled(enabled); + + GetSettings()->getPreferences().double_tap_to_zoom_enabled = enabled; + UpdateWebKitPreferences(); } bool EWebView::MouseEventsEnabled() const { -- 2.7.4