m_webEngine->uriChanged.connect(boost::bind(&SimpleUI::webEngineURLChanged, this, _1));
m_webEngine->confirmationRequest.connect(boost::bind(&SimpleUI::handleConfirmationRequest, this, _1));
m_webEngine->getRotation.connect(boost::bind(&SimpleUI::getRotation, this));
+ m_webPageUI->isFindOnPageVisible.connect(boost::bind(&FindOnPageUI::isVisible, m_findOnPageUI.get()));
m_webEngine->openFindOnPage.connect(boost::bind(&SimpleUI::showFindOnPageUI, this, _1));
m_webEngine->closeFindOnPage.connect(boost::bind(&SimpleUI::closeFindOnPageUI, this));
m_webEngine->unsecureConnection.connect(boost::bind(&SimpleUI::showUnsecureConnectionPopup, this));
{
BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
auto landscape = isLandscape();
+ auto findonpage = isFindOnPageVisible();
m_fullscreen = state;
- if (!state)
+ if (!state) {
elm_object_signal_emit(m_mainLayout, "show_uri_bar", "ui");
- else if (landscape && state) {
+ if (findonpage && *findonpage)
+ elm_object_signal_emit(m_mainLayout, "show_findonpage", "ui");
+ } else if (landscape && state) {
(*landscape) ?
elm_object_signal_emit(m_mainLayout, "hide_uri_bar_landscape", "ui") :
elm_object_signal_emit(m_mainLayout, "hide_uri_bar_vertical", "ui");
+ if (findonpage && *findonpage)
+ hideFindOnPage();
}
}
#endif
boost::signals2::signal<void ()> updateManualRotation;
boost::signals2::signal<void ()> hideMoreMenu;
boost::signals2::signal<void ()> qaOrientationChanged;
+ boost::signals2::signal<bool ()> isFindOnPageVisible;
#else
boost::signals2::signal<void ()> showZoomNavigation;
#endif