X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fdevel-api%2Fadaptor-framework%2Fweb-engine%2Fweb-engine-plugin.h;h=6d900cb599c72b79bb48eb9ceeaad074028bdbae;hb=811da73543d1faaef05cd4c80e941b91f5a76897;hp=4c631bf618a69eb680b8a2e0a070530d0fb4667e;hpb=7d126e1c1e5745c34e8dcde5b397b138e3c90052;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/devel-api/adaptor-framework/web-engine/web-engine-plugin.h b/dali/devel-api/adaptor-framework/web-engine/web-engine-plugin.h index 4c631bf..6d900cb 100755 --- a/dali/devel-api/adaptor-framework/web-engine/web-engine-plugin.h +++ b/dali/devel-api/adaptor-framework/web-engine/web-engine-plugin.h @@ -166,6 +166,11 @@ public: using WebEngineNavigationPolicyDecidedCallback = std::function)>; /** + * @brief WebView callback related with new window policy would be decided. + */ + using WebEngineNewWindowPolicyDecidedCallback = std::function)>; + + /** * @brief WebView callback related with a new window would be created. */ using WebEngineNewWindowCreatedCallback = std::function; @@ -176,6 +181,21 @@ public: using WebEngineHitTestCreatedCallback = std::function)>; /** + * @brief WebView callback called after fullscreen is entered. + */ + using WebEngineFullscreenEnteredCallback = std::function; + + /** + * @brief WebView callback called after fullscreen is exited. + */ + using WebEngineFullscreenExitedCallback = std::function; + + /** + * @brief WebView callback called after text is found. + */ + using WebEngineTextFoundCallback = std::function; + + /** * @brief The callback to be called when the web engine received a plain text of current web page. */ using PlainTextReceivedCallback = std::function; @@ -757,6 +777,11 @@ public: virtual bool SendWheelEvent(const WheelEvent& event) = 0; /** + * @brief Exit fullscreen. + */ + virtual void ExitFullscreen() = 0; + + /** * @brief Callback to be called when frame would be rendered. * * @param[in] callback @@ -834,6 +859,13 @@ public: virtual void RegisterNavigationPolicyDecidedCallback(WebEngineNavigationPolicyDecidedCallback callback) = 0; /** + * @brief Callback to be called when new window policy would be decided. + * + * @param[in] callback + */ + virtual void RegisterNewWindowPolicyDecidedCallback(WebEngineNewWindowPolicyDecidedCallback callback) = 0; + + /** * @brief Callback to be called when a new window would be created. * * @param[in] callback @@ -876,6 +908,27 @@ public: virtual void RegisterContextMenuHiddenCallback(WebEngineContextMenuHiddenCallback callback) = 0; /** + * @brief Callback to be called when fullscreen would be entered. + * + * @param[in] callback + */ + virtual void RegisterFullscreenEnteredCallback(WebEngineFullscreenEnteredCallback callback) = 0; + + /** + * @brief Callback to be called when fullscreen would be exited. + * + * @param[in] callback + */ + virtual void RegisterFullscreenExitedCallback(WebEngineFullscreenExitedCallback callback) = 0; + + /** + * @brief Callback to be called when text would be found. + * + * @param[in] callback + */ + virtual void RegisterTextFoundCallback(WebEngineTextFoundCallback callback) = 0; + + /** * @brief Get a plain text of current web page asynchronously. * * @param[in] callback The callback function called asynchronously.