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();
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;
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);
}
}
}
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) {