[NUI] Add WebView APIs (#464)
authorhuiyueun <35286162+huiyueun@users.noreply.github.com>
Thu, 20 Sep 2018 07:01:17 +0000 (16:01 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Thu, 20 Sep 2018 07:01:17 +0000 (16:01 +0900)
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
src/Tizen.NUI/src/internal/NDalicPINVOKE.cs
src/Tizen.NUI/src/internal/WebView.cs [new file with mode: 0755]
src/Tizen.NUI/src/internal/WebViewSignal.cs [new file with mode: 0755]

index 102f172..394b08d 100755 (executable)
@@ -66872,6 +66872,519 @@ namespace Tizen.NUI
             }
         }
 
+        [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_WebView_New")]
+        public static extern global::System.IntPtr WebView_New_gl();
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_WebView_New")]
+        public static extern global::System.IntPtr WebView_New_vulkan();
+
+        public static global::System.IntPtr WebView_New()
+        {
+            Tizen.Log.Error("NUI", "[MYLOG] Pinvoke webview New");
+            if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
+            {
+                return WebView_New_vulkan();
+            }
+            else
+            {
+                return WebView_New_gl();
+            }
+        }
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_WebView_New_2")]
+        public static extern global::System.IntPtr WebView_New_2_gl(string jarg1, string jarg2);
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_WebView_New_2")]
+        public static extern global::System.IntPtr WebView_New_2_vulkan(string jarg1, string jarg2);
+
+        public static global::System.IntPtr WebView_New_2(string jarg1, string jarg2)
+        {
+            if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
+            {
+                return WebView_New_2_vulkan(jarg1, jarg2);
+            }
+            else
+            {
+                return WebView_New_2_gl(jarg1, jarg2);
+            }
+        }
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_new_WebView__SWIG_1")]
+        public static extern global::System.IntPtr new_WebView__SWIG_1_gl(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_new_WebView__SWIG_1")]
+        public static extern global::System.IntPtr new_WebView__SWIG_1_vulkan(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        public static global::System.IntPtr new_WebView__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
+        {
+            if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
+            {
+                return new_WebView__SWIG_1_vulkan(jarg1);
+            }
+            else
+            {
+                return new_WebView__SWIG_1_gl(jarg1);
+            }
+        }
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_delete_WebView")]
+        public static extern void delete_WebView_gl(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_delete_WebView")]
+        public static extern void delete_WebView_vulkan(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        public static void delete_WebView(global::System.Runtime.InteropServices.HandleRef jarg1)
+        {
+            if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
+            {
+                delete_WebView_vulkan(jarg1);
+            }
+            else
+            {
+                delete_WebView_gl(jarg1);
+            }
+        }
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_WebView_Assign")]
+        public static extern global::System.IntPtr WebView_Assign_gl(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_WebView_Assign")]
+        public static extern global::System.IntPtr WebView_Assign_vulkan(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
+
+        public static global::System.IntPtr WebView_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
+        {
+            if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
+            {
+                return WebView_Assign_vulkan(jarg1, jarg2);
+            }
+            else
+            {
+                return WebView_Assign_gl(jarg1, jarg2);
+            }
+        }
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_WebView_DownCast")]
+        public static extern global::System.IntPtr WebView_DownCast_gl(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_WebView_DownCast")]
+        public static extern global::System.IntPtr WebView_DownCast_vulkan(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        public static global::System.IntPtr WebView_DownCast(global::System.Runtime.InteropServices.HandleRef jarg1)
+        {
+            if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
+            {
+                return WebView_DownCast_vulkan(jarg1);
+            }
+            else
+            {
+                return WebView_DownCast_gl(jarg1);
+            }
+        }
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_WebView_LoadUrl")]
+        public static extern void WebView_LoadUrl_gl(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_WebView_LoadUrl")]
+        public static extern void WebView_LoadUrl_vulkan(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);
+
+        public static void WebView_LoadUrl(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2)
+        {
+            if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
+            {
+                WebView_LoadUrl_vulkan(jarg1, jarg2);
+            }
+            else
+            {
+                WebView_LoadUrl_gl(jarg1, jarg2);
+            }
+        }
+
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_WebView_GetUrl")]
+        public static extern string WebView_GetUrl_gl(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_WebView_GetUrl")]
+        public static extern string WebView_GetUrl_vulkan(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        public static string WebView_GetUrl(global::System.Runtime.InteropServices.HandleRef jarg1)
+        {
+            if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
+            {
+                return WebView_GetUrl_vulkan(jarg1);
+            }
+            else
+            {
+                return WebView_GetUrl_gl(jarg1);
+            }
+        }
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_WebView_LoadHTMLString")]
+        public static extern void WebView_LoadHTMLString_gl(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_WebView_LoadHTMLString")]
+        public static extern void WebView_LoadHTMLString_vulkan(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);
+
+        public static void WebView_LoadHTMLString(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2)
+        {
+            if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
+            {
+                WebView_LoadHTMLString_vulkan(jarg1, jarg2);
+            }
+            else
+            {
+                WebView_LoadHTMLString_gl(jarg1, jarg2);
+            }
+        }
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_WebView_Reload")]
+        public static extern void WebView_Reload_gl(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_WebView_Reload")]
+        public static extern void WebView_Reload_vulkan(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        public static void WebView_Reload(global::System.Runtime.InteropServices.HandleRef jarg1)
+        {
+            if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
+            {
+                WebView_Reload_vulkan(jarg1);
+            }
+            else
+            {
+                WebView_Reload_gl(jarg1);
+            }
+        }
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_WebView_StopLoading")]
+        public static extern void WebView_StopLoading_gl(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_WebView_StopLoading")]
+        public static extern void WebView_StopLoading_vulkan(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        public static void WebView_StopLoading(global::System.Runtime.InteropServices.HandleRef jarg1)
+        {
+            if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
+            {
+                WebView_StopLoading_vulkan(jarg1);
+            }
+            else
+            {
+                WebView_StopLoading_gl(jarg1);
+            }
+        }
+
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_WebView_GoBack")]
+        public static extern void WebView_GoBack_gl(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_WebView_GoBack")]
+        public static extern void WebView_GoBack_vulkan(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        public static void WebView_GoBack(global::System.Runtime.InteropServices.HandleRef jarg1)
+        {
+            if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
+            {
+                WebView_GoBack_vulkan(jarg1);
+            }
+            else
+            {
+                WebView_GoBack_gl(jarg1);
+            }
+        }
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_WebView_GoForward")]
+        public static extern void WebView_GoForward_gl(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_WebView_GoForward")]
+        public static extern void WebView_GoForward_vulkan(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        public static void WebView_GoForward(global::System.Runtime.InteropServices.HandleRef jarg1)
+        {
+            if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
+            {
+                WebView_GoForward_vulkan(jarg1);
+            }
+            else
+            {
+                WebView_GoForward_gl(jarg1);
+            }
+        }
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_WebView_CanGoBack")]
+        public static extern bool WebView_CanGoBack_gl(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_WebView_CanGoBack")]
+        public static extern bool WebView_CanGoBack_vulkan(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        public static bool WebView_CanGoBack(global::System.Runtime.InteropServices.HandleRef jarg1)
+        {
+            if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
+            {
+                return WebView_CanGoBack_vulkan(jarg1);
+            }
+            else
+            {
+                return WebView_CanGoBack_gl(jarg1);
+            }
+        }
+
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_WebView_CanGoForward")]
+        public static extern bool WebView_CanGoForward_gl(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_WebView_CanGoForward")]
+        public static extern bool WebView_CanGoForward_vulkan(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        public static bool WebView_CanGoForward(global::System.Runtime.InteropServices.HandleRef jarg1)
+        {
+            if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
+            {
+                return WebView_CanGoForward_vulkan(jarg1);
+            }
+            else
+            {
+                return WebView_CanGoForward_gl(jarg1);
+            }
+        }
+
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_WebView_EvaluateJavaScript")]
+        public static extern void WebView_EvaluateJavaScript_gl(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_WebView_EvaluateJavaScript")]
+        public static extern void WebView_EvaluateJavaScript_vulkan(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);
+
+        public static void WebView_EvaluateJavaScript(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2)
+        {
+            if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
+            {
+                WebView_EvaluateJavaScript_vulkan(jarg1, jarg2);
+            }
+            else
+            {
+                WebView_EvaluateJavaScript_gl(jarg1, jarg2);
+            }
+        }
+
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_WebView_ClearHistory")]
+        public static extern void WebView_ClearHistory_gl(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_WebView_ClearHistory")]
+        public static extern void WebView_ClearHistory_vulkan(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        public static void WebView_ClearHistory(global::System.Runtime.InteropServices.HandleRef jarg1)
+        {
+            if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
+            {
+                WebView_ClearHistory_vulkan(jarg1);
+            }
+            else
+            {
+                WebView_ClearHistory_gl(jarg1);
+            }
+        }
+
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_WebView_ClearCache")]
+        public static extern void WebView_ClearCache_gl(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_WebView_ClearCache")]
+        public static extern void WebView_ClearCache_vulkan(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        public static void WebView_ClearCache(global::System.Runtime.InteropServices.HandleRef jarg1)
+        {
+            if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
+            {
+                WebView_ClearCache_vulkan(jarg1);
+            }
+            else
+            {
+                WebView_ClearCache_gl(jarg1);
+            }
+        }
+
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_WebView_PageLoadStartedSignal")]
+        public static extern WebViewSignal WebView_PageLoadStartedSignal_gl(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_WebView_PageLoadStartedSignal")]
+        public static extern WebViewSignal WebView_PageLoadStartedSignal_vulkan(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        public static WebViewSignal WebView_PageLoadStartedSignal(global::System.Runtime.InteropServices.HandleRef jarg1)
+        {
+            if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
+            {
+                return WebView_PageLoadStartedSignal_vulkan(jarg1);
+            }
+            else
+            {
+                return WebView_PageLoadStartedSignal_gl(jarg1);
+            }
+        }
+
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_WebView_PageLoadFinishedSignal")]
+        public static extern WebViewSignal WebView_PageLoadFinishedSignal_gl(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_WebView_PageLoadFinishedSignal")]
+        public static extern WebViewSignal WebView_PageLoadFinishedSignal_vulkan(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        public static WebViewSignal WebView_PageLoadFinishedSignal(global::System.Runtime.InteropServices.HandleRef jarg1)
+        {
+            if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
+            {
+                return WebView_PageLoadFinishedSignal_vulkan(jarg1);
+            }
+            else
+            {
+                return WebView_PageLoadFinishedSignal_gl(jarg1);
+            }
+        }
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_WebView_SWIGUpcast")]
+        public static extern global::System.IntPtr WebView_SWIGUpcast_gl(global::System.IntPtr jarg1);
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_WebView_SWIGUpcast")]
+        public static extern global::System.IntPtr WebView_SWIGUpcast_vulkan(global::System.IntPtr jarg1);
+
+        public static global::System.IntPtr WebView_SWIGUpcast(global::System.IntPtr jarg1)
+        {
+            if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
+            {
+                return WebView_SWIGUpcast_vulkan(jarg1);
+            }
+            else
+            {
+                return WebView_SWIGUpcast_gl(jarg1);
+            }
+        }
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_WebViewSignal_Empty")]
+        public static extern bool WebViewSignal_Empty_gl(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_WebViewSignal_Empty")]
+        public static extern bool WebViewSignal_Empty_vulkan(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        public static bool WebViewSignal_Empty(global::System.Runtime.InteropServices.HandleRef jarg1)
+        {
+            if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
+            {
+                return WebViewSignal_Empty_vulkan(jarg1);
+            }
+            else
+            {
+                return WebViewSignal_Empty_gl(jarg1);
+            }
+        }
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_WebViewSignal_GetConnectionCount")]
+        public static extern uint WebViewSignal_GetConnectionCount_gl(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_WebViewSignal_GetConnectionCount")]
+        public static extern uint WebViewSignal_GetConnectionCount_vulkan(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        public static uint WebViewSignal_GetConnectionCount(global::System.Runtime.InteropServices.HandleRef jarg1)
+        {
+            if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
+            {
+                return WebViewSignal_GetConnectionCount_vulkan(jarg1);
+            }
+            else
+            {
+                return WebViewSignal_GetConnectionCount_gl(jarg1);
+            }
+        }
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_WebViewSignal_Connect")]
+        public static extern void WebViewSignal_Connect_gl(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_WebViewSignal_Connect")]
+        public static extern void WebViewSignal_Connect_vulkan(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
+
+        public static void WebViewSignal_Connect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
+        {
+            if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
+            {
+                WebViewSignal_Connect_vulkan(jarg1, jarg2);
+            }
+            else
+            {
+                WebViewSignal_Connect_gl(jarg1, jarg2);
+            }
+        }
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_WebViewSignal_Disconnect")]
+        public static extern void WebViewSignal_Disconnect_gl(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_WebViewSignal_Disconnect")]
+        public static extern void WebViewSignal_Disconnect_vulkan(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
+
+        public static void WebViewSignal_Disconnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
+        {
+            if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
+            {
+                WebViewSignal_Disconnect_vulkan(jarg1, jarg2);
+            }
+            else
+            {
+                WebViewSignal_Disconnect_gl(jarg1, jarg2);
+            }
+        }
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_WebViewSignal_Emit")]
+        public static extern void WebViewSignal_Emit_gl(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_WebViewSignal_Emit")]
+        public static extern void WebViewSignal_Emit_vulkan(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
+
+        public static void WebViewSignal_Emit(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
+        {
+            if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
+            {
+                WebViewSignal_Emit_vulkan(jarg1, jarg2);
+            }
+            else
+            {
+                WebViewSignal_Emit_gl(jarg1, jarg2);
+            }
+        }
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_new_WebViewSignal")]
+        public static extern global::System.IntPtr new_WebViewSignal_gl();
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_new_WebViewSignal")]
+        public static extern global::System.IntPtr new_WebViewSignal_vulkan();
+
+        public static global::System.IntPtr new_WebViewSignal()
+        {
+            if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
+            {
+                return new_WebViewSignal_vulkan();
+            }
+            else
+            {
+                return new_WebViewSignal_gl();
+            }
+        }
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_delete_WebViewSignal")]
+        public static extern void delete_WebViewSignal_gl(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_delete_WebViewSignal")]
+        public static extern void delete_WebViewSignal_vulkan(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+        public static void delete_WebViewSignal(global::System.Runtime.InteropServices.HandleRef jarg1)
+        {
+            if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
+            {
+                delete_WebViewSignal_vulkan(jarg1);
+            }
+            else
+            {
+                delete_WebViewSignal_gl(jarg1);
+            }
+        }
+
         [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_WebViewLite_New")]
         public static extern global::System.IntPtr WebViewLite_New_gl();
 
diff --git a/src/Tizen.NUI/src/internal/WebView.cs b/src/Tizen.NUI/src/internal/WebView.cs
new file mode 100755 (executable)
index 0000000..4feefd4
--- /dev/null
@@ -0,0 +1,268 @@
+/*
+ * Copyright (c) 2017 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.
+ *
+ */
+
+using System;
+using System.ComponentModel;
+using System.Runtime.InteropServices;
+using Tizen.NUI.BaseComponents;
+
+namespace Tizen.NUI
+{
+    /// <summary>
+    /// WebView
+    /// </summary>
+    [EditorBrowsable(EditorBrowsableState.Never)]
+    public class WebView : View
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+        internal WebView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.WebView_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(WebView obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+
+        /// <summary>
+        /// To make Button instance be disposed.
+        /// </summary>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        protected override void Dispose(DisposeTypes type)
+        {
+            if (disposed)
+            {
+                return;
+            }
+
+            if (type == DisposeTypes.Explicit)
+            {
+                //Called by User
+                //Release your own managed resources here.
+                //You should release all of your own disposable objects here.
+
+            }
+
+            //Release your own unmanaged resources here.
+            //You should not access any managed member here except static instance.
+            //because the execution order of Finalizes is non-deterministic.
+
+            DisConnectFromSignals();
+
+            if (swigCPtr.Handle != global::System.IntPtr.Zero)
+            {
+                if (swigCMemOwn)
+                {
+                    swigCMemOwn = false;
+                    NDalicPINVOKE.delete_WebView(swigCPtr);
+                }
+                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+            }
+
+            base.Dispose(type);
+        }
+
+        private void DisConnectFromSignals()
+        {
+            // Save current CPtr.
+            global::System.Runtime.InteropServices.HandleRef currentCPtr = swigCPtr;
+
+            // Use BaseHandle CPtr as current might have been deleted already in derived classes.
+            swigCPtr = GetBaseHandleCPtrHandleRef;
+            
+            // BaseHandle CPtr is used in Registry and there is danger of deletion if we keep using it here.
+            // Restore current CPtr.
+            swigCPtr = currentCPtr;
+        }
+
+        /// <summary>
+        /// Creates an uninitialized WebView.
+        /// </summary>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        public WebView() : this(NDalicPINVOKE.WebView_New(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+
+        /// <summary>
+        /// Creates an uninitialized WebView.
+        /// <param name="locale">The locale of Web</param>
+        /// <param name="timezoneId">The timezoneId of Web</param>
+        /// </summary>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        public WebView(string locale, string timezoneId) : this(NDalicPINVOKE.WebView_New_2(locale, timezoneId), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        /// <summary>
+        /// Copy constructor.
+        /// <param name="webView">WebView to copy. The copied WebView will point at the same implementation</param>
+        /// </summary>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        public WebView(WebView webView) : this(NDalicPINVOKE.new_WebView__SWIG_1(WebView.getCPtr(webView)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal WebView Assign(WebView webView)
+        {
+            WebView ret = new WebView(NDalicPINVOKE.WebView_Assign(swigCPtr, WebView.getCPtr(webView)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal static WebView DownCast(BaseHandle handle)
+        {
+            WebView ret = new WebView(NDalicPINVOKE.WebView_DownCast(BaseHandle.getCPtr(handle)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        /// <summary>
+        /// Loads a html.
+        /// <param name="url">The path of Web</param>
+        /// </summary>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        public void LoadUrl(string url)
+        {
+            NDalicPINVOKE.WebView_LoadUrl(swigCPtr, url);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        /// <summary>
+        /// Returns the URL of the Web
+        /// <returns>Url of string type</returns>
+        /// </summary>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        public string GetUrl()
+        {
+            string url = NDalicPINVOKE.WebView_GetUrl(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return url;
+        }
+
+        /// <summary>
+        /// Returns the URL of the Web
+        /// <param name="data">The data of Web</param>
+        /// </summary>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        public void LoadHTMLString(string data)
+        {
+            NDalicPINVOKE.WebView_LoadHTMLString(swigCPtr, data);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        /// <summary>
+        /// Reloads the Web
+        /// </summary>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        public void Reload()
+        {
+            NDalicPINVOKE.WebView_Reload(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        /// <summary>
+        /// Stops loading the Web
+        /// </summary>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        public void StopLoading()
+        {
+            NDalicPINVOKE.WebView_StopLoading(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        /// <summary>
+        /// Goes to the back
+        /// </summary>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        public void GoBack()
+        {
+            NDalicPINVOKE.WebView_GoBack(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        /// <summary>
+        /// Goes to the forward
+        /// </summary>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        public void GoForward()
+        {
+            NDalicPINVOKE.WebView_GoForward(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        /// <summary>
+        /// Returns whether backward is possible.
+        /// <returns>True if backward is possible, false otherwise</returns>
+        /// </summary>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        public bool CanGoBack()
+        {
+            bool ret = NDalicPINVOKE.WebView_CanGoBack(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        /// <summary>
+        /// Returns whether forward is possible.
+        /// <returns>True if forward is possible, false otherwise</returns>
+        /// </summary>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        public bool CanGoForward()
+        {
+            bool ret = NDalicPINVOKE.WebView_CanGoForward(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        /// <summary>
+        /// Evaluates JavaScript code represented as a string.
+        /// <param name="script">The JavaScript code</param>
+        /// </summary>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        public void EvaluateJavaScript(string script)
+        {
+            NDalicPINVOKE.WebView_EvaluateJavaScript(swigCPtr, script);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        /// <summary>
+        /// Clears the history of Web.
+        /// </summary>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        public void ClearHistory()
+        {
+            NDalicPINVOKE.WebView_ClearHistory(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        /// <summary>
+        /// Clears the cache of Web.
+        /// </summary>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        public void ClearCache()
+        {
+            NDalicPINVOKE.WebView_ClearCache(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+    }
+}
diff --git a/src/Tizen.NUI/src/internal/WebViewSignal.cs b/src/Tizen.NUI/src/internal/WebViewSignal.cs
new file mode 100755 (executable)
index 0000000..5346f4d
--- /dev/null
@@ -0,0 +1,186 @@
+/*
+ * Copyright (c) 2017 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.
+ *
+ */
+
+using System.ComponentModel;
+
+namespace Tizen.NUI {
+
+/// <summary>
+/// WebViewSignal.
+/// </summary>
+[EditorBrowsable(EditorBrowsableState.Never)]
+public class WebViewSignal : global::System.IDisposable {
+  private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+  protected bool swigCMemOwn;
+
+  [EditorBrowsable(EditorBrowsableState.Never)]
+  public WebViewSignal(global::System.IntPtr cPtr, bool cMemoryOwn) {
+    swigCMemOwn = cMemoryOwn;
+    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+  }
+
+  internal static global::System.Runtime.InteropServices.HandleRef getCPtr(WebViewSignal obj) {
+    return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+  }
+
+  //A Flag to check who called Dispose(). (By User or DisposeQueue)
+  private bool isDisposeQueued = false;
+
+  protected bool disposed = false;
+
+  /// <summary>
+  /// Distructor.
+  /// </summary>
+  ~WebViewSignal()
+  {
+      if (!isDisposeQueued)
+      {
+          isDisposeQueued = true;
+          DisposeQueue.Instance.Add(this);
+      }
+  }
+
+  /// <summary>
+  /// Dispose.
+  /// </summary>
+  [EditorBrowsable(EditorBrowsableState.Never)]
+  public void Dispose()
+  {
+      //Throw excpetion if Dispose() is called in separate thread.
+      if (!Window.IsInstalled())
+      {
+          throw new System.InvalidOperationException("This API called from separate thread. This API must be called from MainThread.");
+      }
+
+      if (isDisposeQueued)
+      {
+          Dispose(DisposeTypes.Implicit);
+      }
+      else
+      {
+          Dispose(DisposeTypes.Explicit);
+          System.GC.SuppressFinalize(this);
+      }
+  }
+
+  /// <summary>
+  /// you can override it to clean-up your own resources.
+  /// </summary>
+  /// <param name="type">DisposeTypes</param>
+  [EditorBrowsable(EditorBrowsableState.Never)]
+  protected virtual void Dispose(DisposeTypes type)
+  {
+      if (disposed)
+      {
+          return;
+      }
+
+      if (type == DisposeTypes.Explicit)
+      {
+          //Called by User
+          //Release your own managed resources here.
+          //You should release all of your own disposable objects here.
+
+      }
+
+      //Release your own unmanaged resources here.
+      //You should not access any managed member here except static instance.
+      //because the execution order of Finalizes is non-deterministic.
+
+      if (swigCPtr.Handle != global::System.IntPtr.Zero)
+      {
+          if (swigCMemOwn)
+          {
+              swigCMemOwn = false;
+              NDalicPINVOKE.delete_WebViewSignal(swigCPtr);
+          }
+          swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+      }
+
+      disposed = true;
+  }
+
+
+  /// <summary>
+  /// Empty 
+  /// </summary>
+  /// <returns>true if there is no signal attached</returns>
+  [EditorBrowsable(EditorBrowsableState.Never)]
+  public bool Empty() {
+    bool ret = NDalicPINVOKE.WebViewSignal_Empty(swigCPtr);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  /// <summary>
+  /// GetConnectionCount
+  /// </summary>
+  /// <returns>number of attached signals</returns>
+  [EditorBrowsable(EditorBrowsableState.Never)]
+  public uint GetConnectionCount() {
+    uint ret = NDalicPINVOKE.WebViewSignal_GetConnectionCount(swigCPtr);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  /// <summary>
+  /// signal connect
+  /// </summary>
+  /// <param name="func"></param>
+  [EditorBrowsable(EditorBrowsableState.Never)]
+  public void Connect(System.Delegate func) {
+    System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
+    {
+      NDalicPINVOKE.WebViewSignal_Connect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
+      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    }
+  }
+
+  /// <summary>
+  /// signal disconnect
+  /// </summary>
+  /// <param name="func"></param>
+  [EditorBrowsable(EditorBrowsableState.Never)]
+  public void Disconnect(System.Delegate func) {
+    System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
+    {
+      NDalicPINVOKE.WebViewSignal_Disconnect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
+      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    }
+  }
+
+  /// <summary>
+  /// Emit
+  /// </summary>
+  [EditorBrowsable(EditorBrowsableState.Never)]
+  public void Emit(WebView arg) {
+    NDalicPINVOKE.WebViewSignal_Emit(swigCPtr, WebView.getCPtr(arg));
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  /// <summary>
+  /// WebViewSignal
+  /// </summary>
+  [EditorBrowsable(EditorBrowsableState.Never)]
+  public WebViewSignal() : this(NDalicPINVOKE.new_WebViewSignal(), true) {
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+}
+
+}