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
}
}
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) {
-#ifdef DENABLE_CHROMIUM_EWK_FEATURE
ewk_view_bg_color_set(ewk_view_, r, g, b, a);
-#endif
}
} // namespace runtime