Disable popup blocker 04/40504/1
authorSeungkeun Lee <sngn.lee@samsung.com>
Thu, 4 Jun 2015 11:24:20 +0000 (20:24 +0900)
committerSeungkeun Lee <sngn.lee@samsung.com>
Thu, 4 Jun 2015 11:24:20 +0000 (20:24 +0900)
Change-Id: I372bead22979f00da5a19b068c5e41dbb0c83c8d

src/runtime/web_view_impl.cc

index 07ebd9f..52b70b4 100755 (executable)
@@ -119,8 +119,9 @@ void WebViewImpl::Initialize() {
   InitAuthenticationCallback();
   InitCertificateAllowCallback();
 
-  // TODO(sngn.lee): "notification,show"
-  // TODO(sngn.lee): "notification,cancel"
+  Ewk_Settings* settings = ewk_view_settings_get(ewk_view_);
+  ewk_settings_scripts_can_open_windows_set(settings, EINA_TRUE);
+
   // TODO(sngn.lee): "protocolhandler,registration,requested"
   //                  custom protocol handler
   // TODO(sngn.lee): ewk_view_user_media_permission_callback_set