Just For Enabling build until chromium engine bring up complete 74/117074/2
authornke94 <nke94@samsung.com>
Thu, 2 Mar 2017 13:40:04 +0000 (22:40 +0900)
committerEun Namgung <nke94@samsung.com>
Thu, 2 Mar 2017 13:38:56 +0000 (05:38 -0800)
Temporary ewk additional feature api call is disabled with
(DENABLE_CHROMIUM_EWK_FEATURE) macro

Change-Id: I2a7867d4cd4d084ca4e8f99771c1efbebb8f347a
Signed-off-by: nke94 <nke94@samsung.com>
runtime/browser/web_application.cc
runtime/browser/web_view_impl.cc

index 700cc13085e577dfd13325097863f8d2de63f112..bd2bbc53f2c40f695d9baeb1ec2ad9513d9909d1 100755 (executable)
@@ -690,13 +690,16 @@ 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
     }
+
   }
   if (valid_evas_object_count == 0)
     Exit();
@@ -714,7 +717,9 @@ void WebApplication::Exit() {
     case common::ApplicationData::AppType::WATCH:
       if (TIZEN_FEATURE_watch_face_support) {
         LOGGER(ERROR) << "watch_ui_exit";
+#ifdef DENABLE_WATCH_APP
         watch_app_exit();
+#endif
         break;
       } else {
         goto __default;
@@ -1160,10 +1165,12 @@ 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);
   }
 }
index 7be9b8bd7df55a94a6b9ec1edf9a561a4ce82743..c25330e824ddc60528142a7680f417b81e2fd028 100644 (file)
@@ -1032,7 +1032,9 @@ 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) {