[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebSettings_SetDefaultTextEncodingName")]
public static extern void SetDefaultTextEncodingName(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebSettings_SetViewportMetaTag")]
+ public static extern bool SetViewportMetaTag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2);
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebSettings_SetForceZoom")]
+ public static extern bool SetForceZoom(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2);
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebSettings_IsZoomForced")]
+ public static extern bool IsZoomForced(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebSettings_SetTextZoomEnabled")]
+ public static extern bool SetTextZoomEnabled(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2);
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebSettings_IsTextZoomEnabled")]
+ public static extern bool IsTextZoomEnabled(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebSettings_SetExtraFeature")]
+ public static extern void SetExtraFeature(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, bool jarg3);
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WebSettings_IsExtraFeatureEnabled")]
+ public static extern bool IsExtraFeatureEnabled(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);
}
}
}
private bool allowFileAccessFromExternalUrl;
private bool allowScriptsOpenWindows;
private bool useScrollbarThumbFocusNotifications;
+ private bool viewportMetaTag;
internal WebSettings(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn)
{
}
set
{
- allowMixedContents = value;
Interop.WebSettings.AllowMixedContents(SwigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ allowMixedContents = value;
}
}
}
set
{
- enableSpatialNavigation = value;
Interop.WebSettings.EnableSpatialNavigation(SwigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ enableSpatialNavigation = value;
}
}
set
{
Interop.WebSettings.SetDefaultFontSize(SwigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
}
}
set
{
- enableWebSecurity = value;
Interop.WebSettings.EnableWebSecurity(SwigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ enableWebSecurity = value;
}
}
}
set
{
- enableCacheBuilder = value;
Interop.WebSettings.EnableCacheBuilder(SwigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ enableCacheBuilder = value;
}
}
}
set
{
- enableDoNotTrack = value;
Interop.WebSettings.EnableDoNotTrack(SwigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ enableDoNotTrack = value;
}
}
}
set
{
- useScrollbarThumbFocusNotifications = value;
Interop.WebSettings.UseScrollbarThumbFocusNotifications(SwigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ useScrollbarThumbFocusNotifications = value;
}
}
}
set
{
- allowFileAccessFromExternalUrl = value;
Interop.WebSettings.AllowFileAccessFromExternalUrl(SwigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ allowFileAccessFromExternalUrl = value;
}
}
set
{
Interop.WebSettings.EnableJavaScript(SwigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
}
set
{
Interop.WebSettings.EnableAutoFitting(SwigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
}
set
{
Interop.WebSettings.EnablePlugins(SwigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
}
set
{
Interop.WebSettings.EnablePrivateBrowsing(SwigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
}
set
{
Interop.WebSettings.EnableLinkMagnifier(SwigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
}
set
{
Interop.WebSettings.UseKeypadWithoutUserAction(SwigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
}
set
{
Interop.WebSettings.EnableAutofillPasswordForm(SwigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
}
set
{
Interop.WebSettings.EnableFormCandidateData(SwigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
}
set
{
Interop.WebSettings.EnableTextSelection(SwigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
}
set
{
Interop.WebSettings.EnableTextAutosizing(SwigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
}
set
{
Interop.WebSettings.EnableArrowScroll(SwigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
}
set
{
Interop.WebSettings.EnableClipboard(SwigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
}
set
{
Interop.WebSettings.EnableImePanel(SwigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
}
}
set
{
- allowScriptsOpenWindows = value;
Interop.WebSettings.AllowScriptsOpenWindows(SwigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ allowScriptsOpenWindows = value;
}
}
set
{
Interop.WebSettings.AllowImagesLoadAutomatically(SwigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
}
set
{
Interop.WebSettings.SetDefaultTextEncodingName(SwigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+ }
+
+ /// <summary>
+ /// Viewport meta tag.
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool ViewportMetaTag
+ {
+ get
+ {
+ return viewportMetaTag;
+ }
+ set
+ {
+ Interop.WebSettings.SetViewportMetaTag(SwigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ viewportMetaTag = value;
+ }
+ }
+
+ /// <summary>
+ /// Force zoom
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool ZoomForced
+ {
+ get
+ {
+ return Interop.WebSettings.IsZoomForced(SwigCPtr);
+ }
+ set
+ {
+ Interop.WebSettings.SetForceZoom(SwigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+ }
+
+ /// <summary>
+ /// Enable text zoom
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool TextZoomEnabled
+ {
+ get
+ {
+ return Interop.WebSettings.IsTextZoomEnabled(SwigCPtr);
+ }
+ set
+ {
+ Interop.WebSettings.SetTextZoomEnabled(SwigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
}
+
+ /// <summary>
+ /// Enable extra feature
+ /// </summary>
+ /// <param name="str">The string of extra feature.</param>
+ /// <param name="tag">Enable or disable.</param>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public void EnableExtraFeature(string str, bool tag)
+ {
+ Interop.WebSettings.SetExtraFeature(SwigCPtr, str, tag);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ /// <summary>
+ /// Enable extra feature
+ /// </summary>
+ /// <param name="str">The string of extra feature.</param>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool IsExtraFeatureEnabled(string str)
+ {
+ bool ret = Interop.WebSettings.IsExtraFeatureEnabled(SwigCPtr, str);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
}
}