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=6d8d3b9f0bfd316ace018ad388c43feefcda89f2;hp=df73d0ed6ab03f9ff7f058064e9908a4e4438a25;hb=ce0f6a98e157fda761dd9c3d0514609be937f388;hpb=8135447dde34dce2e12480c1290f48a4d1dfa702 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 df73d0e..6d8d3b9 100755 --- a/dali-toolkit/devel-api/controls/web-view/web-view.h +++ b/dali-toolkit/devel-api/controls/web-view/web-view.h @@ -33,6 +33,8 @@ namespace Toolkit class ImageView; class WebBackForwardList; class WebContext; +class WebContextMenu; +class WebContextMenuItem; class WebCookieManager; class WebFormRepostDecision; class WebSettings; @@ -246,6 +248,16 @@ public: */ using WebViewHttpAuthHandlerSignalType = Signal)>; + /** + * @brief WebView signal type related with context menu customized. + */ + using WebViewContextMenuCustomizedSignalType = Signal)>; + + /** + * @brief WebView signal type related with context menu item selected. + */ + using WebViewContextMenuItemSelectedSignalType = Signal)>; + public: /** * @brief Creates an initialized WebView. @@ -641,110 +653,124 @@ public: bool CheckVideoPlayingAsynchronously(Dali::WebEnginePlugin::VideoPlayingCallback callback); /** - * @brief Sets callback which will be called upon geolocation permission request. + * @brief Set callback which will be called upon geolocation permission request. * * @param[in] callback The callback for requesting geolocation permission */ void RegisterGeolocationPermissionCallback(Dali::WebEnginePlugin::GeolocationPermissionCallback callback); /** - * @brief Connects to this signal to be notified when page loading is started. + * @brief Connect to this signal to be notified when page loading is started. * * @return A signal object to connect with */ WebViewPageLoadSignalType& PageLoadStartedSignal(); /** - * @brief Connects to this signal to be notified when page loading is in progress. + * @brief Connect to this signal to be notified when page loading is in progress. * * @return A signal object to connect with */ WebViewPageLoadSignalType& PageLoadInProgressSignal(); /** - * @brief Connects to this signal to be notified when page loading is finished. + * @brief Connect to this signal to be notified when page loading is finished. * * @return A signal object to connect with */ WebViewPageLoadSignalType& PageLoadFinishedSignal(); /** - * @brief Connects to this signal to be notified when an error occurs in page loading. + * @brief Connect to this signal to be notified when an error occurs in page loading. * * @return A signal object to connect with */ WebViewPageLoadErrorSignalType& PageLoadErrorSignal(); /** - * @brief Connects to this signal to be notified when scroll edge is reached. + * @brief Connect to this signal to be notified when scroll edge is reached. * * @return A signal object to connect with */ WebViewScrollEdgeReachedSignalType& ScrollEdgeReachedSignal(); /** - * @brief Connects to this signal to be notified when url is changed. + * @brief Connect to this signal to be notified when url is changed. * * @return A signal object to connect with */ WebViewUrlChangedSignalType& UrlChangedSignal(); /** - * @brief Connects to this signal to be notified when form repost decision is requested. + * @brief Connect to this signal to be notified when form repost decision is requested. * * @return A signal object to connect with. */ WebViewFormRepostDecisionSignalType& FormRepostDecisionSignal(); /** - * @brief Connects to this signal to be notified when frame is rendered. + * @brief Connect to this signal to be notified when frame is rendered. * * @return A signal object to connect with. */ WebViewFrameRenderedSignalType& FrameRenderedSignal(); /** - * @brief Connects to this signal to be notified when http request need be intercepted. + * @brief Connect to this signal to be notified when http request need be intercepted. * * @return A signal object to connect with. */ WebViewRequestInterceptorSignalType& RequestInterceptorSignal(); /** - * @brief Connects to this signal to be notified when console message will be logged. + * @brief Connect to this signal to be notified when console message will be logged. * * @return A signal object to connect with. */ WebViewConsoleMessageSignalType& ConsoleMessageSignal(); /** - * @brief Connects to this signal to be notified when new policy would be decided. + * @brief Connect to this signal to be notified when new policy would be decided. * * @return A signal object to connect with. */ WebViewPolicyDecisionSignalType& PolicyDecisionSignal(); /** - * @brief Connects to this signal to be notified when certificate need be confirmed. + * @brief Connect to this signal to be notified when certificate need be confirmed. * * @return A signal object to connect with. */ WebViewCertificateSignalType& CertificateConfirmSignal(); /** - * @brief Connects to this signal to be notified when ssl certificate is changed. + * @brief Connect to this signal to be notified when ssl certificate is changed. * * @return A signal object to connect with. */ WebViewCertificateSignalType& SslCertificateChangedSignal(); /** - * @brief Connects to this signal to be notified when http authentication need be confirmed. + * @brief Connect to this signal to be notified when http authentication need be confirmed. * * @return A signal object to connect with. */ WebViewHttpAuthHandlerSignalType& HttpAuthHandlerSignal(); + /** + * @brief Connect to this signal to be notified when context menu would be customized. + * + * @return A signal object to connect with. + */ + WebViewContextMenuCustomizedSignalType& ContextMenuCustomizedSignal(); + + /** + * @brief Connect to this signal to be notified when context menu item is selected. + * + * @return A signal object to connect with. + */ + WebViewContextMenuItemSelectedSignalType& ContextMenuItemSelectedSignal(); + public: // Not intended for application developers /// @cond internal /**