m_windowData->init();
m_windowData->postInit();
+#if X11
// sub-mode support
if (m_submodeSupport->isInlineMode()) {
if (m_submodeSupport->transientWindow(
LogWarning("Fail to set submode");
}
}
+#endif
m_windowData->smartCallbackAdd(Layer::FOCUS,
"focused",
focusedCallback,
void WrtClient::ctxpopupShare(void)
{
LogDebug("share");
+#ifdef X11
const char* url = ewk_view_url_get(m_widget->GetCurrentWebview());
if (!url) {
LogError("url is empty");
"delete,request",
&WrtClient::ExitCallback,
this);
+#endif
}
void WrtClient::ctxpopupReload(void)
void WrtClient::ctxpopupLaunchBrowser(void)
{
LogDebug("launchBrowser");
+#ifdef X11
const char* url = ewk_view_url_get(m_widget->GetCurrentWebview());
if (!url) {
LogError("url is empty");
} else {
LogDebug("fail");
}
+#endif
}
void WrtClient::hwkeyCallback(const std::string& key)
// windowed UX - hosted application
if (key == KeyName::BACK) {
if (m_isWebkitFullscreen) {
- ewk_view_fullscreen_exit(m_widget->GetCurrentWebview());
+ // FIXME!!! This method has not yet landed in the tizen 3.0
+ // webkit-efl source tree
+ //ewk_view_fullscreen_exit(m_widget->GetCurrentWebview());
} else {
m_widget->Backward();
}
// packaged application
if (key == KeyName::BACK) {
if (m_isFullscreenByPlatform) {
- ewk_view_fullscreen_exit(m_widget->GetCurrentWebview());
+ // FIXME!!! This method has not yet landed in the tizen 3.0
+ // webkit-efl source tree
+ //ewk_view_fullscreen_exit(m_widget->GetCurrentWebview());
}
}
}
// This change is needed for getting elementary profile
// /opt/home/app/.elementary/config/mobile/base.cfg
const char* backupEnv = getenv(HOME);
+ if (!backupEnv) {
+ // If getenv return "NULL", set empty string
+ backupEnv = "";
+ }
setenv(HOME, APP_HOME_PATH, 1);
LogDebug("elm_init()");
elm_init(argc, argv);