static std::string fromChar(const char* c) __attribute__ ((unused));
static std::string clearURL(const std::string & url) __attribute__ ((unused));
static std::string extractDomain(const std::string & url) __attribute__ ((unused));
- static void ui_app_pause(const char* caller) __attribute__ ((unused));
static std::string fromChar(const char* c) { return c ? std::string(c) : std::string(); }
size_t end = url.find(END_SLASH, beg);
return url.substr(beg, end - beg);
}
-
- static void ui_app_pause(const char* caller) {
- //From app_control.h on APP_CONTROL_OPERATION_MAIN:
- //"Definition for the app_control operation: An explicit launch for a homescreen application."
- app_control_h service;
- app_control_create(&service);
- app_control_set_operation(service, APP_CONTROL_OPERATION_MAIN);
- app_control_set_app_id(service, caller);
- app_control_send_launch_request(service, NULL, NULL);
- app_control_destroy(service);
- }
}
}
void SimpleUI::minimizeBrowser()
{
BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
- tools::ui_app_pause(m_caller.c_str());
+ elm_win_lower(main_window);
}
void SimpleUI::tabClosed(const tizen_browser::basic_webengine::TabId& id) {