X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Fweb-view%2Fweb-view.h;h=37c46f8dec00f9d61810ba438d1136606cac233a;hp=4f9159d16782dbe5e7c2bcea7d5d72ac9423b85d;hb=218c58bb6854ca42475416c106b2edd58e24d6d6;hpb=950447e00422e94e22ce64a69a13ebf1235b12c6 diff --git a/dali-toolkit/devel-api/controls/web-view/web-view.h b/dali-toolkit/devel-api/controls/web-view/web-view.h index 4f9159d..37c46f8 100755 --- a/dali-toolkit/devel-api/controls/web-view/web-view.h +++ b/dali-toolkit/devel-api/controls/web-view/web-view.h @@ -34,7 +34,6 @@ class ImageView; class WebBackForwardList; class WebContext; class WebContextMenu; -class WebContextMenuItem; class WebCookieManager; class WebFormRepostDecision; class WebSettings; @@ -234,9 +233,9 @@ public: using WebViewConsoleMessageSignalType = Signal)>; /** - * @brief WebView signal type related with policy decision. + * @brief WebView signal type related with response policy decision. */ - using WebViewPolicyDecisionSignalType = Signal)>; + using WebViewResponsePolicyDecisionSignalType = Signal)>; /** * @brief WebView signal type related with certificate changed. @@ -249,14 +248,14 @@ public: using WebViewHttpAuthHandlerSignalType = Signal)>; /** - * @brief WebView signal type related with context menu customized. + * @brief WebView signal type related with context menu shown. */ - using WebViewContextMenuCustomizedSignalType = Signal)>; + using WebViewContextMenuShownSignalType = Signal)>; /** - * @brief WebView signal type related with context menu item selected. + * @brief WebView signal type related with context menu hidden. */ - using WebViewContextMenuItemSelectedSignalType = Signal)>; + using WebViewContextMenuHiddenSignalType = Signal)>; public: /** @@ -342,11 +341,11 @@ public: Dali::Toolkit::WebBackForwardList* GetBackForwardList() const; /** - * @brief Get Favicon of web page. + * @brief Get favicon of web page. * - * @return Handle to a fav icon + * @return Handle to a favicon */ - Dali::Toolkit::ImageView& GetFavicon(); + Dali::Toolkit::ImageView GetFavicon() const; /** * @brief Load a web page based on a given URL. @@ -683,6 +682,14 @@ public: void RegisterGeolocationPermissionCallback(Dali::WebEnginePlugin::GeolocationPermissionCallback callback); /** + * @brief Set or unset TTS focus of the webview. + * @param[in] focused True if it is gained, false lost. + * @return true if succeeded, false otherwise. + * @note It only works when the webview does not have keyinput focus. If it has keyinput focus, the TTS focus is set automatically. + */ + void SetTtsFocus(bool focused); + + /** * @brief Connect to this signal to be notified when page loading is started. * * @return A signal object to connect with @@ -753,11 +760,11 @@ public: WebViewConsoleMessageSignalType& ConsoleMessageSignal(); /** - * @brief Connect to this signal to be notified when new policy would be decided. + * @brief Connect to this signal to be notified when response policy would be decided. * * @return A signal object to connect with. */ - WebViewPolicyDecisionSignalType& PolicyDecisionSignal(); + WebViewResponsePolicyDecisionSignalType& ResponsePolicyDecisionSignal(); /** * @brief Connect to this signal to be notified when certificate need be confirmed. @@ -781,18 +788,18 @@ public: WebViewHttpAuthHandlerSignalType& HttpAuthHandlerSignal(); /** - * @brief Connect to this signal to be notified when context menu would be customized. + * @brief Connect to this signal to be notified when context menu would be shown. * * @return A signal object to connect with. */ - WebViewContextMenuCustomizedSignalType& ContextMenuCustomizedSignal(); + WebViewContextMenuShownSignalType& ContextMenuShownSignal(); /** - * @brief Connect to this signal to be notified when context menu item is selected. + * @brief Connect to this signal to be notified when context menu would be hidden. * * @return A signal object to connect with. */ - WebViewContextMenuItemSelectedSignalType& ContextMenuItemSelectedSignal(); + WebViewContextMenuHiddenSignalType& ContextMenuHiddenSignal(); public: // Not intended for application developers /// @cond internal