From: huayongxu <49056704+huayongxu@users.noreply.github.com>
Date: Mon, 19 Jul 2021 04:57:57 +0000 (+0800)
Subject: [NUI] Replace Signal with callback. (#3318)
X-Git-Tag: accepted/tizen/unified/20231205.024657~1672
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ac561fa8875d6fad18a1f6a462092394e212f7a1;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git
[NUI] Replace Signal with callback. (#3318)
---
diff --git a/src/Tizen.NUI/Tizen.NUI.csproj b/src/Tizen.NUI/Tizen.NUI.csproj
old mode 100644
new mode 100755
index b8732d4..55bd751
--- a/src/Tizen.NUI/Tizen.NUI.csproj
+++ b/src/Tizen.NUI/Tizen.NUI.csproj
@@ -42,4 +42,4 @@
-
\ No newline at end of file
+
diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.WebCertificate.cs b/src/Tizen.NUI/src/internal/Interop/Interop.WebCertificate.cs
index f137d6e..b92c22b 100755
--- a/src/Tizen.NUI/src/internal/Interop/Interop.WebCertificate.cs
+++ b/src/Tizen.NUI/src/internal/Interop/Interop.WebCertificate.cs
@@ -21,6 +21,9 @@ namespace Tizen.NUI
{
internal static partial class WebCertificate
{
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_WebCertificate")]
+ public static extern void DeleteWebCertificate(global::System.Runtime.InteropServices.HandleRef jarg1);
+
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebCertificate_Allow")]
public static extern void Allow(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2);
diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.WebConsoleMessage.cs b/src/Tizen.NUI/src/internal/Interop/Interop.WebConsoleMessage.cs
index 55edf68..8b22ff6 100755
--- a/src/Tizen.NUI/src/internal/Interop/Interop.WebConsoleMessage.cs
+++ b/src/Tizen.NUI/src/internal/Interop/Interop.WebConsoleMessage.cs
@@ -21,6 +21,9 @@ namespace Tizen.NUI
{
internal static partial class WebConsoleMessage
{
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_WebConsoleMessage")]
+ public static extern void DeleteWebConsoleMessage(global::System.Runtime.InteropServices.HandleRef jarg1);
+
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebConsoleMessage_GetSource")]
public static extern string GetSource(global::System.Runtime.InteropServices.HandleRef jarg1);
diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.WebFormRepostPolicyDecisionMaker.cs b/src/Tizen.NUI/src/internal/Interop/Interop.WebFormRepostPolicyDecisionMaker.cs
index 1cfebb3..29119e3 100755
--- a/src/Tizen.NUI/src/internal/Interop/Interop.WebFormRepostPolicyDecisionMaker.cs
+++ b/src/Tizen.NUI/src/internal/Interop/Interop.WebFormRepostPolicyDecisionMaker.cs
@@ -21,6 +21,9 @@ namespace Tizen.NUI
{
internal static partial class WebFormRepostPolicyDecisionMaker
{
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_WebFormRepostDecision")]
+ public static extern void DeleteWebFormRepostDecision(global::System.Runtime.InteropServices.HandleRef jarg1);
+
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebFormRepostDecision_Reply")]
public static extern void Reply(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2);
}
diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.WebHttpAuthHandler.cs b/src/Tizen.NUI/src/internal/Interop/Interop.WebHttpAuthHandler.cs
index 8c6eced..a8a6cce 100755
--- a/src/Tizen.NUI/src/internal/Interop/Interop.WebHttpAuthHandler.cs
+++ b/src/Tizen.NUI/src/internal/Interop/Interop.WebHttpAuthHandler.cs
@@ -21,6 +21,9 @@ namespace Tizen.NUI
{
internal static partial class WebHttpAuthHandler
{
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_WebHttpAuthHandler")]
+ public static extern void DeleteWebHttpAuthHandler(global::System.Runtime.InteropServices.HandleRef jarg1);
+
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebHttpAuthHandler_GetRealm")]
public static extern string GetRealm(global::System.Runtime.InteropServices.HandleRef jarg1);
diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.WebHttpRequestInterceptor.cs b/src/Tizen.NUI/src/internal/Interop/Interop.WebHttpRequestInterceptor.cs
index ae2efc6..af9565f 100755
--- a/src/Tizen.NUI/src/internal/Interop/Interop.WebHttpRequestInterceptor.cs
+++ b/src/Tizen.NUI/src/internal/Interop/Interop.WebHttpRequestInterceptor.cs
@@ -21,6 +21,9 @@ namespace Tizen.NUI
{
internal static partial class WebHttpRequestInterceptor
{
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_WebRequestInterceptor")]
+ public static extern void DeleteWebHttpRequestInterceptor(global::System.Runtime.InteropServices.HandleRef jarg1);
+
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebRequestInterceptor_GetUrl")]
public static extern string GetUrl(global::System.Runtime.InteropServices.HandleRef jarg1);
diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.WebPageLoadError.cs b/src/Tizen.NUI/src/internal/Interop/Interop.WebPageLoadError.cs
index 919075c..4f49fa2 100755
--- a/src/Tizen.NUI/src/internal/Interop/Interop.WebPageLoadError.cs
+++ b/src/Tizen.NUI/src/internal/Interop/Interop.WebPageLoadError.cs
@@ -21,6 +21,9 @@ namespace Tizen.NUI
{
internal static partial class WebPageLoadError
{
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_WebLoadError")]
+ public static extern void DeleteWebPageLoadError(global::System.Runtime.InteropServices.HandleRef jarg1);
+
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebLoadError_GetUrl")]
public static extern string GetUrl(global::System.Runtime.InteropServices.HandleRef jarg1);
diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.WebPolicyDecisionMaker.cs b/src/Tizen.NUI/src/internal/Interop/Interop.WebPolicyDecisionMaker.cs
index 88b56d4..c3ce6e3 100755
--- a/src/Tizen.NUI/src/internal/Interop/Interop.WebPolicyDecisionMaker.cs
+++ b/src/Tizen.NUI/src/internal/Interop/Interop.WebPolicyDecisionMaker.cs
@@ -21,6 +21,9 @@ namespace Tizen.NUI
{
internal static partial class WebPolicyDecisionMaker
{
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_WebPolicyDecision")]
+ public static extern void DeleteWebPolicyDecision(global::System.Runtime.InteropServices.HandleRef jarg1);
+
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebPolicyDecision_GetUrl")]
public static extern string GetUrl(global::System.Runtime.InteropServices.HandleRef jarg1);
diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.WebView.cs b/src/Tizen.NUI/src/internal/Interop/Interop.WebView.cs
index 9fdbd50..5a99892 100755
--- a/src/Tizen.NUI/src/internal/Interop/Interop.WebView.cs
+++ b/src/Tizen.NUI/src/internal/Interop/Interop.WebView.cs
@@ -253,167 +253,53 @@ namespace Tizen.NUI
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebView_SetTtsFocus")]
public static extern void SetTtsFocus(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2);
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_WebViewPageLoadSignal_PageLoadStarted")]
- public static extern global::System.IntPtr NewWebViewPageLoadSignalPageLoadStarted(global::System.Runtime.InteropServices.HandleRef jarg1);
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebView_RegisterPageLoadStartedCallback")]
+ public static extern void RegisterPageLoadStartedCallback(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_WebViewPageLoadSignal_PageLoadInProgress")]
- public static extern global::System.IntPtr NewWebViewPageLoadSignalPageLoadInProgress(global::System.Runtime.InteropServices.HandleRef jarg1);
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebView_RegisterPageLoadInProgressCallback")]
+ public static extern void RegisterPageLoadInProgressCallback(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_WebViewPageLoadSignal_PageLoadFinished")]
- public static extern global::System.IntPtr NewWebViewPageLoadSignalPageLoadFinished(global::System.Runtime.InteropServices.HandleRef jarg1);
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebView_RegisterPageLoadFinishedCallback")]
+ public static extern void RegisterPageLoadFinishedCallback(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_WebViewPageLoadSignal")]
- public static extern void DeleteWebViewPageLoadSignal(global::System.Runtime.InteropServices.HandleRef jarg1);
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebView_RegisterPageLoadErrorCallback")]
+ public static extern void RegisterPageLoadErrorCallback(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebViewPageLoadSignal_Connect")]
- public static extern void WebViewPageLoadSignalConnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebView_RegisterScrollEdgeReachedCallback")]
+ public static extern void RegisterScrollEdgeReachedCallback(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebViewPageLoadSignal_Disconnect")]
- public static extern void WebViewPageLoadSignalDisconnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebView_RegisterUrlChangedCallback")]
+ public static extern void RegisterUrlChangedCallback(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_WebViewPageLoadErrorSignal_PageLoadError")]
- public static extern global::System.IntPtr NewWebViewPageLoadErrorSignalPageLoadError(global::System.Runtime.InteropServices.HandleRef jarg1);
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebView_RegisterFormRepostDecidedCallback")]
+ public static extern void RegisterFormRepostDecidedCallback(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_WebViewPageLoadErrorSignal")]
- public static extern void DeleteWebViewPageLoadErrorSignal(global::System.Runtime.InteropServices.HandleRef jarg1);
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebView_RegisterFrameRenderedCallback")]
+ public static extern void RegisterFrameRenderedCallback(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebViewPageLoadErrorSignal_Connect")]
- public static extern void WebViewPageLoadErrorSignalConnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebView_RegisterRequestInterceptorCallback")]
+ public static extern void RegisterRequestInterceptorCallback(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebViewPageLoadErrorSignal_Disconnect")]
- public static extern void WebViewPageLoadErrorSignalDisconnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebView_RegisterConsoleMessageReceivedCallback")]
+ public static extern void RegisterConsoleMessageReceivedCallback(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_WebViewScrollEdgeReachedSignal_ScrollEdgeReached")]
- public static extern global::System.IntPtr NewWebViewScrollEdgeReachedSignalScrollEdgeReached(global::System.Runtime.InteropServices.HandleRef jarg1);
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebView_RegisterResponsePolicyDecidedCallback")]
+ public static extern void RegisterResponsePolicyDecidedCallback(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_WebViewScrollEdgeReachedSignal")]
- public static extern void DeleteWebViewScrollEdgeReachedSignal(global::System.Runtime.InteropServices.HandleRef jarg1);
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebView_RegisterCertificateConfirmedCallback")]
+ public static extern void RegisterCertificateConfirmedCallback(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebViewScrollEdgeReachedSignal_Connect")]
- public static extern void WebViewScrollEdgeReachedSignalConnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebView_RegisterSslCertificateChangedCallback")]
+ public static extern void RegisterSslCertificateChangedCallback(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebViewScrollEdgeReachedSignal_Disconnect")]
- public static extern void WebViewScrollEdgeReachedSignalDisconnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebView_RegisterHttpAuthHandlerCallback")]
+ public static extern void RegisterHttpAuthHandlerCallback(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_WebViewUrlChangedSignal_UrlChanged")]
- public static extern global::System.IntPtr NewWebViewUrlChangedSignalUrlChanged(global::System.Runtime.InteropServices.HandleRef jarg1);
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebView_RegisterContextMenuShownCallback")]
+ public static extern void RegisterContextMenuShownCallback(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_WebViewUrlChangedSignal")]
- public static extern void DeleteWebViewUrlChangedSignal(global::System.Runtime.InteropServices.HandleRef jarg1);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebViewUrlChangedSignal_Connect")]
- public static extern void WebViewUrlChangedSignalConnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebViewUrlChangedSignal_Disconnect")]
- public static extern void WebViewUrlChangedSignalDisconnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_WebViewFormRepostDecisionSignal_FormRepostDecision")]
- public static extern global::System.IntPtr NewWebViewFormRepostDecisionSignalFormRepostDecision(global::System.Runtime.InteropServices.HandleRef jarg1);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_WebViewFormRepostDecisionSignal")]
- public static extern void DeleteWebViewFormRepostDecisionSignal(global::System.Runtime.InteropServices.HandleRef jarg1);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebViewFormRepostDecisionSignal_Connect")]
- public static extern void WebViewFormRepostDecisionSignalConnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebViewFormRepostDecisionSignal_Disconnect")]
- public static extern void WebViewFormRepostDecisionSignalDisconnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebViewFrameRenderedSignal_FrameRendered")]
- public static extern global::System.IntPtr WebViewFrameRenderedSignalFrameRenderedGet(global::System.Runtime.InteropServices.HandleRef jarg1);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebViewFrameRenderedSignal_Connect")]
- public static extern void WebViewFrameRenderedSignalConnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebViewFrameRenderedSignal_Disconnect")]
- public static extern void WebViewFrameRenderedSignalDisconnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_WebViewResponsePolicyDecisionSignal_ResponsePolicyDecision")]
- public static extern global::System.IntPtr NewWebViewResponsePolicyDecisionSignalPolicyDecision(global::System.Runtime.InteropServices.HandleRef jarg1);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_WebViewResponsePolicyDecisionSignal")]
- public static extern void DeleteWebViewResponsePolicyDecisionSignal(global::System.Runtime.InteropServices.HandleRef jarg1);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebViewPolicyDecisionSignal_Connect")]
- public static extern void WebViewPolicyDecisionSignalConnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebViewPolicyDecisionSignal_Disconnect")]
- public static extern void WebViewPolicyDecisionSignalDisconnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_WebViewCertificateSignal_CertificateConfirm")]
- public static extern global::System.IntPtr NewWebViewCertificateSignalCertificateConfirm(global::System.Runtime.InteropServices.HandleRef jarg1);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_WebViewCertificateSignal_SslCertificateChanged")]
- public static extern global::System.IntPtr NewWebViewCertificateSignalSslCertificateChanged(global::System.Runtime.InteropServices.HandleRef jarg1);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_WebViewCertificateSignal")]
- public static extern void DeleteWebViewCertificateSignal(global::System.Runtime.InteropServices.HandleRef jarg1);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebViewCertificateSignal_Connect")]
- public static extern void WebViewCertificateSignalConnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebViewCertificateSignal_Disconnect")]
- public static extern void WebViewCertificateSignalDisconnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_WebViewHttpAuthHandlerSignal_HttpAuthHandler")]
- public static extern global::System.IntPtr NewWebViewHttpAuthHandlerSignalHttpAuthHandler(global::System.Runtime.InteropServices.HandleRef jarg1);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_WebViewHttpAuthHandlerSignal")]
- public static extern void DeleteWebViewHttpAuthHandlerSignal(global::System.Runtime.InteropServices.HandleRef jarg1);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebViewHttpAuthHandlerSignal_Connect")]
- public static extern void WebViewHttpAuthHandlerSignalConnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebViewHttpAuthHandlerSignal_Disconnect")]
- public static extern void WebViewHttpAuthHandlerSignalDisconnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_WebViewRequestInterceptorSignal_RequestInterceptor")]
- public static extern global::System.IntPtr NewWebViewRequestInterceptorSignalRequestInterceptor(global::System.Runtime.InteropServices.HandleRef jarg1);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_WebViewRequestInterceptorSignal")]
- public static extern void DeleteWebViewRequestInterceptorSignal(global::System.Runtime.InteropServices.HandleRef jarg1);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebViewRequestInterceptorSignal_Connect")]
- public static extern void WebViewRequestInterceptorSignalConnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebViewRequestInterceptorSignal_Disconnect")]
- public static extern void WebViewRequestInterceptorSignalDisconnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_WebViewConsoleMessageSignal_ConsoleMessage")]
- public static extern global::System.IntPtr NewWebViewConsoleMessageSignalConsoleMessage(global::System.Runtime.InteropServices.HandleRef jarg1);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_WebViewConsoleMessageSignal")]
- public static extern void DeleteWebViewConsoleMessageSignal(global::System.Runtime.InteropServices.HandleRef jarg1);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebViewConsoleMessageSignal_Connect")]
- public static extern void WebViewConsoleMessageSignalConnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebViewConsoleMessageSignal_Disconnect")]
- public static extern void WebViewConsoleMessageSignalDisconnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_WebViewContextMenuShownSignal_ContextMenuShown")]
- public static extern global::System.IntPtr NewWebViewContextMenuShownSignalContextMenuShown(global::System.Runtime.InteropServices.HandleRef jarg1);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_WebViewContextMenuShownSignal")]
- public static extern void DeleteWebViewContextMenuShownSignal(global::System.Runtime.InteropServices.HandleRef jarg1);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebViewContextMenuShownSignal_Connect")]
- public static extern void WebViewContextMenuShownSignalConnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebViewContextMenuShownSignal_Disconnect")]
- public static extern void WebViewContextMenuShownSignalDisconnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_WebViewContextMenuHiddenSignal_ContextMenuHidden")]
- public static extern global::System.IntPtr NewWebViewContextMenuHiddenSignalContextMenuHidden(global::System.Runtime.InteropServices.HandleRef jarg1);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_WebViewContextMenuHiddenSignal")]
- public static extern void DeleteWebViewContextMenuHiddenSignal(global::System.Runtime.InteropServices.HandleRef jarg1);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebViewContextMenuHiddenSignal_Connect")]
- public static extern void WebViewContextMenuHiddenSignalConnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebViewContextMenuHiddenSignal_Disconnect")]
- public static extern void WebViewContextMenuHiddenSignalDisconnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebView_RegisterContextMenuHiddenCallback")]
+ public static extern void RegisterContextMenuHiddenCallback(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
}
}
}
diff --git a/src/Tizen.NUI/src/internal/WebView/WebCertificate.cs b/src/Tizen.NUI/src/internal/WebView/WebCertificate.cs
index 8af7905..43152b9 100755
--- a/src/Tizen.NUI/src/internal/WebView/WebCertificate.cs
+++ b/src/Tizen.NUI/src/internal/WebView/WebCertificate.cs
@@ -30,6 +30,14 @@ namespace Tizen.NUI
{
}
+ /// This will not be public opened.
+ ///
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
+ {
+ Interop.WebCertificate.DeleteWebCertificate(swigCPtr);
+ }
+
///
/// Checks whether the certificate comes from main frame.
///
diff --git a/src/Tizen.NUI/src/internal/WebView/WebConsoleMessage.cs b/src/Tizen.NUI/src/internal/WebView/WebConsoleMessage.cs
index 256ec43..bc6f595 100755
--- a/src/Tizen.NUI/src/internal/WebView/WebConsoleMessage.cs
+++ b/src/Tizen.NUI/src/internal/WebView/WebConsoleMessage.cs
@@ -30,6 +30,14 @@ namespace Tizen.NUI
{
}
+ /// This will not be public opened.
+ ///
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
+ {
+ Interop.WebConsoleMessage.DeleteWebConsoleMessage(swigCPtr);
+ }
+
///
/// Enumeration for level of log severity.
///
diff --git a/src/Tizen.NUI/src/internal/WebView/WebFormRepostPolicyDecisionMaker.cs b/src/Tizen.NUI/src/internal/WebView/WebFormRepostPolicyDecisionMaker.cs
index 89c5863..6f3dec2 100755
--- a/src/Tizen.NUI/src/internal/WebView/WebFormRepostPolicyDecisionMaker.cs
+++ b/src/Tizen.NUI/src/internal/WebView/WebFormRepostPolicyDecisionMaker.cs
@@ -30,6 +30,14 @@ namespace Tizen.NUI
{
}
+ /// This will not be public opened.
+ ///
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
+ {
+ Interop.WebFormRepostPolicyDecisionMaker.DeleteWebFormRepostDecision(swigCPtr);
+ }
+
///
/// Reply whether form repost decision is allowed or not.
/// allowed or not
diff --git a/src/Tizen.NUI/src/internal/WebView/WebHttpAuthHandler.cs b/src/Tizen.NUI/src/internal/WebView/WebHttpAuthHandler.cs
index da0b67a..74a09aa 100755
--- a/src/Tizen.NUI/src/internal/WebView/WebHttpAuthHandler.cs
+++ b/src/Tizen.NUI/src/internal/WebView/WebHttpAuthHandler.cs
@@ -29,6 +29,14 @@ namespace Tizen.NUI
{
}
+ /// This will not be public opened.
+ ///
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
+ {
+ Interop.WebHttpAuthHandler.DeleteWebHttpAuthHandler(swigCPtr);
+ }
+
///
/// Gets the realm of authentication challenge received.
///
diff --git a/src/Tizen.NUI/src/internal/WebView/WebHttpRequestInterceptor.cs b/src/Tizen.NUI/src/internal/WebView/WebHttpRequestInterceptor.cs
index 9e3545b..994cd7d 100755
--- a/src/Tizen.NUI/src/internal/WebView/WebHttpRequestInterceptor.cs
+++ b/src/Tizen.NUI/src/internal/WebView/WebHttpRequestInterceptor.cs
@@ -30,6 +30,14 @@ namespace Tizen.NUI
{
}
+ /// This will not be public opened.
+ ///
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
+ {
+ Interop.WebHttpRequestInterceptor.DeleteWebHttpRequestInterceptor(swigCPtr);
+ }
+
///
/// Gets url of intercepted request.
///
diff --git a/src/Tizen.NUI/src/internal/WebView/WebPageLoadError.cs b/src/Tizen.NUI/src/internal/WebView/WebPageLoadError.cs
index f10a0a1..6d46c1c 100755
--- a/src/Tizen.NUI/src/internal/WebView/WebPageLoadError.cs
+++ b/src/Tizen.NUI/src/internal/WebView/WebPageLoadError.cs
@@ -30,6 +30,14 @@ namespace Tizen.NUI
{
}
+ /// This will not be public opened.
+ ///
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
+ {
+ Interop.WebPageLoadError.DeleteWebPageLoadError(swigCPtr);
+ }
+
///
/// Enumeration for the load error type
///
diff --git a/src/Tizen.NUI/src/internal/WebView/WebPolicyDecisionMaker.cs b/src/Tizen.NUI/src/internal/WebView/WebPolicyDecisionMaker.cs
index a4e06a1..b0dc5bc 100755
--- a/src/Tizen.NUI/src/internal/WebView/WebPolicyDecisionMaker.cs
+++ b/src/Tizen.NUI/src/internal/WebView/WebPolicyDecisionMaker.cs
@@ -30,6 +30,14 @@ namespace Tizen.NUI
{
}
+ /// This will not be public opened.
+ ///
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
+ {
+ Interop.WebPolicyDecisionMaker.DeleteWebPolicyDecision(swigCPtr);
+ }
+
///
/// Decision type
///
diff --git a/src/Tizen.NUI/src/internal/WebView/WebView.cs b/src/Tizen.NUI/src/internal/WebView/WebView.cs
index 52bafc4..8bef486 100755
--- a/src/Tizen.NUI/src/internal/WebView/WebView.cs
+++ b/src/Tizen.NUI/src/internal/WebView/WebView.cs
@@ -34,35 +34,27 @@ namespace Tizen.NUI.BaseComponents
private float tileCoverAreaMultiplier;
private bool cursorEnabledByClient;
- private readonly WebViewPageLoadSignal pageLoadStartedSignal;
private EventHandler pageLoadStartedEventHandler;
private WebViewPageLoadCallbackDelegate pageLoadStartedCallback;
- private readonly WebViewPageLoadSignal pageLoadingSignal;
private EventHandler pageLoadingEventHandler;
private WebViewPageLoadCallbackDelegate pageLoadingCallback;
- private readonly WebViewPageLoadSignal pageLoadFinishedSignal;
private EventHandler pageLoadFinishedEventHandler;
private WebViewPageLoadCallbackDelegate pageLoadFinishedCallback;
- private readonly WebViewPageLoadErrorSignal pageLoadErrorSignal;
private EventHandler pageLoadErrorEventHandler;
private WebViewPageLoadErrorCallbackDelegate pageLoadErrorCallback;
- private readonly WebViewScrollEdgeReachedSignal scrollEdgeReachedSignal;
private EventHandler scrollEdgeReachedEventHandler;
private WebViewScrollEdgeReachedCallbackDelegate scrollEdgeReachedCallback;
- private readonly WebViewUrlChangedSignal urlChangedSignal;
private EventHandler urlChangedEventHandler;
private WebViewUrlChangedCallbackDelegate urlChangedCallback;
- private readonly WebViewFormRepostPolicyDecidedSignal formRepostPolicyDecidedSignal;
private EventHandler formRepostPolicyDecidedEventHandler;
private WebViewFormRepostPolicyDecidedCallbackDelegate formRepostPolicyDecidedCallback;
- private readonly WebViewFrameRenderedSignal frameRenderedSignal;
private EventHandler frameRenderedEventHandler;
private WebViewFrameRenderedCallbackDelegate frameRenderedCallback;
@@ -72,35 +64,27 @@ namespace Tizen.NUI.BaseComponents
private HitTestFinishedCallback hitTestFinishedCallback;
private readonly WebViewHitTestFinishedProxyCallback hitTestFinishedProxyCallback;
- private readonly WebViewResponsePolicyDecidedSignal responsePolicyDecidedSignal;
private EventHandler responsePolicyDecidedEventHandler;
private WebViewResponsePolicyDecidedCallbackDelegate responsePolicyDecidedCallback;
- private readonly WebViewCertificateReceivedSignal certificateConfirmedSignal;
private EventHandler certificateConfirmedEventHandler;
private WebViewCertificateReceivedCallbackDelegate certificateConfirmedCallback;
- private readonly WebViewCertificateReceivedSignal sslCertificateChangedSignal;
private EventHandler sslCertificateChangedEventHandler;
private WebViewCertificateReceivedCallbackDelegate sslCertificateChangedCallback;
- private readonly WebViewHttpAuthRequestedSignal httpAuthRequestedSignal;
private EventHandler httpAuthRequestedEventHandler;
private WebViewHttpAuthRequestedCallbackDelegate httpAuthRequestedCallback;
- private readonly WebViewHttpRequestInterceptedSignal httpRequestInterceptedSignal;
private EventHandler httpRequestInterceptedEventHandler;
private WebViewHttpRequestInterceptedCallbackDelegate httpRequestInterceptedCallback;
- private readonly WebViewConsoleMessageReceivedSignal consoleMessageReceivedSignal;
private EventHandler consoleMessageReceivedEventHandler;
private WebViewConsoleMessageReceivedCallbackDelegate consoleMessageReceivedCallback;
- private readonly WebViewContextMenuShownSignal contextMenuShownSignal;
private EventHandler contextMenuShownEventHandler;
private WebViewContextMenuShownCallbackDelegate contextMenuShownCallback;
- private readonly WebViewContextMenuHiddenSignal contextMenuHiddenSignal;
private EventHandler contextMenuHiddenEventHandler;
private WebViewContextMenuHiddenCallbackDelegate contextMenuHiddenCallback;
@@ -146,23 +130,6 @@ namespace Tizen.NUI.BaseComponents
internal WebView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(Interop.WebView.Upcast(cPtr), cMemoryOwn)
{
- pageLoadStartedSignal = new WebViewPageLoadSignal(Interop.WebView.NewWebViewPageLoadSignalPageLoadStarted(SwigCPtr));
- pageLoadingSignal = new WebViewPageLoadSignal(Interop.WebView.NewWebViewPageLoadSignalPageLoadInProgress(SwigCPtr));
- pageLoadFinishedSignal = new WebViewPageLoadSignal(Interop.WebView.NewWebViewPageLoadSignalPageLoadFinished(SwigCPtr));
- pageLoadErrorSignal = new WebViewPageLoadErrorSignal(Interop.WebView.NewWebViewPageLoadErrorSignalPageLoadError(SwigCPtr));
- scrollEdgeReachedSignal = new WebViewScrollEdgeReachedSignal(Interop.WebView.NewWebViewScrollEdgeReachedSignalScrollEdgeReached(SwigCPtr));
- urlChangedSignal = new WebViewUrlChangedSignal(Interop.WebView.NewWebViewUrlChangedSignalUrlChanged(SwigCPtr));
- formRepostPolicyDecidedSignal = new WebViewFormRepostPolicyDecidedSignal(Interop.WebView.NewWebViewFormRepostDecisionSignalFormRepostDecision(SwigCPtr));
- frameRenderedSignal = new WebViewFrameRenderedSignal(Interop.WebView.WebViewFrameRenderedSignalFrameRenderedGet(SwigCPtr));
- responsePolicyDecidedSignal = new WebViewResponsePolicyDecidedSignal(Interop.WebView.NewWebViewResponsePolicyDecisionSignalPolicyDecision(SwigCPtr));
- certificateConfirmedSignal = new WebViewCertificateReceivedSignal(Interop.WebView.NewWebViewCertificateSignalCertificateConfirm(SwigCPtr));
- sslCertificateChangedSignal = new WebViewCertificateReceivedSignal(Interop.WebView.NewWebViewCertificateSignalSslCertificateChanged(SwigCPtr));
- httpAuthRequestedSignal = new WebViewHttpAuthRequestedSignal(Interop.WebView.NewWebViewHttpAuthHandlerSignalHttpAuthHandler(SwigCPtr));
- httpRequestInterceptedSignal = new WebViewHttpRequestInterceptedSignal(Interop.WebView.NewWebViewRequestInterceptorSignalRequestInterceptor(SwigCPtr));
- consoleMessageReceivedSignal = new WebViewConsoleMessageReceivedSignal(Interop.WebView.NewWebViewConsoleMessageSignalConsoleMessage(SwigCPtr));
- contextMenuShownSignal = new WebViewContextMenuShownSignal(Interop.WebView.NewWebViewContextMenuShownSignalContextMenuShown(SwigCPtr));
- contextMenuHiddenSignal = new WebViewContextMenuHiddenSignal(Interop.WebView.NewWebViewContextMenuHiddenSignalContextMenuHidden(SwigCPtr));
-
screenshotAcquiredProxyCallback = OnScreenshotAcquired;
hitTestFinishedProxyCallback = OnHitTestFinished;
@@ -188,23 +155,6 @@ namespace Tizen.NUI.BaseComponents
//Called by User
//Release your own managed resources here.
//You should release all of your own disposable objects here.
- pageLoadStartedSignal.Dispose();
- pageLoadingSignal.Dispose();
- pageLoadFinishedSignal.Dispose();
- pageLoadErrorSignal.Dispose();
- scrollEdgeReachedSignal.Dispose();
- urlChangedSignal.Dispose();
- formRepostPolicyDecidedSignal.Dispose();
- frameRenderedSignal.Dispose();
- responsePolicyDecidedSignal.Dispose();
- certificateConfirmedSignal.Dispose();
- sslCertificateChangedSignal.Dispose();
- httpAuthRequestedSignal.Dispose();
- httpRequestInterceptedSignal.Dispose();
- consoleMessageReceivedSignal.Dispose();
- contextMenuShownSignal.Dispose();
- contextMenuHiddenSignal.Dispose();
-
BackForwardList.Dispose();
Context.Dispose();
CookieManager.Dispose();
@@ -279,22 +229,22 @@ namespace Tizen.NUI.BaseComponents
public delegate void HitTestFinishedCallback(WebHitTestResult test);
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
- private delegate void WebViewPageLoadCallbackDelegate(IntPtr data, string pageUrl);
+ private delegate void WebViewPageLoadCallbackDelegate(string pageUrl);
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
- private delegate void WebViewPageLoadErrorCallbackDelegate(IntPtr data, IntPtr error);
+ private delegate void WebViewPageLoadErrorCallbackDelegate(IntPtr error);
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
- private delegate void WebViewScrollEdgeReachedCallbackDelegate(IntPtr data, int edge);
+ private delegate void WebViewScrollEdgeReachedCallbackDelegate(int edge);
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
- private delegate void WebViewUrlChangedCallbackDelegate(IntPtr data, string pageUrl);
+ private delegate void WebViewUrlChangedCallbackDelegate(string pageUrl);
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
- private delegate void WebViewFormRepostPolicyDecidedCallbackDelegate(IntPtr data, IntPtr maker);
+ private delegate void WebViewFormRepostPolicyDecidedCallbackDelegate(IntPtr maker);
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
- private delegate void WebViewFrameRenderedCallbackDelegate(IntPtr data);
+ private delegate void WebViewFrameRenderedCallbackDelegate();
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
private delegate void WebViewScreenshotAcquiredProxyCallback(IntPtr data);
@@ -303,25 +253,25 @@ namespace Tizen.NUI.BaseComponents
private delegate void WebViewHitTestFinishedProxyCallback(IntPtr data);
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
- private delegate void WebViewResponsePolicyDecidedCallbackDelegate(IntPtr data, IntPtr maker);
+ private delegate void WebViewResponsePolicyDecidedCallbackDelegate(IntPtr maker);
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
- private delegate void WebViewCertificateReceivedCallbackDelegate(IntPtr data, IntPtr certificate);
+ private delegate void WebViewCertificateReceivedCallbackDelegate(IntPtr certificate);
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
- private delegate void WebViewHttpAuthRequestedCallbackDelegate(IntPtr data, IntPtr handler);
+ private delegate void WebViewHttpAuthRequestedCallbackDelegate(IntPtr handler);
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
- private delegate void WebViewHttpRequestInterceptedCallbackDelegate(IntPtr data, IntPtr interceptor);
+ private delegate void WebViewHttpRequestInterceptedCallbackDelegate(IntPtr interceptor);
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
- private delegate void WebViewConsoleMessageReceivedCallbackDelegate(IntPtr data, IntPtr message);
+ private delegate void WebViewConsoleMessageReceivedCallbackDelegate(IntPtr message);
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
- private delegate void WebViewContextMenuShownCallbackDelegate(IntPtr data, IntPtr menu);
+ private delegate void WebViewContextMenuShownCallbackDelegate(IntPtr menu);
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
- private delegate void WebViewContextMenuHiddenCallbackDelegate(IntPtr data, IntPtr item);
+ private delegate void WebViewContextMenuHiddenCallbackDelegate(IntPtr menu);
///
/// Event for the PageLoadStarted signal which can be used to subscribe or unsubscribe the event handler.
@@ -334,18 +284,15 @@ namespace Tizen.NUI.BaseComponents
{
if (pageLoadStartedEventHandler == null)
{
- pageLoadStartedCallback = (OnPageLoadStarted);
- pageLoadStartedSignal.Connect(pageLoadStartedCallback);
+ pageLoadStartedCallback = OnPageLoadStarted;
+ IntPtr ip = Marshal.GetFunctionPointerForDelegate(pageLoadStartedCallback);
+ Interop.WebView.RegisterPageLoadStartedCallback(SwigCPtr, new HandleRef(this, ip));
}
pageLoadStartedEventHandler += value;
}
remove
{
pageLoadStartedEventHandler -= value;
- if (pageLoadStartedEventHandler == null && pageLoadStartedCallback != null)
- {
- pageLoadStartedSignal.Disconnect(pageLoadStartedCallback);
- }
}
}
@@ -361,17 +308,14 @@ namespace Tizen.NUI.BaseComponents
if (pageLoadingEventHandler == null)
{
pageLoadingCallback = OnPageLoading;
- pageLoadingSignal.Connect(pageLoadingCallback);
+ IntPtr ip = Marshal.GetFunctionPointerForDelegate(pageLoadingCallback);
+ Interop.WebView.RegisterPageLoadInProgressCallback(SwigCPtr, new HandleRef(this, ip));
}
pageLoadingEventHandler += value;
}
remove
{
pageLoadingEventHandler -= value;
- if (pageLoadingEventHandler == null && pageLoadingCallback != null)
- {
- pageLoadingSignal.Disconnect(pageLoadingCallback);
- }
}
}
@@ -387,17 +331,14 @@ namespace Tizen.NUI.BaseComponents
if (pageLoadFinishedEventHandler == null)
{
pageLoadFinishedCallback = (OnPageLoadFinished);
- pageLoadFinishedSignal.Connect(pageLoadFinishedCallback);
+ IntPtr ip = Marshal.GetFunctionPointerForDelegate(pageLoadFinishedCallback);
+ Interop.WebView.RegisterPageLoadFinishedCallback(SwigCPtr, new HandleRef(this, ip));
}
pageLoadFinishedEventHandler += value;
}
remove
{
pageLoadFinishedEventHandler -= value;
- if (pageLoadFinishedEventHandler == null && pageLoadFinishedCallback != null)
- {
- pageLoadFinishedSignal.Disconnect(pageLoadFinishedCallback);
- }
}
}
@@ -413,17 +354,14 @@ namespace Tizen.NUI.BaseComponents
if (pageLoadErrorEventHandler == null)
{
pageLoadErrorCallback = OnPageLoadError;
- pageLoadErrorSignal.Connect(pageLoadErrorCallback);
+ IntPtr ip = Marshal.GetFunctionPointerForDelegate(pageLoadErrorCallback);
+ Interop.WebView.RegisterPageLoadErrorCallback(SwigCPtr, new HandleRef(this, ip));
}
pageLoadErrorEventHandler += value;
}
remove
{
pageLoadErrorEventHandler -= value;
- if (pageLoadErrorEventHandler == null && pageLoadErrorCallback != null)
- {
- pageLoadErrorSignal.Disconnect(pageLoadErrorCallback);
- }
}
}
@@ -439,17 +377,14 @@ namespace Tizen.NUI.BaseComponents
if (scrollEdgeReachedEventHandler == null)
{
scrollEdgeReachedCallback = OnScrollEdgeReached;
- scrollEdgeReachedSignal.Connect(scrollEdgeReachedCallback);
+ IntPtr ip = Marshal.GetFunctionPointerForDelegate(scrollEdgeReachedCallback);
+ Interop.WebView.RegisterScrollEdgeReachedCallback(SwigCPtr, new HandleRef(this, ip));
}
scrollEdgeReachedEventHandler += value;
}
remove
{
scrollEdgeReachedEventHandler -= value;
- if (scrollEdgeReachedEventHandler == null && scrollEdgeReachedCallback != null)
- {
- scrollEdgeReachedSignal.Disconnect(scrollEdgeReachedCallback);
- }
}
}
@@ -465,17 +400,14 @@ namespace Tizen.NUI.BaseComponents
if (urlChangedEventHandler == null)
{
urlChangedCallback = OnUrlChanged;
- urlChangedSignal.Connect(urlChangedCallback);
+ IntPtr ip = Marshal.GetFunctionPointerForDelegate(urlChangedCallback);
+ Interop.WebView.RegisterUrlChangedCallback(SwigCPtr, new HandleRef(this, ip));
}
urlChangedEventHandler += value;
}
remove
{
urlChangedEventHandler -= value;
- if (urlChangedEventHandler == null && urlChangedCallback != null)
- {
- urlChangedSignal.Disconnect(urlChangedCallback);
- }
}
}
@@ -491,17 +423,14 @@ namespace Tizen.NUI.BaseComponents
if (formRepostPolicyDecidedEventHandler == null)
{
formRepostPolicyDecidedCallback = OnFormRepostPolicyDecided;
- formRepostPolicyDecidedSignal.Connect(formRepostPolicyDecidedCallback);
+ IntPtr ip = Marshal.GetFunctionPointerForDelegate(formRepostPolicyDecidedCallback);
+ Interop.WebView.RegisterFormRepostDecidedCallback(SwigCPtr, new HandleRef(this, ip));
}
formRepostPolicyDecidedEventHandler += value;
}
remove
{
formRepostPolicyDecidedEventHandler -= value;
- if (formRepostPolicyDecidedEventHandler == null && formRepostPolicyDecidedCallback != null)
- {
- formRepostPolicyDecidedSignal.Disconnect(formRepostPolicyDecidedCallback);
- }
}
}
@@ -517,17 +446,14 @@ namespace Tizen.NUI.BaseComponents
if (frameRenderedEventHandler == null)
{
frameRenderedCallback = OnFrameRendered;
- frameRenderedSignal.Connect(frameRenderedCallback);
+ IntPtr ip = Marshal.GetFunctionPointerForDelegate(frameRenderedCallback);
+ Interop.WebView.RegisterFrameRenderedCallback(SwigCPtr, new HandleRef(this, ip));
}
frameRenderedEventHandler += value;
}
remove
{
frameRenderedEventHandler -= value;
- if (frameRenderedEventHandler == null && frameRenderedCallback != null)
- {
- frameRenderedSignal.Disconnect(frameRenderedCallback);
- }
}
}
@@ -543,17 +469,14 @@ namespace Tizen.NUI.BaseComponents
if (responsePolicyDecidedEventHandler == null)
{
responsePolicyDecidedCallback = OnResponsePolicyDecided;
- responsePolicyDecidedSignal.Connect(responsePolicyDecidedCallback);
+ IntPtr ip = Marshal.GetFunctionPointerForDelegate(responsePolicyDecidedCallback);
+ Interop.WebView.RegisterResponsePolicyDecidedCallback(SwigCPtr, new HandleRef(this, ip));
}
responsePolicyDecidedEventHandler += value;
}
remove
{
responsePolicyDecidedEventHandler -= value;
- if (responsePolicyDecidedEventHandler == null && responsePolicyDecidedCallback != null)
- {
- responsePolicyDecidedSignal.Disconnect(responsePolicyDecidedCallback);
- }
}
}
@@ -569,17 +492,14 @@ namespace Tizen.NUI.BaseComponents
if (certificateConfirmedEventHandler == null)
{
certificateConfirmedCallback = OnCertificateConfirmed;
- certificateConfirmedSignal.Connect(certificateConfirmedCallback);
+ IntPtr ip = Marshal.GetFunctionPointerForDelegate(certificateConfirmedCallback);
+ Interop.WebView.RegisterCertificateConfirmedCallback(SwigCPtr, new HandleRef(this, ip));
}
certificateConfirmedEventHandler += value;
}
remove
{
certificateConfirmedEventHandler -= value;
- if (certificateConfirmedEventHandler == null && certificateConfirmedCallback != null)
- {
- certificateConfirmedSignal.Disconnect(certificateConfirmedCallback);
- }
}
}
@@ -595,17 +515,14 @@ namespace Tizen.NUI.BaseComponents
if (httpRequestInterceptedEventHandler == null)
{
httpRequestInterceptedCallback = OnHttpRequestIntercepted;
- httpRequestInterceptedSignal.Connect(httpRequestInterceptedCallback);
+ IntPtr ip = Marshal.GetFunctionPointerForDelegate(httpRequestInterceptedCallback);
+ Interop.WebView.RegisterRequestInterceptorCallback(SwigCPtr, new HandleRef(this, ip));
}
httpRequestInterceptedEventHandler += value;
}
remove
{
httpRequestInterceptedEventHandler -= value;
- if (httpRequestInterceptedEventHandler == null && httpRequestInterceptedCallback != null)
- {
- httpRequestInterceptedSignal.Disconnect(httpRequestInterceptedCallback);
- }
}
}
@@ -621,17 +538,14 @@ namespace Tizen.NUI.BaseComponents
if (sslCertificateChangedEventHandler == null)
{
sslCertificateChangedCallback = OnSslCertificateChanged;
- sslCertificateChangedSignal.Connect(sslCertificateChangedCallback);
+ IntPtr ip = Marshal.GetFunctionPointerForDelegate(sslCertificateChangedCallback);
+ Interop.WebView.RegisterSslCertificateChangedCallback(SwigCPtr, new HandleRef(this, ip));
}
sslCertificateChangedEventHandler += value;
}
remove
{
sslCertificateChangedEventHandler -= value;
- if (sslCertificateChangedEventHandler == null && sslCertificateChangedCallback != null)
- {
- sslCertificateChangedSignal.Disconnect(sslCertificateChangedCallback);
- }
}
}
@@ -647,17 +561,14 @@ namespace Tizen.NUI.BaseComponents
if (httpAuthRequestedEventHandler == null)
{
httpAuthRequestedCallback = OnHttpAuthRequested;
- httpAuthRequestedSignal.Connect(httpAuthRequestedCallback);
+ IntPtr ip = Marshal.GetFunctionPointerForDelegate(httpAuthRequestedCallback);
+ Interop.WebView.RegisterHttpAuthHandlerCallback(SwigCPtr, new HandleRef(this, ip));
}
httpAuthRequestedEventHandler += value;
}
remove
{
httpAuthRequestedEventHandler -= value;
- if (httpAuthRequestedEventHandler == null && httpAuthRequestedCallback != null)
- {
- httpAuthRequestedSignal.Disconnect(httpAuthRequestedCallback);
- }
}
}
@@ -673,17 +584,14 @@ namespace Tizen.NUI.BaseComponents
if (consoleMessageReceivedEventHandler == null)
{
consoleMessageReceivedCallback = OnConsoleMessageReceived;
- consoleMessageReceivedSignal.Connect(consoleMessageReceivedCallback);
+ IntPtr ip = Marshal.GetFunctionPointerForDelegate(consoleMessageReceivedCallback);
+ Interop.WebView.RegisterConsoleMessageReceivedCallback(SwigCPtr, new HandleRef(this, ip));
}
consoleMessageReceivedEventHandler += value;
}
remove
{
consoleMessageReceivedEventHandler -= value;
- if (consoleMessageReceivedEventHandler == null && consoleMessageReceivedCallback != null)
- {
- consoleMessageReceivedSignal.Disconnect(consoleMessageReceivedCallback);
- }
}
}
@@ -699,17 +607,14 @@ namespace Tizen.NUI.BaseComponents
if (contextMenuShownEventHandler == null)
{
contextMenuShownCallback = OnContextMenuShown;
- contextMenuShownSignal.Connect(contextMenuShownCallback);
+ IntPtr ip = Marshal.GetFunctionPointerForDelegate(contextMenuShownCallback);
+ Interop.WebView.RegisterContextMenuShownCallback(SwigCPtr, new HandleRef(this, ip));
}
contextMenuShownEventHandler += value;
}
remove
{
contextMenuShownEventHandler -= value;
- if (contextMenuShownEventHandler == null && contextMenuShownCallback != null)
- {
- contextMenuShownSignal.Disconnect(contextMenuShownCallback);
- }
}
}
@@ -725,17 +630,14 @@ namespace Tizen.NUI.BaseComponents
if (contextMenuHiddenEventHandler == null)
{
contextMenuHiddenCallback = OnContextMenuHidden;
- contextMenuHiddenSignal.Connect(contextMenuHiddenCallback);
+ IntPtr ip = Marshal.GetFunctionPointerForDelegate(contextMenuHiddenCallback);
+ Interop.WebView.RegisterContextMenuHiddenCallback(SwigCPtr, new HandleRef(this, ip));
}
contextMenuHiddenEventHandler += value;
}
remove
{
contextMenuHiddenEventHandler -= value;
- if (contextMenuHiddenEventHandler == null && contextMenuHiddenCallback != null)
- {
- contextMenuHiddenSignal.Disconnect(contextMenuHiddenCallback);
- }
}
}
@@ -2060,52 +1962,52 @@ namespace Tizen.NUI.BaseComponents
return ret;
}
- private void OnPageLoadStarted(IntPtr data, string pageUrl)
+ private void OnPageLoadStarted(string pageUrl)
{
WebViewPageLoadEventArgs e = new WebViewPageLoadEventArgs();
- e.WebView = Registry.GetManagedBaseHandleFromNativePtr(data) as WebView;
+ e.WebView = this;
e.PageUrl = pageUrl;
pageLoadStartedEventHandler?.Invoke(this, e);
}
- private void OnPageLoading(IntPtr data, string pageUrl)
+ private void OnPageLoading(string pageUrl)
{
pageLoadingEventHandler?.Invoke(this, new WebViewPageLoadEventArgs());
}
- private void OnPageLoadFinished(IntPtr data, string pageUrl)
+ private void OnPageLoadFinished(string pageUrl)
{
WebViewPageLoadEventArgs e = new WebViewPageLoadEventArgs();
- e.WebView = Registry.GetManagedBaseHandleFromNativePtr(data) as WebView;
+ e.WebView = this;
e.PageUrl = pageUrl;
pageLoadFinishedEventHandler?.Invoke(this, e);
}
- private void OnPageLoadError(IntPtr data, IntPtr error)
+ private void OnPageLoadError(IntPtr error)
{
- pageLoadErrorEventHandler?.Invoke(this, new WebViewPageLoadErrorEventArgs(new WebPageLoadError(error, false)));
+ pageLoadErrorEventHandler?.Invoke(this, new WebViewPageLoadErrorEventArgs(new WebPageLoadError(error, true)));
}
- private void OnScrollEdgeReached(IntPtr data, int edge)
+ private void OnScrollEdgeReached(int edge)
{
scrollEdgeReachedEventHandler?.Invoke(this, new WebViewScrollEdgeReachedEventArgs((WebViewScrollEdgeReachedEventArgs.Edge)edge));
}
- private void OnUrlChanged(IntPtr data, string pageUrl)
+ private void OnUrlChanged(string pageUrl)
{
urlChangedEventHandler?.Invoke(this, new WebViewUrlChangedEventArgs(pageUrl));
}
- private void OnFormRepostPolicyDecided(IntPtr data, IntPtr decision)
+ private void OnFormRepostPolicyDecided(IntPtr decision)
{
- formRepostPolicyDecidedEventHandler?.Invoke(this, new WebViewFormRepostPolicyDecidedEventArgs(new WebFormRepostPolicyDecisionMaker(decision, false)));
+ formRepostPolicyDecidedEventHandler?.Invoke(this, new WebViewFormRepostPolicyDecidedEventArgs(new WebFormRepostPolicyDecisionMaker(decision, true)));
}
- private void OnFrameRendered(IntPtr data)
+ private void OnFrameRendered()
{
frameRenderedEventHandler?.Invoke(this, new EventArgs());
}
@@ -2117,44 +2019,44 @@ namespace Tizen.NUI.BaseComponents
image.Dispose();
}
- private void OnResponsePolicyDecided(IntPtr data, IntPtr maker)
+ private void OnResponsePolicyDecided(IntPtr maker)
{
- responsePolicyDecidedEventHandler?.Invoke(this, new WebViewResponsePolicyDecidedEventArgs(new WebPolicyDecisionMaker(maker, false)));
+ responsePolicyDecidedEventHandler?.Invoke(this, new WebViewResponsePolicyDecidedEventArgs(new WebPolicyDecisionMaker(maker, true)));
}
- private void OnCertificateConfirmed(IntPtr data, IntPtr certificate)
+ private void OnCertificateConfirmed(IntPtr certificate)
{
- certificateConfirmedEventHandler?.Invoke(this, new WebViewCertificateReceivedEventArgs(new WebCertificate(certificate, false)));
+ certificateConfirmedEventHandler?.Invoke(this, new WebViewCertificateReceivedEventArgs(new WebCertificate(certificate, true)));
}
- private void OnSslCertificateChanged(IntPtr data, IntPtr certificate)
+ private void OnSslCertificateChanged(IntPtr certificate)
{
- sslCertificateChangedEventHandler?.Invoke(this, new WebViewCertificateReceivedEventArgs(new WebCertificate(certificate, false)));
+ sslCertificateChangedEventHandler?.Invoke(this, new WebViewCertificateReceivedEventArgs(new WebCertificate(certificate, true)));
}
- private void OnHttpAuthRequested(IntPtr data, IntPtr handler)
+ private void OnHttpAuthRequested(IntPtr handler)
{
- httpAuthRequestedEventHandler?.Invoke(this, new WebViewHttpAuthRequestedEventArgs(new WebHttpAuthHandler(handler, false)));
+ httpAuthRequestedEventHandler?.Invoke(this, new WebViewHttpAuthRequestedEventArgs(new WebHttpAuthHandler(handler, true)));
}
- private void OnHttpRequestIntercepted(IntPtr data, IntPtr interceptor)
+ private void OnHttpRequestIntercepted(IntPtr interceptor)
{
- httpRequestInterceptedEventHandler?.Invoke(this, new WebViewHttpRequestInterceptedEventArgs(new WebHttpRequestInterceptor(interceptor, false)));
+ httpRequestInterceptedEventHandler?.Invoke(this, new WebViewHttpRequestInterceptedEventArgs(new WebHttpRequestInterceptor(interceptor, true)));
}
- private void OnConsoleMessageReceived(IntPtr data, IntPtr message)
+ private void OnConsoleMessageReceived(IntPtr message)
{
- consoleMessageReceivedEventHandler?.Invoke(this, new WebViewConsoleMessageReceivedEventArgs(new WebConsoleMessage(message, false)));
+ consoleMessageReceivedEventHandler?.Invoke(this, new WebViewConsoleMessageReceivedEventArgs(new WebConsoleMessage(message, true)));
}
- private void OnContextMenuShown(IntPtr data, IntPtr menu)
+ private void OnContextMenuShown(IntPtr menu)
{
- contextMenuShownEventHandler?.Invoke(this, new WebViewContextMenuShownEventArgs(new WebContextMenu(menu, false)));
+ contextMenuShownEventHandler?.Invoke(this, new WebViewContextMenuShownEventArgs(new WebContextMenu(menu, true)));
}
- private void OnContextMenuHidden(IntPtr data, IntPtr menu)
+ private void OnContextMenuHidden(IntPtr menu)
{
- contextMenuHiddenEventHandler?.Invoke(this, new WebViewContextMenuHiddenEventArgs(new WebContextMenu(menu, false)));
+ contextMenuHiddenEventHandler?.Invoke(this, new WebViewContextMenuHiddenEventArgs(new WebContextMenu(menu, true)));
}
private void OnHitTestFinished(IntPtr test)
diff --git a/src/Tizen.NUI/src/internal/WebView/WebViewCertificateReceivedSignal.cs b/src/Tizen.NUI/src/internal/WebView/WebViewCertificateReceivedSignal.cs
deleted file mode 100755
index c0dc00a..0000000
--- a/src/Tizen.NUI/src/internal/WebView/WebViewCertificateReceivedSignal.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Copyright(c) 2021 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-namespace Tizen.NUI
-{
- internal class WebViewCertificateReceivedSignal : Disposable
- {
- public WebViewCertificateReceivedSignal(global::System.IntPtr cPtr) : base(cPtr, true)
- {
- }
-
- protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
- {
- Interop.WebView.DeleteWebViewCertificateSignal(swigCPtr);
- }
-
- public void Connect(System.Delegate func)
- {
- System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
- {
- Interop.WebView.WebViewCertificateSignalConnect(SwigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- {
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- }
- }
-
- public void Disconnect(System.Delegate func)
- {
- System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
- {
- Interop.WebView.WebViewCertificateSignalDisconnect(SwigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- {
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- }
- }
- }
-}
diff --git a/src/Tizen.NUI/src/internal/WebView/WebViewConsoleMessageReceivedSignal.cs b/src/Tizen.NUI/src/internal/WebView/WebViewConsoleMessageReceivedSignal.cs
deleted file mode 100755
index 40ca921..0000000
--- a/src/Tizen.NUI/src/internal/WebView/WebViewConsoleMessageReceivedSignal.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Copyright(c) 2021 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-namespace Tizen.NUI
-{
- internal class WebViewConsoleMessageReceivedSignal : Disposable
- {
- public WebViewConsoleMessageReceivedSignal(global::System.IntPtr cPtr) : base(cPtr, true)
- {
- }
-
- protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
- {
- Interop.WebView.DeleteWebViewConsoleMessageSignal(swigCPtr);
- }
-
- public void Connect(System.Delegate func)
- {
- System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
- {
- Interop.WebView.WebViewConsoleMessageSignalConnect(SwigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- {
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- }
- }
-
- public void Disconnect(System.Delegate func)
- {
- System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
- {
- Interop.WebView.WebViewConsoleMessageSignalDisconnect(SwigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- {
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- }
- }
- }
-}
diff --git a/src/Tizen.NUI/src/internal/WebView/WebViewContextMenuHiddenSignal.cs b/src/Tizen.NUI/src/internal/WebView/WebViewContextMenuHiddenSignal.cs
deleted file mode 100755
index 9e6605c..0000000
--- a/src/Tizen.NUI/src/internal/WebView/WebViewContextMenuHiddenSignal.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Copyright(c) 2021 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-namespace Tizen.NUI
-{
- internal class WebViewContextMenuHiddenSignal : Disposable
- {
- public WebViewContextMenuHiddenSignal(global::System.IntPtr cPtr) : base(cPtr, true)
- {
- }
-
- protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
- {
- Interop.WebView.DeleteWebViewContextMenuHiddenSignal(swigCPtr);
- }
-
- public void Connect(System.Delegate func)
- {
- System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
- {
- Interop.WebView.WebViewContextMenuHiddenSignalConnect(SwigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- {
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- }
- }
-
- public void Disconnect(System.Delegate func)
- {
- System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
- {
- Interop.WebView.WebViewContextMenuHiddenSignalDisconnect(SwigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- {
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- }
- }
- }
-}
diff --git a/src/Tizen.NUI/src/internal/WebView/WebViewContextMenuShownSignal.cs b/src/Tizen.NUI/src/internal/WebView/WebViewContextMenuShownSignal.cs
deleted file mode 100755
index 25e260a..0000000
--- a/src/Tizen.NUI/src/internal/WebView/WebViewContextMenuShownSignal.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Copyright(c) 2021 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-namespace Tizen.NUI
-{
- internal class WebViewContextMenuShownSignal : Disposable
- {
- public WebViewContextMenuShownSignal(global::System.IntPtr cPtr) : base(cPtr, true)
- {
- }
-
- protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
- {
- Interop.WebView.DeleteWebViewContextMenuShownSignal(swigCPtr);
- }
-
- public void Connect(System.Delegate func)
- {
- System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
- {
- Interop.WebView.WebViewContextMenuShownSignalConnect(SwigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- {
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- }
- }
-
- public void Disconnect(System.Delegate func)
- {
- System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
- {
- Interop.WebView.WebViewContextMenuShownSignalDisconnect(SwigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- {
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- }
- }
- }
-}
diff --git a/src/Tizen.NUI/src/internal/WebView/WebViewFormRepostPolicyDecidedSignal.cs b/src/Tizen.NUI/src/internal/WebView/WebViewFormRepostPolicyDecidedSignal.cs
deleted file mode 100755
index c3d7c8d..0000000
--- a/src/Tizen.NUI/src/internal/WebView/WebViewFormRepostPolicyDecidedSignal.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Copyright(c) 2021 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-namespace Tizen.NUI
-{
- internal class WebViewFormRepostPolicyDecidedSignal : Disposable
- {
- public WebViewFormRepostPolicyDecidedSignal(global::System.IntPtr cPtr) : base(cPtr, true)
- {
- }
-
- protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
- {
- Interop.WebView.DeleteWebViewFormRepostDecisionSignal(swigCPtr);
- }
-
- public void Connect(System.Delegate func)
- {
- System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
- {
- Interop.WebView.WebViewFormRepostDecisionSignalConnect(SwigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- {
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- }
- }
-
- public void Disconnect(System.Delegate func)
- {
- System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
- {
- Interop.WebView.WebViewFormRepostDecisionSignalDisconnect(SwigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- {
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- }
- }
- }
-}
diff --git a/src/Tizen.NUI/src/internal/WebView/WebViewFrameRenderedSignal.cs b/src/Tizen.NUI/src/internal/WebView/WebViewFrameRenderedSignal.cs
deleted file mode 100755
index d5984c7..0000000
--- a/src/Tizen.NUI/src/internal/WebView/WebViewFrameRenderedSignal.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Copyright(c) 2021 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-namespace Tizen.NUI
-{
- internal class WebViewFrameRenderedSignal : Disposable
- {
- public WebViewFrameRenderedSignal(global::System.IntPtr cPtr) : base(cPtr, false)
- {
- }
-
- public void Connect(System.Delegate func)
- {
- System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
- {
- Interop.WebView.WebViewFrameRenderedSignalConnect(SwigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- {
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- }
- }
-
- public void Disconnect(System.Delegate func)
- {
- System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
- {
- Interop.WebView.WebViewFrameRenderedSignalDisconnect(SwigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- {
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- }
- }
- }
-}
diff --git a/src/Tizen.NUI/src/internal/WebView/WebViewHttpAuthRequestedSignal.cs b/src/Tizen.NUI/src/internal/WebView/WebViewHttpAuthRequestedSignal.cs
deleted file mode 100755
index 372e74b..0000000
--- a/src/Tizen.NUI/src/internal/WebView/WebViewHttpAuthRequestedSignal.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Copyright(c) 2021 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-namespace Tizen.NUI
-{
- internal class WebViewHttpAuthRequestedSignal : Disposable
- {
- public WebViewHttpAuthRequestedSignal(global::System.IntPtr cPtr) : base(cPtr, true)
- {
- }
-
- protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
- {
- Interop.WebView.DeleteWebViewHttpAuthHandlerSignal(swigCPtr);
- }
-
- public void Connect(System.Delegate func)
- {
- System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
- {
- Interop.WebView.WebViewHttpAuthHandlerSignalConnect(SwigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- {
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- }
- }
-
- public void Disconnect(System.Delegate func)
- {
- System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
- {
- Interop.WebView.WebViewHttpAuthHandlerSignalDisconnect(SwigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- {
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- }
- }
- }
-}
diff --git a/src/Tizen.NUI/src/internal/WebView/WebViewHttpRequestInterceptedSignal.cs b/src/Tizen.NUI/src/internal/WebView/WebViewHttpRequestInterceptedSignal.cs
deleted file mode 100755
index 0d66a06..0000000
--- a/src/Tizen.NUI/src/internal/WebView/WebViewHttpRequestInterceptedSignal.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Copyright(c) 2021 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-namespace Tizen.NUI
-{
- internal class WebViewHttpRequestInterceptedSignal : Disposable
- {
- public WebViewHttpRequestInterceptedSignal(global::System.IntPtr cPtr) : base(cPtr, true)
- {
- }
-
- protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
- {
- Interop.WebView.DeleteWebViewRequestInterceptorSignal(swigCPtr);
- }
-
- public void Connect(System.Delegate func)
- {
- System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
- {
- Interop.WebView.WebViewRequestInterceptorSignalConnect(SwigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- {
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- }
- }
-
- public void Disconnect(System.Delegate func)
- {
- System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
- {
- Interop.WebView.WebViewRequestInterceptorSignalDisconnect(SwigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- {
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- }
- }
- }
-}
diff --git a/src/Tizen.NUI/src/internal/WebView/WebViewPageLoadErrorSignal.cs b/src/Tizen.NUI/src/internal/WebView/WebViewPageLoadErrorSignal.cs
deleted file mode 100755
index a6b3b29..0000000
--- a/src/Tizen.NUI/src/internal/WebView/WebViewPageLoadErrorSignal.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Copyright(c) 2019 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-namespace Tizen.NUI
-{
- internal class WebViewPageLoadErrorSignal : Disposable
- {
- public WebViewPageLoadErrorSignal(global::System.IntPtr cPtr) : base(cPtr, true)
- {
- }
-
- protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
- {
- Interop.WebView.DeleteWebViewPageLoadErrorSignal(swigCPtr);
- }
-
- public void Connect(System.Delegate func)
- {
- System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
- {
- Interop.WebView.WebViewPageLoadErrorSignalConnect(SwigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- {
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- }
- }
-
- public void Disconnect(System.Delegate func)
- {
- System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
- {
- Interop.WebView.WebViewPageLoadErrorSignalDisconnect(SwigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- {
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- }
- }
- }
-}
diff --git a/src/Tizen.NUI/src/internal/WebView/WebViewPageLoadSignal.cs b/src/Tizen.NUI/src/internal/WebView/WebViewPageLoadSignal.cs
deleted file mode 100755
index 322e8cb..0000000
--- a/src/Tizen.NUI/src/internal/WebView/WebViewPageLoadSignal.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Copyright(c) 2019 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-namespace Tizen.NUI
-{
- internal class WebViewPageLoadSignal : Disposable
- {
- public WebViewPageLoadSignal(global::System.IntPtr cPtr) : base(cPtr, true)
- {
- }
-
- protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
- {
- Interop.WebView.DeleteWebViewPageLoadSignal(swigCPtr);
- }
-
- public void Connect(System.Delegate func)
- {
- System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
- {
- Interop.WebView.WebViewPageLoadSignalConnect(SwigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- {
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- }
- }
-
- public void Disconnect(System.Delegate func)
- {
- System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
- {
- Interop.WebView.WebViewPageLoadSignalDisconnect(SwigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- {
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- }
- }
- }
-}
diff --git a/src/Tizen.NUI/src/internal/WebView/WebViewResponsePolicyDecidedSignal.cs b/src/Tizen.NUI/src/internal/WebView/WebViewResponsePolicyDecidedSignal.cs
deleted file mode 100755
index d9a7040..0000000
--- a/src/Tizen.NUI/src/internal/WebView/WebViewResponsePolicyDecidedSignal.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Copyright(c) 2021 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-namespace Tizen.NUI
-{
- internal class WebViewResponsePolicyDecidedSignal : Disposable
- {
- public WebViewResponsePolicyDecidedSignal(global::System.IntPtr cPtr) : base(cPtr, true)
- {
- }
-
- protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
- {
- Interop.WebView.DeleteWebViewResponsePolicyDecisionSignal(swigCPtr);
- }
-
- public void Connect(System.Delegate func)
- {
- System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
- {
- Interop.WebView.WebViewPolicyDecisionSignalConnect(SwigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- {
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- }
- }
-
- public void Disconnect(System.Delegate func)
- {
- System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
- {
- Interop.WebView.WebViewPolicyDecisionSignalDisconnect(SwigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- {
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- }
- }
- }
-}
diff --git a/src/Tizen.NUI/src/internal/WebView/WebViewScrollEdgeReachedSignal.cs b/src/Tizen.NUI/src/internal/WebView/WebViewScrollEdgeReachedSignal.cs
deleted file mode 100755
index cb0372a..0000000
--- a/src/Tizen.NUI/src/internal/WebView/WebViewScrollEdgeReachedSignal.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Copyright(c) 2021 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-namespace Tizen.NUI
-{
- internal class WebViewScrollEdgeReachedSignal : Disposable
- {
- public WebViewScrollEdgeReachedSignal(global::System.IntPtr cPtr) : base(cPtr, true)
- {
- }
-
- protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
- {
- Interop.WebView.DeleteWebViewScrollEdgeReachedSignal(swigCPtr);
- }
-
- public void Connect(System.Delegate func)
- {
- System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
- {
- Interop.WebView.WebViewScrollEdgeReachedSignalConnect(SwigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- {
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- }
- }
-
- public void Disconnect(System.Delegate func)
- {
- System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
- {
- Interop.WebView.WebViewScrollEdgeReachedSignalDisconnect(SwigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- {
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- }
- }
- }
-}
diff --git a/src/Tizen.NUI/src/internal/WebView/WebViewUrlChangedSignal.cs b/src/Tizen.NUI/src/internal/WebView/WebViewUrlChangedSignal.cs
deleted file mode 100755
index 9899656..0000000
--- a/src/Tizen.NUI/src/internal/WebView/WebViewUrlChangedSignal.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Copyright(c) 2021 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-namespace Tizen.NUI
-{
- internal class WebViewUrlChangedSignal : Disposable
- {
- public WebViewUrlChangedSignal(global::System.IntPtr cPtr) : base(cPtr, true)
- {
- }
-
- protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
- {
- Interop.WebView.DeleteWebViewUrlChangedSignal(swigCPtr);
- }
-
- public void Connect(System.Delegate func)
- {
- System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
- {
- Interop.WebView.WebViewUrlChangedSignalConnect(SwigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- {
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- }
- }
-
- public void Disconnect(System.Delegate func)
- {
- System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
- {
- Interop.WebView.WebViewUrlChangedSignalDisconnect(SwigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- {
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- }
- }
- }
-}