From ec0fa8831952b2eeda85335b329e99b0758f10fa Mon Sep 17 00:00:00 2001 From: Young <35090305+younghajung@users.noreply.github.com> Date: Thu, 11 Jan 2024 10:55:52 +0900 Subject: [PATCH] [Tizen.WebView][TCSACR-568] Remove Tizen.WebView (#5832) Tizen.WebView was deprecated since API Level 10, so it is removed in API Level 12. Signed-off-by: yh106.jung --- .../Interop/Interop.ChromiumEwk.BackForwardList.cs | 63 -- .../Interop/Interop.ChromiumEwk.Context.cs | 66 -- .../Interop/Interop.ChromiumEwk.ContextMenu.cs | 46 -- .../Interop/Interop.ChromiumEwk.CookieManager.cs | 46 -- .../Interop/Interop.ChromiumEwk.Error.cs | 49 -- .../Interop.ChromiumEwk.InterceptRequest.cs | 41 -- .../Interop/Interop.ChromiumEwk.PolicyDecision.cs | 76 -- .../Interop/Interop.ChromiumEwk.Settings.cs | 108 --- .../Interop/Interop.ChromiumEwk.View.cs | 187 ----- src/Tizen.WebView/Interop/Interop.ChromiumEwk.cs | 32 - src/Tizen.WebView/Interop/Interop.Eina.cs | 44 -- src/Tizen.WebView/Interop/Interop.Elementary.cs | 37 - src/Tizen.WebView/Interop/Interop.Evas.cs | 27 - src/Tizen.WebView/Interop/Interop.Libraries.cs | 25 - src/Tizen.WebView/Tizen.WebView.csproj | 11 - src/Tizen.WebView/Tizen.WebView.sln | 43 -- src/Tizen.WebView/Tizen.WebView/BackForwardList.cs | 203 ------ src/Tizen.WebView/Tizen.WebView/Chromium.cs | 63 -- src/Tizen.WebView/Tizen.WebView/Context.cs | 200 ----- src/Tizen.WebView/Tizen.WebView/ContextMenu.cs | 550 -------------- src/Tizen.WebView/Tizen.WebView/CookieManager.cs | 111 --- .../Tizen.WebView/JavaScriptMessage.cs | 122 ---- .../Tizen.WebView/PolicyDecisionEventArgs.cs | 252 ------- .../Tizen.WebView/RequestInterceptor.cs | 121 --- src/Tizen.WebView/Tizen.WebView/Settings.cs | 230 ------ .../Tizen.WebView/SmartCallbackArgs.cs | 103 --- .../Tizen.WebView/SmartCallbackLoadErrorArgs.cs | 162 ---- src/Tizen.WebView/Tizen.WebView/WebView.cs | 811 --------------------- src/Tizen.WebView/doc/api/Tizen.WebView.md | 18 - test/Tizen.WebView.Test/Properties/AssemblyInfo.cs | 36 - test/Tizen.WebView.Test/SimpleWebviewApp.cs | 278 ------- test/Tizen.WebView.Test/Tizen.WebView.Test.csproj | 98 --- .../Tizen.WebView.Test.project.json | 14 - .../shared/res/Tizen.WebView.Test.png | Bin 57662 -> 0 bytes test/Tizen.WebView.Test/tizen-manifest.xml | 19 - 35 files changed, 4292 deletions(-) delete mode 100644 src/Tizen.WebView/Interop/Interop.ChromiumEwk.BackForwardList.cs delete mode 100644 src/Tizen.WebView/Interop/Interop.ChromiumEwk.Context.cs delete mode 100644 src/Tizen.WebView/Interop/Interop.ChromiumEwk.ContextMenu.cs delete mode 100644 src/Tizen.WebView/Interop/Interop.ChromiumEwk.CookieManager.cs delete mode 100644 src/Tizen.WebView/Interop/Interop.ChromiumEwk.Error.cs delete mode 100644 src/Tizen.WebView/Interop/Interop.ChromiumEwk.InterceptRequest.cs delete mode 100644 src/Tizen.WebView/Interop/Interop.ChromiumEwk.PolicyDecision.cs delete mode 100644 src/Tizen.WebView/Interop/Interop.ChromiumEwk.Settings.cs delete mode 100755 src/Tizen.WebView/Interop/Interop.ChromiumEwk.View.cs delete mode 100644 src/Tizen.WebView/Interop/Interop.ChromiumEwk.cs delete mode 100644 src/Tizen.WebView/Interop/Interop.Eina.cs delete mode 100644 src/Tizen.WebView/Interop/Interop.Elementary.cs delete mode 100644 src/Tizen.WebView/Interop/Interop.Evas.cs delete mode 100644 src/Tizen.WebView/Interop/Interop.Libraries.cs delete mode 100644 src/Tizen.WebView/Tizen.WebView.csproj delete mode 100755 src/Tizen.WebView/Tizen.WebView.sln delete mode 100644 src/Tizen.WebView/Tizen.WebView/BackForwardList.cs delete mode 100644 src/Tizen.WebView/Tizen.WebView/Chromium.cs delete mode 100644 src/Tizen.WebView/Tizen.WebView/Context.cs delete mode 100644 src/Tizen.WebView/Tizen.WebView/ContextMenu.cs delete mode 100644 src/Tizen.WebView/Tizen.WebView/CookieManager.cs delete mode 100644 src/Tizen.WebView/Tizen.WebView/JavaScriptMessage.cs delete mode 100644 src/Tizen.WebView/Tizen.WebView/PolicyDecisionEventArgs.cs delete mode 100644 src/Tizen.WebView/Tizen.WebView/RequestInterceptor.cs delete mode 100644 src/Tizen.WebView/Tizen.WebView/Settings.cs delete mode 100644 src/Tizen.WebView/Tizen.WebView/SmartCallbackArgs.cs delete mode 100644 src/Tizen.WebView/Tizen.WebView/SmartCallbackLoadErrorArgs.cs delete mode 100644 src/Tizen.WebView/Tizen.WebView/WebView.cs delete mode 100644 src/Tizen.WebView/doc/api/Tizen.WebView.md delete mode 100644 test/Tizen.WebView.Test/Properties/AssemblyInfo.cs delete mode 100644 test/Tizen.WebView.Test/SimpleWebviewApp.cs delete mode 100755 test/Tizen.WebView.Test/Tizen.WebView.Test.csproj delete mode 100644 test/Tizen.WebView.Test/Tizen.WebView.Test.project.json delete mode 100644 test/Tizen.WebView.Test/shared/res/Tizen.WebView.Test.png delete mode 100644 test/Tizen.WebView.Test/tizen-manifest.xml diff --git a/src/Tizen.WebView/Interop/Interop.ChromiumEwk.BackForwardList.cs b/src/Tizen.WebView/Interop/Interop.ChromiumEwk.BackForwardList.cs deleted file mode 100644 index 4735929..0000000 --- a/src/Tizen.WebView/Interop/Interop.ChromiumEwk.BackForwardList.cs +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved - * - * 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.Runtime.InteropServices; - -internal static partial class Interop -{ - internal static partial class ChromiumEwk - { - [DllImport(Libraries.ChromiumEwk, EntryPoint = "ewk_back_forward_list_item_url_get", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true, CharSet = CharSet.Ansi)] - internal static extern IntPtr _ewk_back_forward_list_item_url_get(IntPtr obj); - internal static string ewk_back_forward_list_item_url_get(IntPtr obj) - { - IntPtr ptr = _ewk_back_forward_list_item_url_get(obj); - return Marshal.PtrToStringAnsi(ptr); - } - - [DllImport(Libraries.ChromiumEwk, EntryPoint = "ewk_back_forward_list_item_title_get", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true, CharSet = CharSet.Ansi)] - internal static extern IntPtr _ewk_back_forward_list_item_title_get(IntPtr obj); - internal static string ewk_back_forward_list_item_title_get(IntPtr obj) - { - IntPtr ptr = _ewk_back_forward_list_item_title_get(obj); - return Marshal.PtrToStringAnsi(ptr); - } - - [DllImport(Libraries.ChromiumEwk, EntryPoint = "ewk_back_forward_list_item_original_url_get", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true, CharSet = CharSet.Ansi)] - internal static extern IntPtr _ewk_back_forward_list_item_original_url_get(IntPtr obj); - internal static string ewk_back_forward_list_item_original_url_get(IntPtr obj) - { - IntPtr ptr = _ewk_back_forward_list_item_original_url_get(obj); - return Marshal.PtrToStringAnsi(ptr); - } - - [DllImport(Libraries.ChromiumEwk)] - internal static extern IntPtr ewk_back_forward_list_current_item_get(IntPtr backforwardlist); - - [DllImport(Libraries.ChromiumEwk)] - internal static extern IntPtr ewk_back_forward_list_previous_item_get(IntPtr backforwardlist); - - [DllImport(Libraries.ChromiumEwk)] - internal static extern uint ewk_back_forward_list_count(IntPtr backforwardlist); - - [DllImport(Libraries.ChromiumEwk)] - internal static extern IntPtr ewk_back_forward_list_n_back_items_copy(IntPtr backforwardlist, int limit); - - [DllImport(Libraries.ChromiumEwk)] - internal static extern IntPtr ewk_back_forward_list_n_forward_items_copy(IntPtr backforwardlist, int limit); - } -} diff --git a/src/Tizen.WebView/Interop/Interop.ChromiumEwk.Context.cs b/src/Tizen.WebView/Interop/Interop.ChromiumEwk.Context.cs deleted file mode 100644 index 4ca04fb..0000000 --- a/src/Tizen.WebView/Interop/Interop.ChromiumEwk.Context.cs +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved - * - * 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.Runtime.InteropServices; - -internal static partial class Interop -{ - internal static partial class ChromiumEwk - { - public enum CacheModel - { - DocumentViewer, - DocumentBrowser, - PrimaryWebBrowser - } - - [DllImport(Libraries.ChromiumEwk)] - internal static extern IntPtr ewk_context_cookie_manager_get(IntPtr context); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_context_cache_model_set(IntPtr context, CacheModel model); - - [DllImport(Libraries.ChromiumEwk)] - internal static extern CacheModel ewk_context_cache_model_get(IntPtr context); - - [DllImport(Libraries.ChromiumEwk)] - internal static extern void ewk_context_resource_cache_clear(IntPtr context); - - [DllImport(Libraries.ChromiumEwk)] - internal static extern void ewk_context_notify_low_memory(IntPtr context); - - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - internal delegate void DownloadStartCallback(string url, IntPtr userData); - - [DllImport(Libraries.ChromiumEwk)] - internal static extern void ewk_context_did_start_download_callback_set(IntPtr context, DownloadStartCallback callback, IntPtr userData); - - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - internal delegate void InterceptRequestCallback(IntPtr context, IntPtr request, IntPtr userData); - - [DllImport(Libraries.ChromiumEwk)] - internal static extern void ewk_context_intercept_request_callback_set(IntPtr context, InterceptRequestCallback callback, IntPtr userData); - - [DllImport(Libraries.ChromiumEwk)] - internal static extern uint ewk_context_inspector_server_start(IntPtr context, uint port); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_context_inspector_server_stop(IntPtr context); - } -} diff --git a/src/Tizen.WebView/Interop/Interop.ChromiumEwk.ContextMenu.cs b/src/Tizen.WebView/Interop/Interop.ChromiumEwk.ContextMenu.cs deleted file mode 100644 index 9337fad..0000000 --- a/src/Tizen.WebView/Interop/Interop.ChromiumEwk.ContextMenu.cs +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (c) 2019 Samsung Electronics Co., Ltd All Rights Reserved - * - * 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.Runtime.InteropServices; -using Tizen.WebView; - -internal static partial class Interop -{ - internal static partial class ChromiumEwk - { - [DllImport(Libraries.ChromiumEwk)] - internal static extern int ewk_context_menu_item_tag_get(IntPtr contextMenuItem); - - [DllImport(Libraries.ChromiumEwk)] - internal static extern int ewk_context_menu_item_count(IntPtr contextMenu); - - [DllImport(Libraries.ChromiumEwk)] - internal static extern IntPtr ewk_context_menu_nth_item_get(IntPtr contextMenu, int n); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_context_menu_item_remove(IntPtr contextMenu, IntPtr contextMenuItem); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_context_menu_item_append_as_action(IntPtr contextMenu, ContextMenuItemTag tag, string title, bool enabled); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_context_menu_item_append(IntPtr contextMenu, ContextMenuItemTag tag, string title, string iconPath, bool enabled); - } -} diff --git a/src/Tizen.WebView/Interop/Interop.ChromiumEwk.CookieManager.cs b/src/Tizen.WebView/Interop/Interop.ChromiumEwk.CookieManager.cs deleted file mode 100644 index 23fb70e..0000000 --- a/src/Tizen.WebView/Interop/Interop.ChromiumEwk.CookieManager.cs +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved - * - * 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.Runtime.InteropServices; - -internal static partial class Interop -{ - internal static partial class ChromiumEwk - { - public enum CookieAcceptPolicy - { - Always, - Never, - NoThirdParty - } - - public enum CookiePersistentStorage - { - Text, - SqlLite - } - - [DllImport(Libraries.ChromiumEwk)] - internal static extern void ewk_cookie_manager_accept_policy_set(IntPtr manager, CookieAcceptPolicy policy); - - [DllImport(Libraries.ChromiumEwk)] - internal static extern void ewk_cookie_manager_cookies_clear(IntPtr manager); - - [DllImport(Libraries.ChromiumEwk)] - internal static extern void ewk_cookie_manager_persistent_storage_set(IntPtr manager, string path, CookiePersistentStorage storage); - } -} diff --git a/src/Tizen.WebView/Interop/Interop.ChromiumEwk.Error.cs b/src/Tizen.WebView/Interop/Interop.ChromiumEwk.Error.cs deleted file mode 100644 index 7d22a3d..0000000 --- a/src/Tizen.WebView/Interop/Interop.ChromiumEwk.Error.cs +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved - * - * 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.Runtime.InteropServices; - -internal static partial class Interop -{ - internal static partial class ChromiumEwk - { - [DllImport(Libraries.ChromiumEwk, EntryPoint = "ewk_error_url_get", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true, CharSet = CharSet.Ansi)] - internal static extern IntPtr _ewk_error_url_get(IntPtr error); - - internal static string ewk_error_url_get(IntPtr error) - { - IntPtr ptr = _ewk_error_url_get(error); - return Marshal.PtrToStringAnsi(ptr); - } - - [DllImport(Libraries.ChromiumEwk)] - internal static extern int ewk_error_code_get(IntPtr error); - - [DllImport(Libraries.ChromiumEwk, EntryPoint = "ewk_error_description_get", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true, CharSet = CharSet.Ansi)] - internal static extern IntPtr _ewk_error_description_get(IntPtr error); - - internal static string ewk_error_description_get(IntPtr error) - { - IntPtr ptr = _ewk_error_description_get(error); - return Marshal.PtrToStringAnsi(ptr); - } - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_error_cancellation_get(IntPtr error); - } -} diff --git a/src/Tizen.WebView/Interop/Interop.ChromiumEwk.InterceptRequest.cs b/src/Tizen.WebView/Interop/Interop.ChromiumEwk.InterceptRequest.cs deleted file mode 100644 index 900b894..0000000 --- a/src/Tizen.WebView/Interop/Interop.ChromiumEwk.InterceptRequest.cs +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (c) 2021 Samsung Electronics Co., Ltd All Rights Reserved - * - * 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.Runtime.InteropServices; - -internal static partial class Interop -{ - internal static partial class ChromiumEwk - { - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_intercept_request_ignore(IntPtr request); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal unsafe static extern bool ewk_intercept_request_response_set(IntPtr request, string headers, byte* body, uint length); - - [DllImport(Libraries.ChromiumEwk, EntryPoint = "ewk_intercept_request_url_get", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true, CharSet = CharSet.Ansi)] - internal static extern IntPtr _ewk_intercept_request_url_get(IntPtr request); - - internal static string ewk_intercept_request_url_get(IntPtr request) - { - IntPtr ptr = _ewk_intercept_request_url_get(request); - return Marshal.PtrToStringAnsi(ptr); - } - } -} diff --git a/src/Tizen.WebView/Interop/Interop.ChromiumEwk.PolicyDecision.cs b/src/Tizen.WebView/Interop/Interop.ChromiumEwk.PolicyDecision.cs deleted file mode 100644 index 94fee74..0000000 --- a/src/Tizen.WebView/Interop/Interop.ChromiumEwk.PolicyDecision.cs +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright (c) 2019 Samsung Electronics Co., Ltd All Rights Reserved - * - * 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.Runtime.InteropServices; -using Tizen.WebView; - -internal static partial class Interop -{ - internal static partial class ChromiumEwk - { - public enum PolicyDecisionType { - Use, - Download, - Ignore - }; - - [DllImport(Libraries.ChromiumEwk, EntryPoint = "ewk_policy_decision_url_get", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true, CharSet = CharSet.Ansi)] - internal static extern IntPtr _ewk_policy_decision_url_get(IntPtr policydecision); - internal static string ewk_policy_decision_url_get(IntPtr policydecision) - { - IntPtr ptr = _ewk_policy_decision_url_get(policydecision); - return Marshal.PtrToStringAnsi(ptr); - } - - [DllImport(Libraries.ChromiumEwk, EntryPoint = "ewk_policy_decision_scheme_get", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true, CharSet = CharSet.Ansi)] - internal static extern IntPtr _ewk_policy_decision_scheme_get(IntPtr policydecision); - internal static string ewk_policy_decision_scheme_get(IntPtr policydecision) - { - IntPtr ptr = _ewk_policy_decision_scheme_get(policydecision); - return Marshal.PtrToStringAnsi(ptr); - } - - [DllImport(Libraries.ChromiumEwk, EntryPoint = "ewk_policy_decision_cookie_get", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true, CharSet = CharSet.Ansi)] - internal static extern IntPtr _ewk_policy_decision_cookie_get(IntPtr policydecision); - internal static string ewk_policy_decision_cookie_get(IntPtr policydecision) - { - IntPtr ptr = _ewk_policy_decision_cookie_get(policydecision); - return Marshal.PtrToStringAnsi(ptr); - } - - [DllImport(Libraries.ChromiumEwk)] - internal static extern NavigationType ewk_policy_decision_navigation_type_get(IntPtr policydecision); - - [DllImport(Libraries.ChromiumEwk)] - internal static extern PolicyDecisionType ewk_policy_decision_type_get(IntPtr policydecision); - - [DllImport(Libraries.ChromiumEwk)] - internal static extern int ewk_policy_decision_response_status_code_get(IntPtr policydecision); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_policy_decision_is_main_frame(IntPtr policydecision); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_policy_decision_ignore(IntPtr policydecision); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_policy_decision_use(IntPtr policydecision); - } -} diff --git a/src/Tizen.WebView/Interop/Interop.ChromiumEwk.Settings.cs b/src/Tizen.WebView/Interop/Interop.ChromiumEwk.Settings.cs deleted file mode 100644 index be58eb7..0000000 --- a/src/Tizen.WebView/Interop/Interop.ChromiumEwk.Settings.cs +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved - * - * 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.Runtime.InteropServices; - -internal static partial class Interop -{ - internal static partial class ChromiumEwk - { - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_settings_javascript_enabled_set(IntPtr settings, bool enable); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_settings_javascript_enabled_get(IntPtr settings); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_settings_loads_images_automatically_set(IntPtr settings, bool enable); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_settings_loads_images_automatically_get(IntPtr settings); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_settings_default_text_encoding_name_set(IntPtr settings, string encoding); - - [DllImport(Libraries.ChromiumEwk, EntryPoint = "ewk_settings_default_text_encoding_name_get", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true, CharSet = CharSet.Ansi)] - internal static extern IntPtr _ewk_settings_default_text_encoding_name_get(IntPtr settings); - - internal static string ewk_settings_default_text_encoding_name_get(IntPtr settings) - { - IntPtr ptr = _ewk_settings_default_text_encoding_name_get(settings); - return Marshal.PtrToStringAnsi(ptr); - } - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_settings_default_font_size_set(IntPtr settings, int size); - - [DllImport(Libraries.ChromiumEwk)] - internal static extern int ewk_settings_default_font_size_get(IntPtr settings); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_settings_scripts_can_open_windows_set(IntPtr settings, bool enable); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_settings_scripts_can_open_windows_get(IntPtr settings); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_settings_force_zoom_set(IntPtr settings, bool enable); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_settings_force_zoom_get(IntPtr settings); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_settings_text_autosizing_enabled_set(IntPtr settings, bool enable); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_settings_text_autosizing_enabled_get(IntPtr settings); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_settings_text_zoom_enabled_set(IntPtr settings, bool enable); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_settings_text_zoom_enabled_get(IntPtr settings); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_settings_uses_keypad_without_user_action_set(IntPtr settings, bool enable); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_settings_uses_keypad_without_user_action_get(IntPtr settings); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_settings_extra_feature_set(IntPtr settings, string name, bool enable); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_settings_extra_feature_get(IntPtr settings, string name); - } -} diff --git a/src/Tizen.WebView/Interop/Interop.ChromiumEwk.View.cs b/src/Tizen.WebView/Interop/Interop.ChromiumEwk.View.cs deleted file mode 100755 index deec25e..0000000 --- a/src/Tizen.WebView/Interop/Interop.ChromiumEwk.View.cs +++ /dev/null @@ -1,187 +0,0 @@ -/* - * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved - * - * 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.Runtime.InteropServices; -using Tizen.Internals; -using Tizen.WebView; - -internal static partial class Interop -{ - internal static partial class ChromiumEwk - { - [DllImport(Libraries.ChromiumEwk)] - internal static extern IntPtr ewk_view_add(IntPtr evas); - - [DllImport(Libraries.ChromiumEwk)] - internal static extern IntPtr ewk_view_context_get(IntPtr obj); - - [DllImport(Libraries.ChromiumEwk)] - internal static extern IntPtr ewk_view_settings_get(IntPtr obj); - - [DllImport(Libraries.ChromiumEwk)] - internal static extern IntPtr ewk_view_back_forward_list_get(IntPtr obj); - - [DllImport(Libraries.ChromiumEwk)] - internal static extern void ewk_view_back_forward_list_clear(IntPtr obj); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_view_url_set(IntPtr obj, string url); - - [DllImport(Libraries.ChromiumEwk, EntryPoint = "ewk_view_url_get", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true, CharSet = CharSet.Ansi)] - internal static extern IntPtr _ewk_view_url_get(IntPtr obj); - - internal static string ewk_view_url_get(IntPtr obj) - { - IntPtr ptr = _ewk_view_url_get(obj); - return Marshal.PtrToStringAnsi(ptr); - } - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_view_html_string_load(IntPtr obj, string html, string baseUrl, string unreachableUrl); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_view_reload(IntPtr obj); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_view_stop(IntPtr obj); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_view_back(IntPtr obj); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_view_forward(IntPtr obj); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_view_back_possible(IntPtr obj); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_view_forward_possible(IntPtr obj); - - [UnmanagedFunctionPointerAttribute(CallingConvention.Cdecl)] - internal delegate void ScriptExcuteCallback(IntPtr obj, IntPtr returnValue, IntPtr userData); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_view_script_execute(IntPtr obj, string script, ScriptExcuteCallback callback, IntPtr userData); - - [DllImport(Libraries.ChromiumEwk, EntryPoint = "ewk_view_title_get", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true, CharSet = CharSet.Ansi)] - internal static extern IntPtr _ewk_view_title_get(IntPtr obj); - - internal static string ewk_view_title_get(IntPtr obj) - { - IntPtr ptr = _ewk_view_title_get(obj); - return Marshal.PtrToStringAnsi(ptr); - } - - [DllImport(Libraries.ChromiumEwk, EntryPoint = "ewk_view_user_agent_get", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true, CharSet = CharSet.Ansi)] - internal static extern IntPtr _ewk_view_user_agent_get(IntPtr obj); - - internal static string ewk_view_user_agent_get(IntPtr obj) - { - IntPtr ptr = _ewk_view_user_agent_get(obj); - return Marshal.PtrToStringAnsi(ptr); - } - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_view_user_agent_set(IntPtr obj, string userAgent); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_view_focus_set(IntPtr obj, bool focused); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_view_focus_get(IntPtr obj); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_view_contents_size_get(IntPtr obj, out int width, out int height); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_view_fullscreen_exit(IntPtr obj); - - [DllImport(Libraries.ChromiumEwk)] - internal static extern double ewk_view_load_progress_get(IntPtr obj); - - [DllImport(Libraries.ChromiumEwk)] - internal static extern void ewk_view_orientation_send(IntPtr obj, Orientation orientation); - - [DllImport(Libraries.ChromiumEwk)] - internal static extern void ewk_view_suspend(IntPtr obj); - - [DllImport(Libraries.ChromiumEwk)] - internal static extern void ewk_view_resume(IntPtr obj); - - [DllImport(Libraries.ChromiumEwk)] - internal static extern double ewk_view_scale_get(IntPtr obj); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_view_scale_set(IntPtr obj, double scaleFactor, int cX, int cY); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_view_visibility_set(IntPtr obj, bool enable); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_view_scroll_pos_get(IntPtr obj, out int X, out int Y); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_view_scroll_set(IntPtr obj, int X, int Y); - - [DllImport(Libraries.ChromiumEwk)] - internal static extern void ewk_view_scroll_by(IntPtr obj, int X, int Y); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_view_text_find(IntPtr obj, string text, FindOption option, int maxMatchCount); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_view_url_request_set(IntPtr obj, string url, HttpMethod method, IntPtr headers, string body); - - [NativeStruct("Ewk_Script_Message", Include="ewk_view.h", PkgConfig="chromium-efl")] - [StructLayout(LayoutKind.Sequential, CharSet =CharSet.Ansi)] - internal struct ScriptMessage - { - public IntPtr name; - public IntPtr body; - } - - internal delegate void ScriptMessageCallback(IntPtr obj, ScriptMessage message); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_view_javascript_message_handler_add(IntPtr obj, ScriptMessageCallback callback, string name); - - [DllImport(Libraries.ChromiumEwk)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool ewk_view_evaluate_javascript(IntPtr obj, string name, string result); - } -} diff --git a/src/Tizen.WebView/Interop/Interop.ChromiumEwk.cs b/src/Tizen.WebView/Interop/Interop.ChromiumEwk.cs deleted file mode 100644 index 5066c37..0000000 --- a/src/Tizen.WebView/Interop/Interop.ChromiumEwk.cs +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved - * - * 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.Runtime.InteropServices; - -internal static partial class Interop -{ - internal static partial class ChromiumEwk - { - [DllImport(Libraries.ChromiumEwk)] - internal static extern int ewk_init(); - - [DllImport(Libraries.ChromiumEwk)] - internal static extern int ewk_shutdown(); - - [DllImport(Libraries.ChromiumEwk)] - internal static extern int ewk_set_arguments(int argc, string[] argv); - } -} diff --git a/src/Tizen.WebView/Interop/Interop.Eina.cs b/src/Tizen.WebView/Interop/Interop.Eina.cs deleted file mode 100644 index ad900f1..0000000 --- a/src/Tizen.WebView/Interop/Interop.Eina.cs +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved - * - * 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.Runtime.InteropServices; - -internal static partial class Interop -{ - internal static partial class Eina - { - [DllImport(Libraries.Eina)] - internal static extern IntPtr eina_hash_string_small_new(IntPtr dataFreeCb); - - [DllImport(Libraries.Eina)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool eina_hash_add(IntPtr hash, IntPtr Key, IntPtr Value); - - [DllImport(Libraries.Eina)] - internal static extern IntPtr eina_list_iterator_new(IntPtr list); - - [DllImport(Libraries.Eina)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool eina_iterator_next(IntPtr iterator, out IntPtr data); - - [DllImport(Libraries.Eina)] - internal static extern void eina_iterator_free(IntPtr list); - - [DllImport(Libraries.Eina)] - internal static extern IntPtr eina_list_free(IntPtr list); - } -} diff --git a/src/Tizen.WebView/Interop/Interop.Elementary.cs b/src/Tizen.WebView/Interop/Interop.Elementary.cs deleted file mode 100644 index e981fe2..0000000 --- a/src/Tizen.WebView/Interop/Interop.Elementary.cs +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved - * - * 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.Runtime.InteropServices; - -internal static partial class Interop -{ - internal static partial class Elementary - { - [DllImport(Libraries.Elementary)] - internal static extern IntPtr elm_layout_add(IntPtr obj); - - [DllImport(Libraries.Elementary)] - [return: MarshalAs(UnmanagedType.U1)] - internal static extern bool elm_layout_theme_set(IntPtr obj, string klass, string group, string style); - - [DllImport(Libraries.Elementary)] - internal static extern void elm_object_part_content_set(IntPtr obj, string part, IntPtr content); - - [DllImport(Libraries.Elementary)] - internal static extern void elm_object_focus_allow_set(IntPtr obj, bool enable); - } -} \ No newline at end of file diff --git a/src/Tizen.WebView/Interop/Interop.Evas.cs b/src/Tizen.WebView/Interop/Interop.Evas.cs deleted file mode 100644 index 52eef2c..0000000 --- a/src/Tizen.WebView/Interop/Interop.Evas.cs +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved - * - * 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.Runtime.InteropServices; - -internal static partial class Interop -{ - internal static partial class Evas - { - [DllImport(Libraries.Evas)] - internal static extern IntPtr evas_object_evas_get(IntPtr obj); - } -} diff --git a/src/Tizen.WebView/Interop/Interop.Libraries.cs b/src/Tizen.WebView/Interop/Interop.Libraries.cs deleted file mode 100644 index e4e8417..0000000 --- a/src/Tizen.WebView/Interop/Interop.Libraries.cs +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved - * - * 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. - */ -internal static partial class Interop -{ - private static class Libraries - { - internal const string ChromiumEwk = "libchromium-ewk.so"; - internal const string Elementary = "libelementary.so.1"; - internal const string Evas = "libevas.so.1"; - internal const string Eina = "libeina.so.1"; - } -} diff --git a/src/Tizen.WebView/Tizen.WebView.csproj b/src/Tizen.WebView/Tizen.WebView.csproj deleted file mode 100644 index ed309dc..0000000 --- a/src/Tizen.WebView/Tizen.WebView.csproj +++ /dev/null @@ -1,11 +0,0 @@ - - - - net6.0 - - - - - - - \ No newline at end of file diff --git a/src/Tizen.WebView/Tizen.WebView.sln b/src/Tizen.WebView/Tizen.WebView.sln deleted file mode 100755 index 0a065e3..0000000 --- a/src/Tizen.WebView/Tizen.WebView.sln +++ /dev/null @@ -1,43 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.26430.12 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen.WebView", "Tizen.WebView.csproj", "{8A77A6CA-543D-48CB-BBD8-1706EC47D57A}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ElmSharp", "..\ElmSharp\ElmSharp.csproj", "{2F66C9E2-BE24-4096-96DA-F86CCFBBB059}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen", "..\Tizen\Tizen.csproj", "{B1B8B7CA-5E39-42BA-90EF-4F4DDA51F37C}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen.Log", "..\Tizen.Log\Tizen.Log.csproj", "{7C6A8E2F-7DF0-4994-8230-FB1234F3DF4C}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {8A77A6CA-543D-48CB-BBD8-1706EC47D57A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {8A77A6CA-543D-48CB-BBD8-1706EC47D57A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {8A77A6CA-543D-48CB-BBD8-1706EC47D57A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {8A77A6CA-543D-48CB-BBD8-1706EC47D57A}.Release|Any CPU.Build.0 = Release|Any CPU - {2F66C9E2-BE24-4096-96DA-F86CCFBBB059}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2F66C9E2-BE24-4096-96DA-F86CCFBBB059}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2F66C9E2-BE24-4096-96DA-F86CCFBBB059}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2F66C9E2-BE24-4096-96DA-F86CCFBBB059}.Release|Any CPU.Build.0 = Release|Any CPU - {B1B8B7CA-5E39-42BA-90EF-4F4DDA51F37C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B1B8B7CA-5E39-42BA-90EF-4F4DDA51F37C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B1B8B7CA-5E39-42BA-90EF-4F4DDA51F37C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B1B8B7CA-5E39-42BA-90EF-4F4DDA51F37C}.Release|Any CPU.Build.0 = Release|Any CPU - {7C6A8E2F-7DF0-4994-8230-FB1234F3DF4C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7C6A8E2F-7DF0-4994-8230-FB1234F3DF4C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7C6A8E2F-7DF0-4994-8230-FB1234F3DF4C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7C6A8E2F-7DF0-4994-8230-FB1234F3DF4C}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {D2305D88-057A-4565-9162-906A79DEF26B} - EndGlobalSection -EndGlobal diff --git a/src/Tizen.WebView/Tizen.WebView/BackForwardList.cs b/src/Tizen.WebView/Tizen.WebView/BackForwardList.cs deleted file mode 100644 index 936e3c4..0000000 --- a/src/Tizen.WebView/Tizen.WebView/BackForwardList.cs +++ /dev/null @@ -1,203 +0,0 @@ -/* - * Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved - * - * 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.Collections; -using System.ComponentModel; -using System.Collections.Generic; - -namespace Tizen.WebView -{ - /// - /// This class provides the properties of Back Forward list item of a specific WebView. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public class BackForwardListItem - { - private IntPtr _item_handle; - - /// - /// Creates a Back Forward List Item object. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - internal BackForwardListItem(IntPtr handle) - { - _item_handle = handle; - } - - /// - /// Url of the back forward list item. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public string Url - { - get - { - return Interop.ChromiumEwk.ewk_back_forward_list_item_url_get(_item_handle); - } - } - - /// - /// Title of the back forward list item. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public string Title - { - get - { - return Interop.ChromiumEwk.ewk_back_forward_list_item_title_get(_item_handle); - } - } - - /// - /// Original Url of the back forward list item. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public string OriginalUrl - { - get - { - return Interop.ChromiumEwk.ewk_back_forward_list_item_original_url_get(_item_handle); - } - } - } - - /// - /// This class provides the properties of Back Forward list of a specific WebView. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public class BackForwardList - { - private IntPtr _list_handle; - - internal BackForwardList(IntPtr handle) - { - _list_handle = handle; - } - - /// - /// Current item of the back forward list. - /// - /// - /// BackForward List can be null if there is no current item. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public BackForwardListItem CurrentItem - { - get - { - IntPtr itemPtr = Interop.ChromiumEwk.ewk_back_forward_list_current_item_get(_list_handle); - if(itemPtr != null) { - BackForwardListItem item = new BackForwardListItem(itemPtr); - return item; - } - else { - return null; - } - } - } - - /// - /// Previous item of the back forward list and null if no previous item. - /// - /// - /// BackForward List can be null if there is no previous item. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public BackForwardListItem PreviousItem - { - get - { - IntPtr itemPtr = Interop.ChromiumEwk.ewk_back_forward_list_previous_item_get(_list_handle); - if(itemPtr != null) { - BackForwardListItem item = new BackForwardListItem(itemPtr); - return item; - } - else { - return null; - } - } - } - - /// - /// Gets the back forward list count. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public uint Count - { - get - { - return Interop.ChromiumEwk.ewk_back_forward_list_count(_list_handle); - } - } - /// - /// Gets the list containing the items preceding the current item - /// limited by limit. - /// - /// limit The number of items to retrieve, if limit -1 all items preceding current item are returned. - /// The list of the BackForwardListItem of back items. - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public IList BackItems(int limit) - { - IntPtr list = Interop.ChromiumEwk.ewk_back_forward_list_n_back_items_copy(_list_handle, limit); - List backItemsList = new List(); - - var iter = Interop.Eina.eina_list_iterator_new(list); - for (IntPtr data; Interop.Eina.eina_iterator_next(iter, out data);) { - backItemsList.Add(new BackForwardListItem(data)); - } - - Interop.Eina.eina_iterator_free(iter); - Interop.Eina.eina_list_free(list); - - return backItemsList; - } - - /// - /// Gets the list containing the items following the current item - /// limited by limit. - /// - /// limit The number of items to retrieve, if limit is -1 all items following current item are returned. - /// The list of the BackForwardListItem of forward items. - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public IList ForwardItems(int limit) - { - IntPtr list = Interop.ChromiumEwk.ewk_back_forward_list_n_forward_items_copy(_list_handle, limit); - List forwardItemsList = new List(); - - var iter = Interop.Eina.eina_list_iterator_new(list); - for (IntPtr data; Interop.Eina.eina_iterator_next(iter, out data);) { - forwardItemsList.Add(new BackForwardListItem(data)); - } - - Interop.Eina.eina_iterator_free(iter); - Interop.Eina.eina_list_free(list); - - return forwardItemsList; - } - } -} diff --git a/src/Tizen.WebView/Tizen.WebView/Chromium.cs b/src/Tizen.WebView/Tizen.WebView/Chromium.cs deleted file mode 100644 index 99f60f5..0000000 --- a/src/Tizen.WebView/Tizen.WebView/Chromium.cs +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved - * - * 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; - -namespace Tizen.WebView -{ - /// - /// This class provides the methods to initialize and shutdown the Chromium-efl. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public static class Chromium - { - /// - /// Initializes the Chromium's instance. - /// - /// A reference count of the Chromium's instance. - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public static int Initialize() - { - return Interop.ChromiumEwk.ewk_init(); - } - - /// - /// Decreases a reference count of the WebKit's instance, possibly destroying it. - /// - /// A reference count of the Chromium's instance. - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public static int Shutdown() - { - return Interop.ChromiumEwk.ewk_shutdown(); - } - - /// - /// Sets argument count and argument array for Chromium. - /// - /// Argument array. The first value of array must be program's name. - /// 6 - [EditorBrowsable(EditorBrowsableState.Never)] - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public static void SetArguments(string[] args) - { - Interop.ChromiumEwk.ewk_set_arguments(args.Length, args); - } - } -} diff --git a/src/Tizen.WebView/Tizen.WebView/Context.cs b/src/Tizen.WebView/Tizen.WebView/Context.cs deleted file mode 100644 index f206e41..0000000 --- a/src/Tizen.WebView/Tizen.WebView/Context.cs +++ /dev/null @@ -1,200 +0,0 @@ -/* - * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved - * - * 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; - -namespace Tizen.WebView -{ - /// - /// Enumeration for cache model options. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public enum CacheModel - { - /// - /// Use the smallest cache capacity. - /// - DocumentViewer, - /// - /// Use the bigger cache capacity than DocumentBrowser. - /// - DocumentBrowser, - /// - /// Use the biggest cache capacity. - /// - PrimaryWebBrowser - } - - /// - /// This class encapsulates all the pages related to the specific use of the Chromium-efl. - /// - /// - /// Applications have the option of creating a context different from the default one and using it for a group of pages. - /// All pages in the same context share the same preferences, visited link set, local storage, and so on. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public class Context - { - private IntPtr _handle; - private CookieManager _cookieManager; - - private Interop.ChromiumEwk.DownloadStartCallback _downloadStartCallback; - private Interop.ChromiumEwk.InterceptRequestCallback _interceptRequestCallback; - - /// - /// The delegate for handling download request. - /// - /// 6 - /// url of the download request. - [EditorBrowsable(EditorBrowsableState.Never)] - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public delegate void DownloadRequestDelegate(string url); - - /// - /// The delegate for intercepting and handling a resource request. - /// - /// 8 - /// The object which can handle a intercepted request. - [EditorBrowsable(EditorBrowsableState.Never)] - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public delegate void InterceptRequestDelegate(RequestInterceptor interceptor); - - internal Context(IntPtr handle) - { - _handle = handle; - } - - /// - /// The cache model. - /// - /// - /// The default cache model is DocumentViewer. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public CacheModel CacheModel - { - get - { - return (CacheModel)Interop.ChromiumEwk.ewk_context_cache_model_get(_handle); - } - - set - { - Interop.ChromiumEwk.ewk_context_cache_model_set(_handle, (Interop.ChromiumEwk.CacheModel)value); - } - } - - /// - /// Gets the CookieManager object for this context. - /// - /// The CookieManager object. - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public CookieManager GetCookieManager() - { - if (_cookieManager == null) - { - IntPtr cookieManagerHandle = Interop.ChromiumEwk.ewk_context_cookie_manager_get(_handle); - if (cookieManagerHandle == IntPtr.Zero) - { - return null; - } - _cookieManager = new CookieManager(cookieManagerHandle); - } - return _cookieManager; - } - - /// - /// Clears HTTP caches in the local storage and all resources cached in memory. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void ClearResourceCache() - { - Interop.ChromiumEwk.ewk_context_resource_cache_clear(_handle); - } - - /// - /// Informs the WebEngine low memory to release unused memory. - /// - /// 6 - [EditorBrowsable(EditorBrowsableState.Never)] - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void NotifyLowMemory() - { - Interop.ChromiumEwk.ewk_context_notify_low_memory(_handle); - } - - /// - /// Sets the delegate function for download request. - /// - /// 6 - [EditorBrowsable(EditorBrowsableState.Never)] - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void SetDownloadRequestDelegate(DownloadRequestDelegate startDownloadCb) - { - _downloadStartCallback = (string url, IntPtr userData) => - { - startDownloadCb(url); - }; - Interop.ChromiumEwk.ewk_context_did_start_download_callback_set(_handle, _downloadStartCallback, IntPtr.Zero); - } - - /// - /// Sets the delegate function for intercepting a resource request. - /// - /// 8 - /// The delegate function for intercepting a resource request. - [EditorBrowsable(EditorBrowsableState.Never)] - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void SetInterceptRequestDelegate(InterceptRequestDelegate interceptRequestCb) - { - _interceptRequestCallback = (IntPtr context, IntPtr request, IntPtr userData) => - { - interceptRequestCb(new RequestInterceptor(request)); - }; - Interop.ChromiumEwk.ewk_context_intercept_request_callback_set(_handle, _interceptRequestCallback, IntPtr.Zero); - - } - - /// - /// Starts the inspector server. - /// - /// 8 - /// The port number. - [EditorBrowsable(EditorBrowsableState.Never)] - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public uint StartInspectorServer(uint port) - { - return Interop.ChromiumEwk.ewk_context_inspector_server_start(_handle, port); - } - - /// - /// Stops the inspector server. - /// - /// 8 - [EditorBrowsable(EditorBrowsableState.Never)] - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void StopInspectorServer() - { - Interop.ChromiumEwk.ewk_context_inspector_server_stop(_handle); - } - } -} diff --git a/src/Tizen.WebView/Tizen.WebView/ContextMenu.cs b/src/Tizen.WebView/Tizen.WebView/ContextMenu.cs deleted file mode 100644 index 2374922..0000000 --- a/src/Tizen.WebView/Tizen.WebView/ContextMenu.cs +++ /dev/null @@ -1,550 +0,0 @@ -/* - * Copyright (c) 2019 Samsung Electronics Co., Ltd All Rights Reserved - * - * 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; - -namespace Tizen.WebView -{ - /// - /// Enumeration for Context Menu Item Tag. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public enum ContextMenuItemTag - { - /// - /// No action - /// - NoAction = 0, - /// - /// Open link in new window. - /// - OpenInNewWindow, - /// - /// Download link to disk. - /// - DownloadLinkToDisk, - /// - /// Copy link to clipboard. - /// - CopyLinkToClipboard, - /// - /// Open image in new window. - /// - OpenImageInNewWindow, - /// - /// Open image in current window. - /// - OpenImageInCurrentWindow, - /// - /// Download image to disk. - /// - DownloadImageToDisk, - /// - /// Copy image to clipboard. - /// - CopyImageToClipboard, - /// - /// Open frame in new window. - /// - OpenFrameInNewWindow, - /// - /// Copy. - /// - Copy, - /// - /// Go back. - /// - GoBack, - /// - /// Go forward. - /// - GoForward, - /// - /// Stop. - /// - Stop, - /// - /// Share. - /// - Share, - /// - /// Reload. - /// - Reload, - /// - /// Cut. - /// - Cut, - /// - /// Paste. - /// - Paste, - /// - /// Spelling guess. - /// - SpellingGuess, - /// - /// Guess found. - /// - NoGuessFound, - /// - /// Ignore spelling. - /// - IgnoreSpelling, - /// - /// Learn spelling. - /// - LearnSpelling, - /// - /// Other. - /// - Other, - /// - /// Search in spotlight. - /// - SearchInSpotlight, - /// - /// Search web. - /// - SearchWeb, - /// - /// Look up in dictionary. - /// - LookUpInDictionary, - /// - /// Open with default application. - /// - OpenWithDefaultApplication, - /// - /// PDF actual size. - /// - PdfActualSize, - /// - /// PDF zoom in. - /// - PdfZoomIn, - /// - /// PDF zoom out. - /// - PdfZoomOut, - /// - /// PDF auto size. - /// - PdfAutoSize, - /// - /// PDF single page. - /// - PdfSinglePage, - /// - /// PDF facting page. - /// - PdfFactingPage, - /// - /// PDF continuous. - /// - PdfContinuous, - /// - /// PDF next page. - /// - PdfNextPage, - /// - /// PDF previous page. - /// - PdfPreviousPage, - /// - /// Open link. - /// - OpenLink, - /// - /// Ignore grammar. - /// - IgnoreGrammar, - /// - /// Spelling menu. - /// - SpellingMenu, - /// - /// Show spelling panel. - /// - ShowSpellingPanel, - /// - /// Check spelling. - /// - CheckSpelling, - /// - /// Check spelling white typing. - /// - CheckSpellingWhileTyping, - /// - /// Check grammar with spelling. - /// - CheckGrammarWithSpelling, - /// - /// Font menu. - /// - FontMenu, - /// - /// Show fonts. - /// - ShowFonts, - /// - /// Bold. - /// - Bold, - /// - /// Italic. - /// - Italic, - /// - /// Underline. - /// - Underline, - /// - /// Outline. - /// - Outline, - /// - /// Style. - /// - Style, - /// - /// Show colors. - /// - ShowColors, - /// - /// Speech menu. - /// - SpeechMenu, - /// - /// Start speaking. - /// - StartSpeaking, - /// - /// Stop speaking. - /// - StopSpeaking, - /// - /// Writing direction menu. - /// - WritingDirectionMenu, - /// - /// Default direction. - /// - DefaultDirection, - /// - /// Left to right. - /// - LeftToRight, - /// - /// Right to left. - /// - RightToLeft, - /// - /// PDF single page scrolling. - /// - PdfSinglePageScrolling, - /// - /// PDF facing page scrolling. - /// - PdfFacingPageScrolling, - /// - /// Inspect element. - /// - InspectElement, - /// - /// Text direction menu. - /// - TextDirectionMenu, - /// - /// Text direction default. - /// - TextDirectionDefault, - /// - /// Text direction left to right. - /// - TextDirectionLeftToRight, - /// - /// Text direction right to left. - /// - TextDirectionRightToLeft, - /// - /// Correct spelling automatically. - /// - CorrectSpellingAutomatically, - /// - /// Substitutions menu. - /// - SubstitutionsMenu, - /// - /// Show substitutions. - /// - ShowSubstitutions, - /// - /// Smart copy paste. - /// - SmartCopyPaste, - /// - /// Smart quotes. - /// - SmartQuotes, - /// - /// Smart dashes. - /// - SmartDashes, - /// - /// Smart links. - /// - SmartLinks, - /// - /// Text replacement. - /// - TextReplacement, - /// - /// Transformation menu. - /// - TransformationMenu, - /// - /// Make upper case. - /// - MakeUpperCase, - /// - /// Make lower case. - /// - MakeLowerCase, - /// - /// Capitalize. - /// - Capitalize, - /// - /// Change back. - /// - ChangeBack, - /// - /// Open media in new window. - /// - OpenMediaInNewWindow, - /// - /// Copy media link to clipboard. - /// - CopyMediaLinkToClipboard, - /// - /// Toggle media controls. - /// - ToggleMediaControls, - /// - /// Toggle media loop. - /// - ToggleMediaLoop, - /// - /// Enter video fullscreen. - /// - EnterVideoFullscreen, - /// - /// Media play pause. - /// - MediaPlayPause, - /// - /// Media mute. - /// - MediaMute, - /// - /// Dictation alternative. - /// - DictationAlternative, - /// - /// Select all. - /// - SelectAll, - /// - /// Select word. - /// - SelectWord, - /// - /// Text selection mode. - /// - TextSelectonMode, - /// - /// Clipboard. - /// - Clipboard, - /// - /// Drag. - /// - Drag, - /// - /// Translate. - /// - Translate, - /// - /// Copy link data. - /// - CopyLinkData, - /// - /// If app want to add customized item, use enum value after BaseApplicationTag. - /// - BaseApplicationTag = 10000 - } - - /// - /// This class provides the properties of Context Menu item. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public class ContextMenuItem - { - private IntPtr _handle; - - internal ContextMenuItem(IntPtr handle) - { - _handle = handle; - } - - internal IntPtr GetHandle() - { - return _handle; - } - - /// - /// Gets Tag of the context menu item. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public ContextMenuItemTag ItemTag - { - get - { - return (ContextMenuItemTag) Interop.ChromiumEwk.ewk_context_menu_item_tag_get(_handle); - } - } - } - - /// - /// Arguments from the ContextMenuItem event. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public class ContextMenuItemEventArgs : EventArgs - { - internal ContextMenuItemEventArgs(ContextMenuItem item) - { - Item = item; - } - - /// - /// Gets the context menu item. - /// - /// The context menu item. - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public ContextMenuItem Item { get; } - - internal static ContextMenuItemEventArgs CreateFromSmartEvent(IntPtr data, IntPtr obj, IntPtr info) - { - return new ContextMenuItemEventArgs(new ContextMenuItem(info)); - } - } - - /// - /// This class provides the properties of Context Menu. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public class ContextMenu - { - private IntPtr _handle; - - internal ContextMenu(IntPtr handle) - { - _handle = handle; - } - - /// - /// Gets the context menu items count. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public int ItemCount - { - get - { - return Interop.ChromiumEwk.ewk_context_menu_item_count(_handle); - } - } - - /// - /// Gets Nth item of the context menu. - /// - /// To get item at index n. - /// The context menu item. - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public ContextMenuItem GetItemAtIndex(int n) - { - IntPtr itemHandle = Interop.ChromiumEwk.ewk_context_menu_nth_item_get(_handle, n); - return new ContextMenuItem(itemHandle); - } - - /// - /// Removes item from the context menu. - /// - /// The context menu item to be removed. - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void RemoveItem(ContextMenuItem item) - { - IntPtr itemHandle = item.GetHandle(); - Interop.ChromiumEwk.ewk_context_menu_item_remove(_handle, itemHandle); - } - - /// - /// Appends item to the context menu. - /// - /// The tag of context menu item. - /// The title of context menu item. - /// The path of icon to be set on context menu item. - /// if true the context menu item is enabled else false. - /// Appended context menu item. - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public ContextMenuItem AppendItem(ContextMenuItemTag tag, string title, string iconPath, bool enabled) - { - bool ret = false; - if(string.IsNullOrEmpty(iconPath)) - ret = Interop.ChromiumEwk.ewk_context_menu_item_append_as_action(_handle, tag, title, enabled); - else - ret = Interop.ChromiumEwk.ewk_context_menu_item_append(_handle, tag, title, iconPath, enabled); - - return ret ? GetItemAtIndex(ItemCount - 1) : null; - } - } - - internal class ContextMenuCustomizeEventArgs : EventArgs - { - internal ContextMenuCustomizeEventArgs(ContextMenu menu) - { - Menu = menu; - } - - internal ContextMenu Menu { get; } - - internal static ContextMenuCustomizeEventArgs CreateFromSmartEvent(IntPtr data, IntPtr obj, IntPtr info) - { - return new ContextMenuCustomizeEventArgs(new ContextMenu(info)); - } - } -} diff --git a/src/Tizen.WebView/Tizen.WebView/CookieManager.cs b/src/Tizen.WebView/Tizen.WebView/CookieManager.cs deleted file mode 100644 index a3adf14..0000000 --- a/src/Tizen.WebView/Tizen.WebView/CookieManager.cs +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved - * - * 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; - -namespace Tizen.WebView -{ - /// - /// Enumeration for the cookies accept policies. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public enum CookieAcceptPolicy - { - /// - /// Accepts every cookie sent from any page. - /// - Always, - /// - /// Rejects all the cookies. - /// - Never, - /// - /// Accepts only cookies set by the main document that is loaded. - /// - NoThirdParty - } - - /// - /// Enumeration for creating a type name for the storage of persistent cookies. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public enum CookiePersistentStorage - { - /// - /// Cookies are stored in a text file in the Mozilla "cookies.txt" format. - /// - [Obsolete("Deprecated since API level 8.")] - Text, - /// - /// Cookies are stored in a SQLite file in the current Mozilla format. - /// - SqlLite - } - - /// - /// This class provides methods for the cookie manager. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public class CookieManager - { - private IntPtr _handle; - - internal CookieManager(IntPtr handle) - { - _handle = handle; - } - - /// - /// Sets the cookie acceptance policy. - /// - /// - /// By default, only cookies set by the main document that is loaded, are accepted. - /// - /// The cookie acceptance policy. - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void SetCookieAcceptPolicy(CookieAcceptPolicy policy) - { - Interop.ChromiumEwk.ewk_cookie_manager_accept_policy_set(_handle, (Interop.ChromiumEwk.CookieAcceptPolicy)policy); - } - - /// - /// Deletes all the cookies. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void ClearCookies() - { - Interop.ChromiumEwk.ewk_cookie_manager_cookies_clear(_handle); - } - - /// - /// Sets the storage where the non-session cookies are stored persistently, to read/write the cookies. - /// - /// http://tizen.org/privilege/mediastorage - /// http://tizen.org/privilege/externalstorage - /// The path where to read/write cookies. - /// The type of storage. - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void SetPersistentStorage(string path, CookiePersistentStorage storage) - { - Interop.ChromiumEwk.ewk_cookie_manager_persistent_storage_set(_handle, path, (Interop.ChromiumEwk.CookiePersistentStorage)storage); - } - } -} diff --git a/src/Tizen.WebView/Tizen.WebView/JavaScriptMessage.cs b/src/Tizen.WebView/Tizen.WebView/JavaScriptMessage.cs deleted file mode 100644 index b9d979e..0000000 --- a/src/Tizen.WebView/Tizen.WebView/JavaScriptMessage.cs +++ /dev/null @@ -1,122 +0,0 @@ -/* - * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved - * - * 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.Runtime.InteropServices; -using System.Text; - -namespace Tizen.WebView -{ - /// - /// The callback function that is invoked when the message is received from the script. - /// - /// The JavaScriptMessage returned by the script. - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public delegate void JavaScriptMessageHandler(JavaScriptMessage message); - - /// - /// A script message contains information that is sent from the JavaScript runtime. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public class JavaScriptMessage - { - private string _name; - private IntPtr _body; - - internal JavaScriptMessage(Interop.ChromiumEwk.ScriptMessage message) - { - _name = Marshal.PtrToStringAnsi(message.name); - _body = message.body; - } - - /// - /// The object name in JavaScript. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public string Name - { - get - { - return _name; - } - } - - /// - /// Gets the value of the body as an integer type. - /// - /// The value of the body as an integer type. - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public int GetBodyAsInteger() - { - if (_body == IntPtr.Zero) - { - return 0; - } - return Marshal.ReadInt32(_body, 0); - } - - /// - /// Gets the value of the body as a double type. - /// - /// The value of the body as a double type. - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public double GetBodyAsDouble() - { - if (_body == IntPtr.Zero) - { - return 0d; - } - double[] ret = new double[1] ; - Marshal.Copy(_body, ret, 0, 1); - return ret[0]; - } - - /// - /// Gets the value of the body as a boolean type. - /// - /// The value of the body as boolean type. - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public bool GetBodyAsBoolean() - { - if (_body == IntPtr.Zero) - { - return false; - } - return Marshal.ReadByte(_body) != (byte)0; - } - - /// - /// Gets the value of the body as a string type. - /// - /// The value of the body as a string type. - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public string GetBodyAsString() - { - if (_body == IntPtr.Zero) - { - return string.Empty; - } - return Marshal.PtrToStringAnsi(_body); - } - } -} diff --git a/src/Tizen.WebView/Tizen.WebView/PolicyDecisionEventArgs.cs b/src/Tizen.WebView/Tizen.WebView/PolicyDecisionEventArgs.cs deleted file mode 100644 index cea193f..0000000 --- a/src/Tizen.WebView/Tizen.WebView/PolicyDecisionEventArgs.cs +++ /dev/null @@ -1,252 +0,0 @@ -/* - * Copyright (c) 2019 Samsung Electronics Co., Ltd All Rights Reserved - * - * 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; - -namespace Tizen.WebView -{ - /// - /// Enumeration values used to specify Policy Navigation Type. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public enum NavigationType { - /// - /// Link Clicked. - /// - LinkClicked = 0, - /// - /// Form Submitted. - /// - FormSubmitted = 1, - /// - /// Back Forward. - /// - BackForward = 2, - /// - /// Reload. - /// - Reload = 3, - /// - /// Form Submitted. - /// - FormResubmitted = 4, - /// - /// Other. - /// - Other = 5 - }; - - /// - /// Arguments from the policy decision events. - /// This class also provides the properties for Policy Decision of WebView. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public abstract class PolicyDecisionEventArgs : EventArgs - { - private IntPtr _handle; - - internal PolicyDecisionEventArgs(IntPtr handle) - { - _handle = handle; - } - - /// - /// Gets the Url. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public string Url - { - get - { - return Interop.ChromiumEwk.ewk_policy_decision_url_get(_handle); - } - } - - /// - /// Gets the scheme. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public string Scheme - { - get - { - return Interop.ChromiumEwk.ewk_policy_decision_scheme_get(_handle); - } - } - - /// - /// Ignores the action which triggers this decision. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void Ignore() - { - Interop.ChromiumEwk.ewk_policy_decision_ignore(_handle); - } - - /// - /// Accepts the action which triggers this decision. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void Use() - { - Interop.ChromiumEwk.ewk_policy_decision_use(_handle); - } - - /// - /// Checks if frame requested in policy decision is main frame. - /// - /// 6 - [EditorBrowsable(EditorBrowsableState.Never)] - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public bool IsMainFrame() - { - return Interop.ChromiumEwk.ewk_policy_decision_is_main_frame(_handle); - } - } - - /// - /// This class is derived from PolicyDecisionEventArgs. - /// This class provides the properties for New Window Policy of WebView. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public class NewWindowPolicyEventArgs : PolicyDecisionEventArgs - { - private IntPtr _handle; - internal NewWindowPolicyEventArgs(IntPtr handle) : base(handle) - { - _handle = handle; - } - - internal static NewWindowPolicyEventArgs CreateFromSmartEvent(IntPtr data, IntPtr obj, IntPtr info) - { - return new NewWindowPolicyEventArgs(info); - } - } - - - /// - /// This class is derived from PolicyDecisionEventArgs. - /// This class provides the properties for Navigation Policy of WebView. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public class NavigationPolicyEventArgs : PolicyDecisionEventArgs - { - private IntPtr _handle; - internal NavigationPolicyEventArgs(IntPtr handle) : base(handle) - { - _handle = handle; - } - - /// - /// Gets the Navigation Type of policy. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public NavigationType NavigationType - { - get - { - return Interop.ChromiumEwk.ewk_policy_decision_navigation_type_get(_handle); - } - } - - /// - /// Gets the cookie. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public string Cookie - { - get - { - return Interop.ChromiumEwk.ewk_policy_decision_cookie_get(_handle); - } - } - - internal static NavigationPolicyEventArgs CreateFromSmartEvent(IntPtr data, IntPtr obj, IntPtr info) - { - return new NavigationPolicyEventArgs(info); - } - } - - /// - /// This class is derived from PolicyDecisionEventArgs. - /// This class provides the properties for Response Policy of WebView. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public class ResponsePolicyEventArgs : PolicyDecisionEventArgs - { - private IntPtr _handle; - internal ResponsePolicyEventArgs(IntPtr handle) : base(handle) - { - _handle = handle; - } - - /// - /// Gets http response status code. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public int StatusCode - { - get - { - return Interop.ChromiumEwk.ewk_policy_decision_response_status_code_get(_handle); - } - } - - /// - /// Gets the cookie. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public string Cookie - { - get - { - return Interop.ChromiumEwk.ewk_policy_decision_cookie_get(_handle); - } - } - - /// - /// Checks policy decision type is Download. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public bool IsDownload - { - get - { - return Interop.ChromiumEwk.ewk_policy_decision_type_get(_handle) == Interop.ChromiumEwk.PolicyDecisionType.Download; - } - } - - internal static ResponsePolicyEventArgs CreateFromSmartEvent(IntPtr data, IntPtr obj, IntPtr info) - { - return new ResponsePolicyEventArgs(info); - } - } -} diff --git a/src/Tizen.WebView/Tizen.WebView/RequestInterceptor.cs b/src/Tizen.WebView/Tizen.WebView/RequestInterceptor.cs deleted file mode 100644 index 85f5457..0000000 --- a/src/Tizen.WebView/Tizen.WebView/RequestInterceptor.cs +++ /dev/null @@ -1,121 +0,0 @@ -/* - * Copyright (c) 2021 Samsung Electronics Co., Ltd All Rights Reserved - * - * 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.Collections.Generic; -using System.ComponentModel; -using System.IO; -using System.Text; - -namespace Tizen.WebView -{ - /// - /// This class provides methods and properties to handle a interpected request. - /// - /// 8 - [EditorBrowsable(EditorBrowsableState.Never)] - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public class RequestInterceptor { - private const string ResponseHeaderTemplate = - "HTTP/1.1 {0} {1}\r\n" + - "Content-Type: {2}; charset={3}\r\n" + - "Content-Length: {4}\r\n"; - - private IntPtr _handle; - - internal RequestInterceptor(IntPtr handle) - { - _handle = handle; - } - - /// - /// The URL of the request. - /// - /// 8 - [EditorBrowsable(EditorBrowsableState.Never)] - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public Uri Url - { - get - { - var url = Interop.ChromiumEwk.ewk_intercept_request_url_get(_handle); - return string.IsNullOrEmpty(url) ? null : new Uri(url); - } - } - - /// - /// Sets headers and data for the response. - /// - /// 8 - /// Response's mime type. - /// Response's character encoding. - /// HTTP response status code. - /// HTTP response reason phrase. - /// Headers Map from HTTP header field names to field values. - /// The streiam that provides the response's data. - /// Thrown when is null. - /// Thrown when the native operation failed to set response. - [EditorBrowsable(EditorBrowsableState.Never)] - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void SetResponse(string mimeType, string encoding, int statusCode, string reasonPhrase, IDictionary responseHeaders, Stream data) - { - if (data == null) - { - throw new ArgumentNullException(nameof(data)); - } - - byte[] body; - using (MemoryStream ms = new MemoryStream()) - { - data.CopyTo(ms); - body = ms.ToArray(); - - var headers = String.Format(ResponseHeaderTemplate, statusCode, reasonPhrase, mimeType, encoding, body.Length); - if (responseHeaders != null) - { - foreach(var header in responseHeaders) - { - headers += $"{header.Key}: {header.Value}\r\n"; - } - } - headers += "\r\n"; - - unsafe - { - fixed (byte* bodyPtr = body) - { - var ret = Interop.ChromiumEwk.ewk_intercept_request_response_set(_handle, headers, bodyPtr, (uint)body.Length); - if (!ret) - { - throw new InvalidOperationException("Failed to set response."); - } - } - } - } - } - - /// - /// Ignores the request, so WebView will load it. - /// - /// 8 - [EditorBrowsable(EditorBrowsableState.Never)] - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void Ignore() - { - Interop.ChromiumEwk.ewk_intercept_request_ignore(_handle); - } - } -} diff --git a/src/Tizen.WebView/Tizen.WebView/Settings.cs b/src/Tizen.WebView/Tizen.WebView/Settings.cs deleted file mode 100644 index fd094f6..0000000 --- a/src/Tizen.WebView/Tizen.WebView/Settings.cs +++ /dev/null @@ -1,230 +0,0 @@ -/* - * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved - * - * 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; - -namespace Tizen.WebView -{ - /// - /// This class provides the properties for setting the preference of a specific WebView. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public class Settings - { - private IntPtr _handle; - - internal Settings(IntPtr handle) - { - _handle = handle; - } - - /// - /// Whether the JavaScript can be executed. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public bool JavaScriptEnabled - { - get - { - return Interop.ChromiumEwk.ewk_settings_javascript_enabled_get(_handle); - } - - set - { - Interop.ChromiumEwk.ewk_settings_javascript_enabled_set(_handle, value); - } - } - - /// - /// Whether the images can be loaded automatically. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public bool LoadImageAutomatically - { - get - { - return Interop.ChromiumEwk.ewk_settings_loads_images_automatically_get(_handle); - } - - set - { - Interop.ChromiumEwk.ewk_settings_loads_images_automatically_set(_handle, value); - } - } - - /// - /// The default text encoding name. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public string DefaultTextEncodingName - { - get - { - return Interop.ChromiumEwk.ewk_settings_default_text_encoding_name_get(_handle); - } - - set - { - Interop.ChromiumEwk.ewk_settings_default_text_encoding_name_set(_handle, value); - } - } - - /// - /// The default font size of a pixel. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public int DefaultFontSize - { - get - { - return Interop.ChromiumEwk.ewk_settings_default_font_size_get(_handle); - } - - set - { - Interop.ChromiumEwk.ewk_settings_default_font_size_set(_handle, value); - } - } - - /// - /// Whether the scripts can open windows. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public bool ScriptsCanOpenWindows - { - get - { - return Interop.ChromiumEwk.ewk_settings_scripts_can_open_windows_get(_handle); - } - - set - { - Interop.ChromiumEwk.ewk_settings_scripts_can_open_windows_set(_handle, value); - } - } - - /// - /// Enable or Disable force zoom. - /// - /// 6 - [EditorBrowsable(EditorBrowsableState.Never)] - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public bool ForceZoom - { - get - { - return Interop.ChromiumEwk.ewk_settings_force_zoom_get(_handle); - } - - set - { - Interop.ChromiumEwk.ewk_settings_force_zoom_set(_handle, value); - } - } - - /// - /// Enable or Disable text autosizing. - /// - /// 6 - [EditorBrowsable(EditorBrowsableState.Never)] - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public bool TextAutosizing - { - get - { - return Interop.ChromiumEwk.ewk_settings_text_autosizing_enabled_get(_handle); - } - - set - { - Interop.ChromiumEwk.ewk_settings_text_autosizing_enabled_set(_handle, value); - } - } - - /// - /// Enable or Disable text zoom. - /// - /// 6 - [EditorBrowsable(EditorBrowsableState.Never)] - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public bool TextZoom - { - get - { - return Interop.ChromiumEwk.ewk_settings_text_zoom_enabled_get(_handle); - } - - set - { - Interop.ChromiumEwk.ewk_settings_text_zoom_enabled_set(_handle, value); - } - } - - /// - /// Enable or Disable the usage of keypad without user action. - /// - /// 6 - [EditorBrowsable(EditorBrowsableState.Never)] - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public bool UseKeypadWithoutUserAction - { - get - { - return Interop.ChromiumEwk.ewk_settings_uses_keypad_without_user_action_get(_handle); - } - - set - { - Interop.ChromiumEwk.ewk_settings_uses_keypad_without_user_action_set(_handle, value); - } - } - - /// - /// Enable or Disable Extra feature such as "edge,enable", "zoom,enable", "longpress,enable" - /// "doubletap,enable" and "selection,magnifier". - /// - /// The name of the feature user wants to set or reset. - /// The boolean value to set or reset. - /// 6 - [EditorBrowsable(EditorBrowsableState.Never)] - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void SetExtraFeature(string name, bool enable) - { - Interop.ChromiumEwk.ewk_settings_extra_feature_set(_handle, name, enable); - } - - /// - /// Get status of Extra feature such as "edge,enable", "zoom,enable", "longpress,enable" - /// "doubletap,enable" and "selection,magnifier". - /// - /// The name of the feature user wants to know status. - /// Status true or false is returned. - /// 6 - [EditorBrowsable(EditorBrowsableState.Never)] - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public bool GetExtraFeatureStatus(string name) - { - return Interop.ChromiumEwk.ewk_settings_extra_feature_get(_handle, name); - } - } -} diff --git a/src/Tizen.WebView/Tizen.WebView/SmartCallbackArgs.cs b/src/Tizen.WebView/Tizen.WebView/SmartCallbackArgs.cs deleted file mode 100644 index c52589d..0000000 --- a/src/Tizen.WebView/Tizen.WebView/SmartCallbackArgs.cs +++ /dev/null @@ -1,103 +0,0 @@ -/* - * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved - * - * 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.Runtime.InteropServices; - -namespace Tizen.WebView -{ - /// - /// The argument from the SmartCallback. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public class SmartCallbackArgs : EventArgs - { - private IntPtr _arg; - - internal SmartCallbackArgs(IntPtr arg) - { - _arg = arg; - } - - /// - /// Gets the argument as an integer type. - /// - /// Argument as an integer type. - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public int GetAsInteger() - { - if (_arg == IntPtr.Zero) - { - return 0; - } - return Marshal.ReadInt32(_arg, 0); - } - - /// - /// Gets the argument as a double type. - /// - /// Argument as a double type. - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public double GetAsDouble() - { - if (_arg == IntPtr.Zero) - { - return 0d; - } - double[] ret = new double[1]; - Marshal.Copy(_arg, ret, 0, 1); - return ret[0]; - } - - /// - /// Gets the argument as a boolean type. - /// - /// Argument as a boolean type. - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public bool GetAsBoolean() - { - if (_arg == IntPtr.Zero) - { - return false; - } - return Marshal.ReadByte(_arg) != (byte)0; - } - - /// - /// Gets the argument as a string type. - /// - /// Argument as a string type. - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public string GetAsString() - { - if (_arg == IntPtr.Zero) - { - return string.Empty; - } - return Marshal.PtrToStringAnsi(_arg); - } - - internal static SmartCallbackArgs CreateFromSmartEvent(IntPtr data, IntPtr obj, IntPtr info) - { - return new SmartCallbackArgs(info); - } - } -} diff --git a/src/Tizen.WebView/Tizen.WebView/SmartCallbackLoadErrorArgs.cs b/src/Tizen.WebView/Tizen.WebView/SmartCallbackLoadErrorArgs.cs deleted file mode 100644 index 1d4ff37..0000000 --- a/src/Tizen.WebView/Tizen.WebView/SmartCallbackLoadErrorArgs.cs +++ /dev/null @@ -1,162 +0,0 @@ -/* - * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved - * - * 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.Runtime.InteropServices; - -namespace Tizen.WebView -{ - /// - /// Enumeration for providing an option to the error codes. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public enum LoadErrorCode - { - /// - /// Unknown. - /// - Unknown = 0, - /// - /// User canceled. - /// - Canceled, - /// - /// Can't show the page for this MIME type. - /// - CantSupportMimetype, - /// - /// File IO error. - /// - FailedFileIo, - /// - /// Cannot connect to the network. - /// - CantConnect, - /// - /// Fail to look up host from the DNS. - /// - CantLookupHost, - /// - /// Fail to SSL/TLS handshake. - /// - FailedTlsHandshake, - /// - /// Received certificate is invalid. - /// - InvalidCertificate, - /// - /// Connection timeout. - /// - RequestTimeout, - /// - /// Too many redirects. - /// - TooManyRedirects, - /// - /// Too many requests during this load. - /// - TooManyRequests, - /// - /// Malformed URL. - /// - BadUrl, - /// - /// Unsupported scheme. - /// - UnsupportedScheme, - /// - /// User authentication failed on the server. - /// - Authentication, - /// - /// Web server has an internal server error. - /// - InternalServer, - } - - /// - /// Arguments from the LoadError SmartCallback. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public class SmartCallbackLoadErrorArgs : EventArgs - { - IntPtr _handle; - - internal SmartCallbackLoadErrorArgs(IntPtr handle) - { - _handle = handle; - } - - /// - /// Failing URL for the error. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public string Url - { - get - { - return Interop.ChromiumEwk.ewk_error_url_get(_handle); - } - } - - /// - /// The error code. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public LoadErrorCode Code - { - get - { - return (LoadErrorCode)Interop.ChromiumEwk.ewk_error_code_get(_handle); - } - } - - /// - /// The description for the error. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public string Description - { - get - { - return Interop.ChromiumEwk.ewk_error_description_get(_handle); - } - } - - /// - /// Whether the error should be treated as a cancellation. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public bool Cancellation - { - get - { - return Interop.ChromiumEwk.ewk_error_cancellation_get(_handle); - } - } - - internal static SmartCallbackLoadErrorArgs CreateFromSmartEvent(IntPtr data, IntPtr obj, IntPtr info) - { - return new SmartCallbackLoadErrorArgs(info); - } - } -} diff --git a/src/Tizen.WebView/Tizen.WebView/WebView.cs b/src/Tizen.WebView/Tizen.WebView/WebView.cs deleted file mode 100644 index 82169bf..0000000 --- a/src/Tizen.WebView/Tizen.WebView/WebView.cs +++ /dev/null @@ -1,811 +0,0 @@ -/* - * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved - * - * 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 ElmSharp; -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Runtime.InteropServices; -using System.Threading.Tasks; - -namespace Tizen.WebView -{ - /// - /// Enumeration values used to specify search options. - /// - /// 6 - [Flags] - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public enum FindOption - { - /// - /// No search flags, this means a case sensitive, no wrap, forward only search. - /// - None = 0, - /// - /// Case insensitive search. - /// - CaseInsensitive = 1 << 0, - /// - /// Search text only at the beginning of the words. - /// - AtWordStart = 1 << 1, - /// - /// Treat capital letters in the middle of words as word start. - /// - TreatMedialCapitalAsWordStart = 1 << 2, - /// - /// Search backwards. - /// - Backwards = 1 << 3, - /// - /// If not present the search stops at the end of the document. - /// - WrapAround = 1 << 4, - /// - /// Show overlay. - /// - ShowOverlay = 1 << 5, - /// - /// Show Indicator. - /// - ShowIndicator = 1 << 6, - /// - /// Show Highlight. - /// - ShowHighlight = 1 << 7, - } - - /// - /// Enumeration for Http Method. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public enum HttpMethod - { - /// - /// Get. - /// - Get, - /// - /// Head. - /// - Head, - /// - /// Post. - /// - Post, - /// - /// Put. - /// - Put, - /// - /// Delete. - /// - Delete, - } - - /// - /// Enumeration for Orientation of the device. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public enum Orientation - { - /// - /// 0 degrees when the device is oriented to natural position. - /// - Natural = 0, - /// - /// -90 degrees when it's left side is at the top. - /// - LeftAtTop = -90, - /// - /// 90 degrees when it's right side is at the top. - /// - RightAtTop = 90, - /// - /// 180 degrees when it is upside down. - /// - UpsideDown = 180, - } - - /// - /// A view used to render the web contents. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12. The WebView provided by .NET MAUI or Tizen.NUI can be used instead.")] - public class WebView : EvasObject - { - private static IDictionary _javaScriptMessageHandlerMap = new Dictionary(); - - private IntPtr _handle; - private IntPtr _realHandle; - private Context _context; - private Settings _settings; - - private IDictionary _evalCallbacks = new Dictionary(); - private int _evalCallbackId = 0; - - // focus dummy - private SmartEvent _focusIn; - private SmartEvent _focusOut; - - // Smart events - private SmartEvent _loadStarted; - private SmartEvent _loadFinished; - private SmartEvent _loadError; - private SmartEvent _titleChanged; - private SmartEvent _urlChanged; - private SmartEvent _policyNavigationDecide; - private SmartEvent _policyNewWindowDecide; - private SmartEvent _policyResponseDecide; - - private SmartEvent _contextMenuItemSelected; - private SmartEvent _contextMenuCustomize; - - private ContextMenuCustomize _contextMenuCustomizeDelegate; - - /// - /// Event that occurs when the load is started. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public event EventHandler LoadStarted; - - /// - /// Event that occurs when the load is finished. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public event EventHandler LoadFinished; - - /// - /// Event that occurs when the load throws an error. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public event EventHandler LoadError; - - /// - /// Event that occurs when the title of the main frame is changed. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public event EventHandler TitleChanged; - - /// - /// Event that occurs when the URL of the main frame is changed. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public event EventHandler UrlChanged; - - /// - /// Event that occurs when the policy navigation is decided. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public event EventHandler NavigationPolicyDecideRequested; - - /// - /// Event that occurs when the policy new window is decided. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public event EventHandler NewWindowPolicyDecideRequested; - - /// - /// Event that occurs when the policy response is decided. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public event EventHandler ResponsePolicyDecideRequested; - - /// - /// Event that occurs when the context menu item selected. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public event EventHandler ContextMenuItemSelected; - - /// - /// The delegate is invoked when context menu customization is needed. - /// - /// The instance of ContextMenu. - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public delegate void ContextMenuCustomize(ContextMenu menu); - - - /// - /// Current URL of the main frame. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public string Url - { - get - { - return Interop.ChromiumEwk.ewk_view_url_get(_realHandle); - } - } - - /// - /// Current title of the main frame. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public string Title - { - get - { - return Interop.ChromiumEwk.ewk_view_title_get(_realHandle); - } - } - - /// - /// Current user agent string of this view. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public string UserAgent - { - get - { - return Interop.ChromiumEwk.ewk_view_user_agent_get(_realHandle); - } - - set - { - Interop.ChromiumEwk.ewk_view_user_agent_set(_realHandle, value); - } - } - - /// - /// Whether a view has the focus. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public bool HasFocus - { - get - { - return Interop.ChromiumEwk.ewk_view_focus_get(_realHandle); - } - } - - /// - /// Creates a WebView object. - /// - /// Parent object of the WebView. - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public WebView(EvasObject parent) : base(parent) - { - InitializeSmartEvent(); - } - - /// - /// Gets the context object of this view. - /// - /// The context object of this view. - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public Context GetContext() - { - if (_context == null) - { - IntPtr contextHandle = Interop.ChromiumEwk.ewk_view_context_get(_realHandle); - if (contextHandle == IntPtr.Zero) - { - return null; - } - _context = new Context(contextHandle); - } - return _context; - } - - /// - /// Gets the settings object of this view. - /// - /// The settings object of this view. - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public Settings GetSettings() - { - if (_settings == null) - { - IntPtr settingsHandle = Interop.ChromiumEwk.ewk_view_settings_get(_realHandle); - if (settingsHandle == IntPtr.Zero) - { - return null; - } - _settings = new Settings(settingsHandle); - } - return _settings; - } - - /// - /// Gets the back/forward list object of this view. - /// - /// The BackForward List object of this view. - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public BackForwardList GetBackForwardList() - { - IntPtr backforwardlistHandle = Interop.ChromiumEwk.ewk_view_back_forward_list_get(_realHandle); - if (backforwardlistHandle == IntPtr.Zero) - { - return null; - } - return new BackForwardList(backforwardlistHandle); - } - - /// - /// Clear the back/forward list object of this view. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void ClearBackForwardList() - { - Interop.ChromiumEwk.ewk_view_back_forward_list_clear(_realHandle); - } - - /// - /// Asks the object to load the given URL. - /// - /// - /// You can only be sure that the URL changes after UrlChanged event. - /// - /// The uniform resource identifier to load. - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void LoadUrl(string url) - { - Interop.ChromiumEwk.ewk_view_url_set(_realHandle, url); - } - - /// - /// Loads the specified HTML string as the content of the view. - /// - /// HTML data to load. - /// Base URL used for relative paths to external objects. - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void LoadHtml(string html, string baseUrl) - { - Interop.ChromiumEwk.ewk_view_html_string_load(_realHandle, html, baseUrl, null); - } - - /// - /// Asks the main frame to stop loading. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void StopLoading() - { - Interop.ChromiumEwk.ewk_view_stop(_realHandle); - } - - /// - /// Asks the main frame to reload the current document. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void Reload() - { - Interop.ChromiumEwk.ewk_view_reload(_realHandle); - } - - /// - /// Asks the main frame to navigate back in history. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void GoBack() - { - Interop.ChromiumEwk.ewk_view_back(_realHandle); - } - - /// - /// Asks the main frame to navigate forward in history. - /// - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void GoForward() - { - Interop.ChromiumEwk.ewk_view_forward(_realHandle); - } - - /// - /// Checks whether it is possible to navigate backward one item in history. - /// - /// Whether it is possible to navigate backward one item in history. - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public bool CanGoBack() - { - return Interop.ChromiumEwk.ewk_view_back_possible(_realHandle); - } - - /// - /// Checks whether it is possible to navigate forward one item in history. - /// - /// Whether it is possible to navigate forward one item in history. - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public bool CanGoForward() - { - return Interop.ChromiumEwk.ewk_view_forward_possible(_realHandle); - } - - /// - /// Injects the supplied javascript message handler into the view. - /// - /// The message callback. - /// The name used to expose the object in JavaScript. - /// 'true' on success, otherwise 'false'. - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public bool AddJavaScriptMessageHandler(string name, JavaScriptMessageHandler handler) - { - lock (_javaScriptMessageHandlerMap) - { - if (_javaScriptMessageHandlerMap.ContainsKey(name)) - { - return false; - } - _javaScriptMessageHandlerMap[name] = handler; - } - Interop.ChromiumEwk.ScriptMessageCallback callback = (handle, message) => - { - JavaScriptMessage convertedMessage = new JavaScriptMessage(message); - lock (_javaScriptMessageHandlerMap) - { - if (_javaScriptMessageHandlerMap.ContainsKey(convertedMessage.Name)) - { - _javaScriptMessageHandlerMap[convertedMessage.Name](convertedMessage); - } - } - }; - if (!Interop.ChromiumEwk.ewk_view_javascript_message_handler_add(_realHandle, callback, name)) - { - lock (_javaScriptMessageHandlerMap) - { - _javaScriptMessageHandlerMap.Remove(name); - return false; - } - } - return true; - } - - /// - /// Requests the execution of a given name and the result to the JavaScript runtime. - /// - /// The name used to expose the object in JavaScript. - /// The result to the JavaScript runtime. - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void EvalWithResult(string name, string result) - { - Interop.ChromiumEwk.ewk_view_evaluate_javascript(_realHandle, name, result); - } - - /// - /// Requests the execution of the given script. - /// - /// The JavaScript code string to execute. - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void Eval(string script) - { - Interop.ChromiumEwk.ewk_view_script_execute(_realHandle, script, null, IntPtr.Zero); - } - - /// - /// Requests the evaluation of the given script. - /// - /// The JavaScript code string to evaluate. - /// A task that contains the result of the evaluation as a string. - /// 8 - /// Thrown when a script is null or empty string. - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public async Task EvalAsync(string script) - { - if (string.IsNullOrEmpty(script)) - { - throw new ArgumentException(nameof(script)); - } - - var tcs = new TaskCompletionSource(); - IntPtr id = IntPtr.Zero; - - lock (_evalCallbacks) - { - id = (IntPtr)_evalCallbackId++; - _evalCallbacks[id] = (obj, returnValue, userData) => - { - tcs.SetResult(Marshal.PtrToStringAnsi(returnValue)); - lock (_evalCallbacks) - { - _evalCallbacks.Remove(userData); - } - }; - } - - Interop.ChromiumEwk.ewk_view_script_execute(_realHandle, script, _evalCallbacks[id], id); - return await tcs.Task; - } - - /// - /// Requests to set or unset a view as the currently focused one. - /// - /// 'true' to set the focus on the view, 'false' to remove the focus from the view. - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void SetFocus(bool focused) - { - Interop.ChromiumEwk.ewk_view_focus_set(_realHandle, focused); - } - - /// - /// Gets size of the content. - /// - /// size of the coordinate. - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public Size ContentsSize - { - get - { - int width, height; - Interop.ChromiumEwk.ewk_view_contents_size_get(_realHandle, out width, out height); - return new Size(width, height); - } - } - - /// - /// Exit full screen. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void ExitFullscreen () - { - Interop.ChromiumEwk.ewk_view_fullscreen_exit(_realHandle); - } - - /// - /// Gets the current load progress of the page. - /// - /// 'value 0.0 to 1.0' on success, otherwise '-1.0'. - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public double LoadProgress - { - get - { - return Interop.ChromiumEwk.ewk_view_load_progress_get(_realHandle); - } - } - - /// - /// Sends the orientation of the device. - /// - /// The new orientation of the device in degree. - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void SendOrientation (Orientation orientation) - { - Interop.ChromiumEwk.ewk_view_orientation_send(_realHandle, orientation); - } - - /// - /// Suspends the operation associated with the view. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void Suspend () - { - Interop.ChromiumEwk.ewk_view_suspend(_realHandle); - } - - /// - /// Resumes the operation associated with the view. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void Resume () - { - Interop.ChromiumEwk.ewk_view_resume(_realHandle); - } - - /// - /// Gets the current scale factor of the page. - /// - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public double Scale - { - get - { - return Interop.ChromiumEwk.ewk_view_scale_get(_realHandle); - } - } - - /// - /// Sets the current scale factor of the page. - /// - /// A new level to set. - /// The class Point object with X, Y coordinates. - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void SetScale (double scaleFactor, Point scrollTo) - { - Interop.ChromiumEwk.ewk_view_scale_set(_realHandle, scaleFactor, scrollTo.X, scrollTo.Y); - } - - /// - /// Sets the current page's visibility. - /// - /// 'true' to set on the visibility of the page, 'false' otherwise. - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void SetViewVisibility (bool enable) - { - Interop.ChromiumEwk.ewk_view_visibility_set(_realHandle, enable); - } - - /// - /// Get and Sets the scroll position of the page. - /// - /// The class Point object with X, Y coordinates. - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public Point ScrollPosition - { - get - { - Point p; - Interop.ChromiumEwk.ewk_view_scroll_pos_get(_realHandle, out p.X, out p.Y); - return p; - } - set - { - Interop.ChromiumEwk.ewk_view_scroll_set(_realHandle, value.X, value.Y); - } - } - - /// - /// Scrolls the webpage by the given amount. - /// - /// The class Point object with X, Y coordinates. - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void ScrollBy (Point delta) - { - Interop.ChromiumEwk.ewk_view_scroll_by(_realHandle, delta.X, delta.Y); - } - - /// - /// Searches and highlights the given text string in the document. - /// - /// The text to find. - /// The options to find. - /// The maximum match count to find, unlimited if 0. - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void FindText (string text, FindOption option, int maxMatchCount) - { - Interop.ChromiumEwk.ewk_view_text_find(_realHandle, text, option, maxMatchCount); - } - - /// - /// Requests loading of the given request data. - /// - /// The uniform resource identifier to load. - /// The http method. - /// The http headers. - /// The http body data. - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void SetUrlRequest (string url, HttpMethod httpMethod, IDictionary httpHeaders, string httpBody) - { - List stringHandles = new List(); - IntPtr hashHttpHeaders = Interop.Eina.eina_hash_string_small_new(IntPtr.Zero); - - foreach (KeyValuePair entry in httpHeaders) - { - IntPtr keyHandle = Marshal.StringToHGlobalAnsi(entry.Key); - IntPtr valueHandle = Marshal.StringToHGlobalAnsi(entry.Value); - Interop.Eina.eina_hash_add(hashHttpHeaders, keyHandle, valueHandle); - stringHandles.Add(keyHandle); - stringHandles.Add(valueHandle); - } - Interop.ChromiumEwk.ewk_view_url_request_set(_realHandle, url, httpMethod, hashHttpHeaders, httpBody); - - foreach(IntPtr handle in stringHandles) - { - Marshal.FreeHGlobal(handle); - } - } - - /// - /// Creates a widget handle. - /// - /// Parent EvasObject. - /// IntPtr of the widget handle. - /// 4 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - protected override IntPtr CreateHandle(EvasObject parent) - { - // focus dummy - _handle = Interop.Elementary.elm_layout_add((IntPtr)parent); - Interop.Elementary.elm_layout_theme_set(_handle, "layout", "elm_widget", "default"); - Interop.Elementary.elm_object_focus_allow_set(_handle, true); - - IntPtr evas = Interop.Evas.evas_object_evas_get(parent); - _realHandle = Interop.ChromiumEwk.ewk_view_add(evas); - Interop.Elementary.elm_object_part_content_set(_handle, "elm.swallow.content", _realHandle); - - return _handle; - } - - /// - /// Sets the delegate for context menu customization. - /// - /// The delegate for context menu customization. - /// 6 - [Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] - public void SetContextMenuCustomizeDelegate(ContextMenuCustomize contextMenuCustomizeDelegate) - { - _contextMenuCustomizeDelegate = contextMenuCustomizeDelegate; - } - - private void InitializeSmartEvent() - { - // focus dummy - _focusIn = new SmartEvent(this, "focused"); - _focusOut = new SmartEvent(this, "unfocused"); - - _focusIn.On += (s, e) => { ((WebView)s).SetFocus(true); }; - _focusOut.On += (s, e) => { ((WebView)s).SetFocus(false); }; - - _loadStarted = new SmartEvent(this, _realHandle, "load,started"); - _loadFinished = new SmartEvent(this, _realHandle, "load,finished"); - _loadError = new SmartEvent(this, _realHandle, "load,error", SmartCallbackLoadErrorArgs.CreateFromSmartEvent); - _titleChanged = new SmartEvent(this, _realHandle, "title,changed", SmartCallbackArgs.CreateFromSmartEvent); - _urlChanged = new SmartEvent(this, _realHandle, "url,changed", SmartCallbackArgs.CreateFromSmartEvent); - _contextMenuCustomize = new SmartEvent(this, _realHandle, "contextmenu,customize", ContextMenuCustomizeEventArgs.CreateFromSmartEvent); - _contextMenuItemSelected = new SmartEvent(this, _realHandle, "contextmenu,selected", ContextMenuItemEventArgs.CreateFromSmartEvent); - _policyNavigationDecide = new SmartEvent(this, _realHandle, "policy,navigation,decide", NavigationPolicyEventArgs.CreateFromSmartEvent); - _policyNewWindowDecide = new SmartEvent(this, _realHandle, "policy,newwindow,decide", NewWindowPolicyEventArgs.CreateFromSmartEvent); - _policyResponseDecide = new SmartEvent(this, _realHandle, "policy,response,decide", ResponsePolicyEventArgs.CreateFromSmartEvent); - - _loadStarted.On += (s, e) => { LoadStarted?.Invoke(this, EventArgs.Empty); }; - _loadFinished.On += (s, e) => { LoadFinished?.Invoke(this, EventArgs.Empty); }; - _loadError.On += (s, e) => { LoadError?.Invoke(this, e); }; - _titleChanged.On += (s, e) => { TitleChanged?.Invoke(this, e); }; - _urlChanged.On += (s, e) => { UrlChanged?.Invoke(this, e); }; - _policyNavigationDecide.On += (s, e) => { NavigationPolicyDecideRequested?.Invoke(this, e); }; - _policyNewWindowDecide.On += (s, e) => { NewWindowPolicyDecideRequested?.Invoke(this, e); }; - _policyResponseDecide.On += (s, e) => { ResponsePolicyDecideRequested?.Invoke(this, e); }; - _contextMenuItemSelected.On += (s, e) => { ContextMenuItemSelected?.Invoke(this, e); }; - _contextMenuCustomize.On += (s, e) => { _contextMenuCustomizeDelegate?.Invoke(e.Menu); }; - } - - } -} diff --git a/src/Tizen.WebView/doc/api/Tizen.WebView.md b/src/Tizen.WebView/doc/api/Tizen.WebView.md deleted file mode 100644 index 4ff4ad9..0000000 --- a/src/Tizen.WebView/doc/api/Tizen.WebView.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -# Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved -# -# 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 - -uid: Tizen.WebView -summary: The Tizen.WebView namespace provides classes for accessing web pages and web content in your application. ---- diff --git a/test/Tizen.WebView.Test/Properties/AssemblyInfo.cs b/test/Tizen.WebView.Test/Properties/AssemblyInfo.cs deleted file mode 100644 index 193c2d8..0000000 --- a/test/Tizen.WebView.Test/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Tizen.WebView.Test")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Samsung Electronics")] -[assembly: AssemblyProduct("Tizen.WebView.Test")] -[assembly: AssemblyCopyright("Copyright © Samsung Electronics 2017")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("b57dafa3-b566-4ebf-a6f0-ecd2224a748d")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/test/Tizen.WebView.Test/SimpleWebviewApp.cs b/test/Tizen.WebView.Test/SimpleWebviewApp.cs deleted file mode 100644 index ffa3eeb..0000000 --- a/test/Tizen.WebView.Test/SimpleWebviewApp.cs +++ /dev/null @@ -1,278 +0,0 @@ -/* - * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved - * - * 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.Collections.Generic; -using System.Linq; -using System.Text; - -using ElmSharp; -using Tizen.Applications; -using Tizen.WebView; - - -namespace Tizen.WebView.Test -{ - public class SimpleWebviewApp : CoreUIApplication - { - private const string LogTag = "WebViewApp"; - - private const string _windowName = "Simple WebView App"; - private const string _defaultUrl = "http://www.google.com"; - private WebView _webview; - private Entry _addressEntry; - private Button _reloadButton; - - public SimpleWebviewApp() - { - - } - - protected override void OnCreate() - { - base.OnCreate(); - Chromium.Initialize(); - // Create webview and toolbox - CreateUI(); - } - - protected override void OnTerminate() - { - Chromium.Shutdown(); - base.OnTerminate(); - } - - private void CreateUI() - { - // Create Window - Window window = new Window(_windowName); - window.Show(); - - // Create Box for main window - Box mainBox = CreateBaseUI(window); - - // Create top bar - Box topBar = CreateTopBar(window); - - // Create Webview - _webview = new WebView(window) - { - AlignmentX = -1, - AlignmentY = -1, - WeightX = 1, - WeightY = 1 - }; - _webview.Show(); - - // Create bottom bar - Box bottomBar = CreateBottomBar(window); - - mainBox.PackEnd(topBar); - mainBox.PackEnd(_webview); - mainBox.PackEnd(bottomBar); - - InitializeWebView(); - - // Load default URL - _webview.LoadUrl(_defaultUrl); - } - - private Box CreateBaseUI(Window window) - { - // Create Background - Background background = new Background(window) - { - AlignmentX = -1, - AlignmentY = -1, - WeightX = 1, - WeightY = 1, - Color = Color.White - }; - background.Show(); - window.AddResizeObject(background); - - // Create Conformant - Conformant conformant = new Conformant(window); - conformant.Show(); - - // Create Box for all contents - Box box = new Box(window) - { - AlignmentX = -1, - AlignmentY = -1, - WeightX = 1, - WeightY = 1 - }; - box.Show(); - conformant.SetContent(box); - - return box; - } - - private Box CreateTopBar(Window window) - { - // Create Box for address bar - Box topBar = new Box(window) - { - AlignmentX = -1, - AlignmentY = 0, - WeightX = 1, - WeightY = 0, - IsHorizontal = true - }; - topBar.Show(); - - // Create address entry - _addressEntry = new Entry(window) - { - AlignmentX = -1, - AlignmentY = -1, - WeightX = 1, - WeightY = 1, - IsSingleLine = true, - Scrollable = true, - Text = _defaultUrl - }; - _addressEntry.SetInputPanelLayout(InputPanelLayout.Url); - _addressEntry.Activated += (s, e) => - { - _webview.LoadUrl(((Entry)s).Text); - }; - _addressEntry.Show(); - - // Create reload button - _reloadButton = new Button(window) - { - AlignmentX = -1, - AlignmentY = -1, - WeightX = 0.3, - WeightY = 1, - Text = "Reload" - }; - _reloadButton.Clicked += (s, e) => - { - if (_reloadButton.Text.Equals("Reload")) - { - _webview.Reload(); - } - else if (_reloadButton.Text.Equals("Stop")) - { - _webview.StopLoading(); - } - }; - _reloadButton.Show(); - - topBar.PackEnd(_addressEntry); - topBar.PackEnd(_reloadButton); - - return topBar; - } - - private Box CreateBottomBar(Window window) - { - // Create Box for bottom bar - Box bottomBar = new Box(window) - { - AlignmentX = -1, - AlignmentY = 1, - WeightX = 1, - WeightY = 0, - IsHorizontal = true - }; - bottomBar.Show(); - - // Create back/forward buttons - Button backButton = new Button(window) - { - AlignmentX = -1, - AlignmentY = 0.5, - WeightX = 1, - WeightY = 1, - Text = "Back" - - }; - backButton.Clicked += (s, e) => - { - if (_webview.CanGoBack()) - _webview.GoBack(); - }; - backButton.Show(); - - Button forwardButton = new Button(window) - { - AlignmentX = -1, - AlignmentY = 0.5, - WeightX = 1, - WeightY = 1, - Text = "Forward" - - }; - forwardButton.Clicked += (s, e) => - { - if (_webview.CanGoForward()) - _webview.GoForward(); - }; - forwardButton.Show(); - - bottomBar.PackEnd(backButton); - bottomBar.PackEnd(forwardButton); - - return bottomBar; - } - - private void InitializeWebView() - { - _webview.LoadStarted += (s, e) => - { - Log.Info(LogTag, "Load started"); - _reloadButton.Text = "Stop"; - }; - - _webview.LoadFinished += (s, e) => - { - Log.Info(LogTag, "Load finished"); - _reloadButton.Text = "Reload"; - }; - - _webview.LoadError += (s, e) => - { - Log.Info(LogTag, "Load error(" + e.Code + "): " + e.Description); - }; - - _webview.UrlChanged += (s, e) => - { - Log.Info(LogTag, "Url changed: " + e.GetAsString()); - _addressEntry.Text = e.GetAsString(); - }; - - CookieManager cookieManager = _webview.GetContext().GetCookieManager(); - if (cookieManager != null) - { - cookieManager.SetCookieAcceptPolicy(CookieAcceptPolicy.Always); - cookieManager.SetPersistentStorage(DirectoryInfo.Data, CookiePersistentStorage.SqlLite); - } - } - - static void Main(string[] args) - { - Elementary.Initialize(); - Elementary.ThemeOverlay(); - - SimpleWebviewApp app = new Test.SimpleWebviewApp(); - app.Run(args); - } - } -} diff --git a/test/Tizen.WebView.Test/Tizen.WebView.Test.csproj b/test/Tizen.WebView.Test/Tizen.WebView.Test.csproj deleted file mode 100755 index 9a6ebb1..0000000 --- a/test/Tizen.WebView.Test/Tizen.WebView.Test.csproj +++ /dev/null @@ -1,98 +0,0 @@ - - - - 14.0 - Debug - AnyCPU - 8.0.30703 - 2.0 - {2F98DAC9-6F16-457B-AED7-D43CAC379341};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - {B57DAFA3-B566-4EBF-A6F0-ECD2224A748D} - Exe - Properties - Tizen.WebView.Test - Tizen.WebView.Test - 512 - en-US - - - DNXCore - v5.0 - false - .NETCoreApp,Version=v1.0 - true - $(NoWarn);1701 - false - - - true - full - true - bin\Debug\ - DEBUG;TRACE - prompt - 4 - ;1701;1702 - true - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - true - ;1701;1702 - true - - - - - - - - - - - - - - - - - {8405e84f-b920-4aac-9ad5-001b9debc9ca} - Tizen.WebView - - - - - - - - <_TargetFrameworkDirectories>$(MSBuildThisFileDirectory) - <_FullFrameworkReferenceAssemblyPaths>$(MSBuildThisFileDirectory) - true - - - - - - - - - - - - diff --git a/test/Tizen.WebView.Test/Tizen.WebView.Test.project.json b/test/Tizen.WebView.Test/Tizen.WebView.Test.project.json deleted file mode 100644 index b330acf..0000000 --- a/test/Tizen.WebView.Test/Tizen.WebView.Test.project.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "dependencies": { - "ElmSharp": "1.2.0-*", - "Microsoft.NETCore.App": "1.0.0", - "Tizen": "1.0.3", - "Tizen.Applications": "1.3.2" - }, - "frameworks": { - "netcoreapp1.0": {} - }, - "runtimes": { - "win": {} - } -} diff --git a/test/Tizen.WebView.Test/shared/res/Tizen.WebView.Test.png b/test/Tizen.WebView.Test/shared/res/Tizen.WebView.Test.png deleted file mode 100644 index 9765b1bda7e5bddf0925555ab204b887a873bf24..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 57662 zcmdU&2Y{Bv)wXAQhoyJerGpfaq9DE5J1S~atXN|Avn3kQ*!`l$D2ie%v3Ct9iU9$! zARxVWkS4wCvh_dLJny{>uV6_upZ~zTGjrz5nKS2}_RLfEz7vl>A}6zMrgJXms3ZHI zY~lal(^KvD>g2b^T99$|k!M`zTvj!Ff*bL4ZRavixU^rt6HmP4s_U=1?vksn&O54K zzr3rjz3Spie}9p4H!U1_%FscltgqRlVCl}j$J~4S-;TNJ8N(x+7h3`nl`#k2P&{pByWKUm|WHre-Q&QDvN|NLL>eBs{vzbanwhZioN zJGS84sb!<)^<4YLj*;(APaB_}{rHg`PwISo_N#pxR#|@M=aVL{SlzDou*{}cyWI5m zFU-HLv`K<1ysdlpgBp)d`cVb&Nq{W}Uo#k#HS@`5165LsT%de5} z>?1C(+C}&Fcb6RQ-k5&c{R7 zy7#VDF8L2`$QMnT+~ofJq^mw~`{~`c9rRZ2+SX>NC*SKnrfJs!!_G=?drjKur?+d^ za@tX~4yxYeyu|ZH^lmrd<|peMGOSbO`OD}^=eFH2 zF15Vz`RA`HTQmLjt9v`Q;`-ZWl(lL9e%;#-Prdz$vgey^PQK)vtY`nH;DL+ZtK55( zdv^W8(|25rZ3aB|@R$V))~sGV|L945&pPj`({C*sI^o>$rQvN1Z=raO>);PO5s%U;2-D zaK|ApHomX#Ut4|FY-ag|E0?t?PU^X=vw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Yl zjqh0ES3YUU32D$NtM*&oO1sg0p^eZ_EsHlIe(*Y!@;~HMXUOxbfJy~c8J0@27o95G zCC^hfb)IOA^Yzi_P?-b8WqcWww0Ma_S6YoyI^98#-M+l(g*@40a+YsG0bLNa^jr<=? zx5y2h+OQ7|<$i5v75h)FT5s3%*4E!ev`3XLRvC?=&9O5ZR~{Dc@Xo)ab&y4LC9i7xGCmoe0{MD!5urgm^q=g69ZU~%imq0h0 zFZ2!4Ot9BIRaYKmR{oN3@*X{2^C5O$DP8HE&8W8hI-bfv}r zLm?dqClFOubrXh8^{FoLS^1eJ>rn&qMdJs|Uwo2!1ic#Vf?b-djrddQ~P z@y7aJ0~5V)`)m9EIjE6pUO5nCT29W(%d2Uh+WEa1@I+I(nS~L$K_g`J5D3ZoPeU1s z5cx_Y*XlJ=`63J7wzuLQTfTfbkIwQS&96GmQuqE`sGIVCGoVT#LQ@oQnVOTEHf`F% zHdQ=f(Z}d*jOItM8iUb8Z}}A?4*G$d%7-CwdC7^%U_{O~AjjFw?|;~{!}Bd4Aemyn zzb!scrN07Q`iG)_lb}jLQd`!VcPK4UMIq`6?FY>(F@k_}g5RW$5yke+hYkW}9Kd?XEQzUukRQ0^7NMWv|@x zwG+T&6#DSD0;1`&kBdyQ56LC)MX~>1olS!p$pSkJiQ^PTspwbpG9e!D!m!-zBA%$k kZ}gYfNaCF}xV$|1>H6z0+kD - - - - Tizen.WebView.Test.png - - - - http://tizen.org/privilege/mediastorage - http://tizen.org/privilege/externalstorage - http://tizen.org/privilege/network.get - http://tizen.org/privilege/internet - - -- 2.7.4