[Tizen] Add a WebView API for notifying orientation change. 21/305521/1 accepted/tizen/7.0/unified/20240207.172849
authorhuayong.xu <huayong.xu@samsung.com>
Fri, 2 Feb 2024 06:46:36 +0000 (14:46 +0800)
committerhuayong.xu <huayong.xu@samsung.com>
Fri, 2 Feb 2024 06:46:36 +0000 (14:46 +0800)
Change-Id: I64b86ce924f24502a1a1aed50fc91dd34e7620ed

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

index 40e7ef9..475d8cf 100755 (executable)
@@ -225,6 +225,16 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WebView_GetBackForwardList(void * jarg
   return jresult;
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WebView_ChangeOrientation(void * jarg1, int orientation) {
+  Dali::Toolkit::WebView* arg1 = (Dali::Toolkit::WebView*)jarg1;
+
+  {
+    try {
+      arg1->ChangeOrientation(orientation);
+    } CALL_CATCH_EXCEPTION();
+  }
+}
+
 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WebView_GetSettings(void * jarg1) {
   void * jresult;
   Dali::Toolkit::WebView* arg1 = (Dali::Toolkit::WebView*)0;