This patch is to raname some properties to follow naming rule.
[EditorBrowsable(EditorBrowsableState.Never)]
public class WebContext : Disposable
{
[EditorBrowsable(EditorBrowsableState.Never)]
public class WebContext : Disposable
{
- private string proxyUri;
+ private string proxyUrl;
private string appId;
private string appVersion;
private float timeOffset;
private string appId;
private string appVersion;
private float timeOffset;
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- return new Uri(proxyUri);
}
set
{
if (value != null)
{
}
set
{
if (value != null)
{
- Interop.WebContext.SetProxyUri(SwigCPtr, proxyUri);
+ Interop.WebContext.SetProxyUri(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- proxyUri = value.AbsoluteUri;
- /// Set the Certificate File Path.
+ /// Certificate file path.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public string CertificateFilePath
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public string CertificateFilePath
- /// Disable cache or not.
+ /// Enables cache or not.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public bool CacheEnabled
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public bool CacheEnabled
- /// Set context app id.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public string AppId
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public string AppId
- /// Set context app version.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public string AppVersion
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public string AppVersion
- /// Set context app type.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public ApplicationType AppType
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public ApplicationType AppType
- /// Set context time offset.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public float TimeOffset
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public float TimeOffset
+ /// Gets context proxy.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public string ContextProxy
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public string ContextProxy
- /// get proxy bypass rule.
+ /// Gets proxy bypass rule.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public string ProxyBypassRule
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public string ProxyBypassRule
- /// Set Default Proxy Auth.
+ /// Sets default proxy auth.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public void SetDefaultProxyAuth(string username, string password)
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public void SetDefaultProxyAuth(string username, string password)
- /// Delete all web database.
+ /// Deletes all web database.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public void DeleteAllWebDatabase()
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public void DeleteAllWebDatabase()
- /// Delete all web storage.
+ /// Deletes all web storage.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public void DeleteAllWebStorage()
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public void DeleteAllWebStorage()
- /// Delete local fileSystem.
+ /// Deletes local fileSystem.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public void DeleteLocalFileSystem()
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public void DeleteLocalFileSystem()
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public void ClearCache()
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public void ClearCache()
- /// Set context time zone offset.
+ /// Sets context time zone offset.
/// <param name="offset">Time offset</param>
/// <param name="time">Daylight saving time</param>
/// </summary>
/// <param name="offset">Time offset</param>
/// <param name="time">Daylight saving time</param>
/// </summary>
- /// Register url schemes enabled.
+ /// Registers url schemes enabled.
/// <param name="strArray">The string array of schemes</param>
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
/// <param name="strArray">The string array of schemes</param>
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- /// Register js plugin mime types.
+ /// Registers js plugin mime types.
/// <param name="strArray">The string array of types</param>
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
/// <param name="strArray">The string array of types</param>
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- /// Delete all application cache.
+ /// Deletes all application cache.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public bool DeleteAllApplicationCache()
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public bool DeleteAllApplicationCache()
- /// Delete all web indexed database.
+ /// Deletes all web indexed database.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public bool DeleteAllWebIndexedDatabase()
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public bool DeleteAllWebIndexedDatabase()
- /// Delete password dataList.
+ /// Deletes password dataList.
/// <param name="strArray">The string array of dataList</param>
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
/// <param name="strArray">The string array of dataList</param>
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- /// Delete all password data.
+ /// Deletes all password data.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public void DeleteAllFormPasswordData()
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public void DeleteAllFormPasswordData()
- /// Delete all candidate data.
+ /// Deletes all candidate data.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public void DeleteAllFormCandidateData()
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public void DeleteAllFormCandidateData()
+ /// Sets context proxy.
/// <param name="proxy">The string array of dataList</param>
/// <param name="rule">Bypass rule</param>
/// </summary>
/// <param name="proxy">The string array of dataList</param>
/// <param name="rule">Bypass rule</param>
/// </summary>
- /// Free unused memory.
+ /// Frees unused memory.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public bool FreeUnusedMemory()
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public bool FreeUnusedMemory()
- /// Cookie Accept Policy
+ /// Enumeration for cookie accept policy
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public enum CookieAcceptPolicyType
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public enum CookieAcceptPolicyType
- /// Cookie persistent storage type.
+ /// Enumeration for cookie persistent storage type.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public enum CookiePersistentStorageType
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public enum CookiePersistentStorageType
+ /// Sets the proxy uri.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public void SetPersistentStorage(string path, CookiePersistentStorageType storageType)
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public void SetPersistentStorage(string path, CookiePersistentStorageType storageType)
- /// Set Default Proxy Auth.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public void ClearCookies()
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public void ClearCookies()
[EditorBrowsable(EditorBrowsableState.Never)]
public class WebSettings : Disposable
{
[EditorBrowsable(EditorBrowsableState.Never)]
public class WebSettings : Disposable
{
- private bool allowMixedContents;
- private bool enableSpatialNavigation;
- private bool enableWebSecurity;
- private bool enableCacheBuilder;
- private bool enableDoNotTrack;
- private bool allowFileAccessFromExternalUrl;
- private bool allowScriptsOpenWindows;
- private bool useScrollbarThumbFocusNotifications;
+ private bool mixedContentsAllowed;
+ private bool spatialNavigationEnabled;
+ private bool webSecurityEnabled;
+ private bool cacheBuilderEnabled;
+ private bool doNotTrackEnabled;
+ private bool fileAccessFromExternalUrlAllowed;
+ private bool scriptsOpenWindowsAllowed;
+ private bool scrollbarThumbFocusNotificationsUsed;
private bool viewportMetaTag;
internal WebSettings(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn)
private bool viewportMetaTag;
internal WebSettings(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn)
- /// Allow Mixed Contents
+ /// Allows mixed contents or not.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- public bool AllowMixedContents
+ public bool MixedContentsAllowed
- return allowMixedContents;
+ return mixedContentsAllowed;
}
set
{
Interop.WebSettings.AllowMixedContents(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
set
{
Interop.WebSettings.AllowMixedContents(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- allowMixedContents = value;
+ mixedContentsAllowed = value;
- /// Enable Spatial Navigation.
+ /// Enables spatial navigation or not.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- public bool EnableSpatialNavigation
+ public bool SpatialNavigationEnabled
- return enableSpatialNavigation;
+ return spatialNavigationEnabled;
}
set
{
Interop.WebSettings.EnableSpatialNavigation(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
set
{
Interop.WebSettings.EnableSpatialNavigation(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- enableSpatialNavigation = value;
+ spatialNavigationEnabled = value;
- /// Enable web security.
+ /// Enables web security or not.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- public bool EnableWebSecurity
+ public bool WebSecurityEnabled
- return enableWebSecurity;
+ return webSecurityEnabled;
}
set
{
Interop.WebSettings.EnableWebSecurity(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
set
{
Interop.WebSettings.EnableWebSecurity(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- enableWebSecurity = value;
+ webSecurityEnabled = value;
- return enableCacheBuilder;
+ return cacheBuilderEnabled;
}
set
{
Interop.WebSettings.EnableCacheBuilder(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
set
{
Interop.WebSettings.EnableCacheBuilder(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- enableCacheBuilder = value;
+ cacheBuilderEnabled = value;
- return enableDoNotTrack;
+ return doNotTrackEnabled;
}
set
{
Interop.WebSettings.EnableDoNotTrack(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
set
{
Interop.WebSettings.EnableDoNotTrack(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- enableDoNotTrack = value;
+ doNotTrackEnabled = value;
- return useScrollbarThumbFocusNotifications;
+ return scrollbarThumbFocusNotificationsUsed;
}
set
{
Interop.WebSettings.UseScrollbarThumbFocusNotifications(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
set
{
Interop.WebSettings.UseScrollbarThumbFocusNotifications(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- useScrollbarThumbFocusNotifications = value;
+ scrollbarThumbFocusNotificationsUsed = value;
- /// Allow File Access From External Url.
+ /// Allows file access from external url or not.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- public bool AllowFileAccessFromExternalUrl
+ public bool FileAccessFromExternalUrlAllowed
- return allowFileAccessFromExternalUrl;
+ return fileAccessFromExternalUrlAllowed;
}
set
{
Interop.WebSettings.AllowFileAccessFromExternalUrl(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
set
{
Interop.WebSettings.AllowFileAccessFromExternalUrl(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- allowFileAccessFromExternalUrl = value;
+ fileAccessFromExternalUrlAllowed = value;
+ /// Enables JavaScript or not.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- public bool EnableJavaScript
+ public bool JavaScriptEnabled
- /// Allow Scripts Open Windows.
+ /// Allows scripts open windows or not.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- public bool AllowScriptsOpenWindows
+ public bool ScriptsOpenWindowsAllowed
- return allowScriptsOpenWindows;
+ return scriptsOpenWindowsAllowed;
}
set
{
Interop.WebSettings.AllowScriptsOpenWindows(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
set
{
Interop.WebSettings.AllowScriptsOpenWindows(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- allowScriptsOpenWindows = value;
+ scriptsOpenWindowsAllowed = value;
- /// Allow Images Load Automatically.
+ /// Allow images load automatically or not.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- public bool AllowImagesLoadAutomatically
+ public bool AutomaticImageLoadingAllowed
- /// Default Text Encoding Name.
+ /// Default text encoding name.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public string DefaultTextEncodingName
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public string DefaultTextEncodingName
contextMenuItemSelectedSignal = new WebViewContextMenuItemSelectedSignal(Interop.WebView.NewWebViewContextMenuItemSelectedSignalContextMenuItemSelected(SwigCPtr));
screenshotAcquiredProxyCallback = OnScreenshotAcquired;
contextMenuItemSelectedSignal = new WebViewContextMenuItemSelectedSignal(Interop.WebView.NewWebViewContextMenuItemSelectedSignalContextMenuItemSelected(SwigCPtr));
screenshotAcquiredProxyCallback = OnScreenshotAcquired;
- hitTestFinishedProxyCallback = OnHitTestCreated;
+ hitTestFinishedProxyCallback = OnHitTestFinished;
BackForwardList = new WebBackForwardList(Interop.WebView.GetWebBackForwardList(SwigCPtr), false);
Context = new WebContext(Interop.WebView.GetWebContext(SwigCPtr), false);
BackForwardList = new WebBackForwardList(Interop.WebView.GetWebBackForwardList(SwigCPtr), false);
Context = new WebContext(Interop.WebView.GetWebContext(SwigCPtr), false);
public delegate void GeolocationPermissionCallback(string host, string protocol);
/// <summary>
public delegate void GeolocationPermissionCallback(string host, string protocol);
/// <summary>
- /// The callback function that is invoked when hit test is created.
+ /// The callback function that is invoked when hit test is finished.
/// </summary>
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
[EditorBrowsable(EditorBrowsableState.Never)]
/// </summary>
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
[EditorBrowsable(EditorBrowsableState.Never)]
- return Settings.EnableJavaScript;
+ return Settings.JavaScriptEnabled;
- Settings.EnableJavaScript = value;
+ Settings.JavaScriptEnabled = value;
- return Settings.AllowImagesLoadAutomatically;
+ return Settings.AutomaticImageLoadingAllowed;
- Settings.AllowImagesLoadAutomatically = value;
+ Settings.AutomaticImageLoadingAllowed = value;
contextMenuItemSelectedEventHandler?.Invoke(this, new WebViewContextMenuItemSelectedEventArgs(new WebContextMenuItem(item, false)));
}
contextMenuItemSelectedEventHandler?.Invoke(this, new WebViewContextMenuItemSelectedEventArgs(new WebContextMenuItem(item, false)));
}
- private void OnHitTestCreated(IntPtr test)
+ private void OnHitTestFinished(IntPtr test)
{
WebHitTestResult hitTest = new WebHitTestResult(test, true);
hitTestFinishedCallback?.Invoke(hitTest);
{
WebHitTestResult hitTest = new WebHitTestResult(test, true);
hitTestFinishedCallback?.Invoke(hitTest);
{
internal WebViewUrlChangedEventArgs(string url)
{
{
internal WebViewUrlChangedEventArgs(string url)
{
- NewPageUri = new Uri(url);
- /// The uri of new web page.
+ /// The url of new web page.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- public Uri NewPageUri { get; }
+ public string NewPageUrl { get; }