m_platformInputManager->returnPressed.connect(boost::bind(&elm_exit));
m_platformInputManager->backPressed.connect(boost::bind(&SimpleUI::onBackPressed, this));
+ m_platformInputManager->escapePressed.connect(boost::bind(&SimpleUI::onEscapePressed, this));
m_platformInputManager->mouseClicked.connect(
boost::bind(&SimpleUI::onMouseClick, this));
void SimpleUI::onBackPressed()
{
BROWSER_LOGD("[%s]", __func__);
- if (m_webPageUI->isHomePageActive()) {
+ if (m_zoomUI->isVisible()) {
+ m_zoomUI->escapeZoom();
+ } else if (m_webPageUI->isHomePageActive()) {
m_quickAccess->backButtonClicked();
} else {
if (!m_webPageUI->getURIEntry().hasFocus() && !m_wvIMEStatus)
}
}
+void SimpleUI::onEscapePressed()
+{
+ BROWSER_LOGD("[%s]", __func__);
+ m_zoomUI->escapeZoom();
+}
+
void SimpleUI::reloadEnable(bool enable)
{
m_webPageUI->setReloadButtonEnabled(enable);