[release 0.3.2]tizen porting 29/130729/1 accepted/tizen/unified/20170523.153923 submit/tizen/20170523.124526
authorjaekuk, lee <juku1999@samsung.com>
Tue, 23 May 2017 12:16:36 +0000 (21:16 +0900)
committerjaekuk, lee <juku1999@samsung.com>
Tue, 23 May 2017 12:16:36 +0000 (21:16 +0900)
Change-Id: I75ab917767be3406d23e01e6c162a5a281ed3145
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
runtime/browser/web_application.cc
runtime/browser/web_view_impl.cc [changed mode: 0644->0755]

index 1d0a6c4..5cd985f 100755 (executable)
@@ -711,14 +711,12 @@ void WebApplication::ClosePage() {
     for (; it != view_stack_.end(); ++it) {
       (*it)->ReplyToJavascriptDialog();
       view_stack_.front()->SetVisibility(false);
-#ifdef DENABLE_EWK_ADDITIONAL_FEATURE
       if (ewk_view_page_close((*it)->evas_object())) {
         LOGGER(DEBUG) << "ewk_view_page_close returns true";
         valid_evas_object_count++;
       } else {
         LOGGER(DEBUG) << "ewk_view_page_close returns false";
       }
-#endif
     }
 
   }
@@ -1215,12 +1213,10 @@ void WebApplication::SetupWebView(WebView* view) {
 void WebApplication::SetupWebViewCompatibilitySettings(WebView* view) {
   if (tizenWebKitCompatibilityEnabled()) {
     Ewk_Settings* settings = ewk_view_settings_get(view->evas_object());
-#ifdef DENABLE_COMPATIBILITY_MODE_SET
     ewk_settings_tizen_compatibility_mode_set(settings,
             m_tizenCompatibilitySettings.m_major,
             m_tizenCompatibilitySettings.m_minor,
             m_tizenCompatibilitySettings.m_release);
-#endif
     ewk_settings_text_autosizing_enabled_set(settings, EINA_FALSE);
   }
 }
old mode 100644 (file)
new mode 100755 (executable)
index ea77e15..01050c5
@@ -1028,15 +1028,11 @@ void WebViewImpl::SetDefaultEncoding(const std::string& encoding) {
 }
 
 void WebViewImpl::SetLongPolling(unsigned long longpolling) {
-#ifdef DENABLE_CHROMIUM_EWK_FEATURE
     ewk_view_session_timeout_set(ewk_view_, longpolling);
-#endif
 }
 
 void WebViewImpl::SetBGColor(int r, int g, int b, int a) {
-#ifdef DENABLE_CHROMIUM_EWK_FEATURE
   ewk_view_bg_color_set(ewk_view_, r, g, b, a);
-#endif
 }
 
 }  // namespace runtime