[Tizen] Add WebView Certificate policy decision error get and suspend
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Tue, 27 Aug 2024 06:46:16 +0000 (15:46 +0900)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Tue, 27 Aug 2024 06:46:16 +0000 (15:46 +0900)
This reverts commit 47966078b9bc3c74303ea0fe207e8a17e630670d.

dali-csharp-binder/dali-toolkit/web-view-wrap.cpp

index bfef1e7a51596714801e61917fdf3c955930845d..588b55f55648e65f7eaeb9b901678f515dd5f451 100755 (executable)
@@ -1639,6 +1639,28 @@ SWIGEXPORT bool SWIGSTDCALL CSharp_Dali_WebCertificate_IsContextSecure(void * ja
   return ret;
 }
 
+SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WebCertificate_GetPolicyDecisionError(void * jarg1) {
+  Dali::WebEngineCertificate* arg1 = (Dali::WebEngineCertificate*)jarg1;
+  int ret = 1000;
+  {
+    try {
+      ret = (arg1)->GetPolicyDecisionError();
+    } CALL_CATCH_EXCEPTION(1000);
+  }
+  return ret;
+}
+
+SWIGEXPORT bool SWIGSTDCALL CSharp_Dali_WebCertificate_SuspendPolicyDecision(void * jarg1) {
+  Dali::WebEngineCertificate* arg1 = (Dali::WebEngineCertificate*)jarg1;
+  bool ret = false;
+  {
+    try {
+      ret = (arg1)->SuspendPolicyDecision();
+    } CALL_CATCH_EXCEPTION(0);
+  }
+  return ret;
+}
+
 //----------------------------------WebContext-----------------------------------------------------
 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WebContext_GetCacheModel(void * jarg1) {
   Dali::WebEngineContext *arg1 = (Dali::WebEngineContext *)0;