[PWE] Enable swipe to refresh feature for PWA mode 94/132994/4
authorPawel Niemirski <p.niemirski@samsung.com>
Thu, 8 Jun 2017 15:22:04 +0000 (17:22 +0200)
committerHye Kyoung Hwang <cookie@samsung.com>
Fri, 30 Jun 2017 01:17:27 +0000 (01:17 +0000)
This CL enables swipe to refresh feature which was
introduced in chromium-efl in [1].

[1] https://review.tizen.org/gerrit/#/c/132995/

Bug: http://suprem.sec.samsung.net/jira/browse/RWASP-1534

Change-Id: Ia1b8400a26e16b8c4532ee2e8a050ae43e945f2f
Signed-off-by: Pawel Niemirski <p.niemirski@samsung.com>
services/WebEngineMin/WebEngineMin.cpp

index aa105e5..d2e5df2 100755 (executable)
@@ -128,6 +128,8 @@ void WebEngineMin::init(Evas_Object* guiParent)
 #endif
     m_pwaHandler->ConnectWebView(m_ewkView);
 
+    ewk_settings_swipe_to_refresh_enabled_set(ewk_view_settings_get(m_ewkView), EINA_TRUE);
+
     auto permissions = *getPermissionsMap();
     Eina_List* permList = nullptr;
     for (const auto& it : permissions) {