[Title] Add ewk_view_fullscreen_exit to exit fullscreen mode
[Issue] N/A
[Problem] when the back key is pressed, move to the previous page, despite being in fullscreen.
[Cause] The H/W back key is applied.
[Solution] In apps, should call this api instead of history back.
Change-Id: I2df4f6d4e82e05505157885bdd21a0c173c07ad2
impl->pageProxy->useSettingsFont();
#endif
}
+
+void ewk_view_fullscreen_exit(Evas_Object* ewkView)
+{
+#if ENABLE(TIZEN_FULLSCREEN_API)
+ TIZEN_LOGI("");
+
+ EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
+ EWK_VIEW_IMPL_GET_OR_RETURN(smartData, impl);
+
+ if (!impl->pageProxy->fullScreenManager()->isFullScreen())
+ return;
+
+ impl->pageProxy->fullScreenManager()->requestExitFullScreen();
+#else
+ UNUSED_PARAM(ewkView);
+#endif
+}
*/
EAPI void ewk_view_use_settings_font(Evas_Object* o);
+/*
+ * Exit fullscreen when the back key is pressed.
+ *
+ * @param o view object to exit fullscreen mode
+ *
+ */
+EAPI void ewk_view_fullscreen_exit(Evas_Object* o);
+
#ifdef __cplusplus
}
#endif