[Tizen] Add WebView Certificate policy decision error get and suspend 72/316472/1
authordongsug.song <dongsug.song@samsung.com>
Mon, 5 Aug 2024 12:54:34 +0000 (21:54 +0900)
committerdongsug.song <dongsug.song@samsung.com>
Thu, 22 Aug 2024 03:22:35 +0000 (12:22 +0900)
Change-Id: I3f27591869684e4743add0fc5d036d9f7e53733c

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;