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=656fe81d787e8d9ee340868027bef855f8f4e2bd;hp=4f9159d16782dbe5e7c2bcea7d5d72ac9423b85d;hb=6812b2b158f7444f2053037da1038e493d751cf0;hpb=a86830e673420d0fd7fb3e1ccbca603038b6b009 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..656fe81 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,13 @@ 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. + * @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 +759,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 +787,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