summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Niemirski <p.niemirski@samsung.com>2017-06-08 17:22:04 +0200
committerHye Kyoung Hwang <cookie@samsung.com>2017-06-30 01:17:27 +0000
commit58fead6deecf90c861b50db839314d277826b7d5 (patch)
treec98786e800ea9ec92f22c69a2a7abf1c96c7bcfb
parent6a7a3f4476c10c434bf5a0afcd0ca428db995fb5 (diff)
downloadbrowser-58fead6deecf90c861b50db839314d277826b7d5.tar.gz
browser-58fead6deecf90c861b50db839314d277826b7d5.tar.bz2
browser-58fead6deecf90c861b50db839314d277826b7d5.zip
[PWE] Enable swipe to refresh feature for PWA mode
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>
-rwxr-xr-xservices/WebEngineMin/WebEngineMin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/WebEngineMin/WebEngineMin.cpp b/services/WebEngineMin/WebEngineMin.cpp
index aa105e5..d2e5df2 100755
--- a/services/WebEngineMin/WebEngineMin.cpp
+++ b/services/WebEngineMin/WebEngineMin.cpp
@@ -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) {