DotNetBrowser  1.14
Public Member Functions | List of all members
DotNetBrowser.DefaultLoadHandler Class Reference

Default implementation of the LoadHandler. More...

Inherits DotNetBrowser.LoadHandler.

Public Member Functions

virtual bool OnLoad (LoadParams loadParams)
 Invoked before native engine starts loading the URL defined in the DotNetBrowser.LoadParams.Url property. More...
 
virtual bool CanNavigateOnBackspace ()
 Invoked when user press Backspace/Shift+Backspace keys to navigate backward/forward. Return true to allow backward/forward navigation. To suppress Backspace/Shift+Backspace keystrokes return false. Navigation on Backspace/Shift+Backspace is supported on Windows platform only. More...
 
virtual bool OnCertificateError (CertificateErrorParams errorParams)
 Informs that a SSL certificate error has occurred. The passed errorParams object contains information about problematic SSL certificate. You can accept this SSL certificate and continue loading the resource. The SSL certificate will not be added to the list of trusted certificates. More...
 

Detailed Description

Default implementation of the LoadHandler.

Member Function Documentation

virtual bool DotNetBrowser.DefaultLoadHandler.CanNavigateOnBackspace ( )
virtual

Invoked when user press Backspace/Shift+Backspace keys to navigate backward/forward. Return true to allow backward/forward navigation. To suppress Backspace/Shift+Backspace keystrokes return false. Navigation on Backspace/Shift+Backspace is supported on Windows platform only.

If this method throws exception, the Backspace/Shift+Backspace will work as expected.

Returns
true.

Implements DotNetBrowser.LoadHandler.

virtual bool DotNetBrowser.DefaultLoadHandler.OnCertificateError ( CertificateErrorParams  errorParams)
virtual

Informs that a SSL certificate error has occurred. The passed errorParams object contains information about problematic SSL certificate. You can accept this SSL certificate and continue loading the resource. The SSL certificate will not be added to the list of trusted certificates.

If this method throws exception, the SSL certificate error will be ignored and the required resource will be loaded.

Parameters
errorParamsprovides information about problematic SSL certificate.
Returns
false.

Implements DotNetBrowser.LoadHandler.

virtual bool DotNetBrowser.DefaultLoadHandler.OnLoad ( LoadParams  loadParams)
virtual

Invoked before native engine starts loading the URL defined in the DotNetBrowser.LoadParams.Url property.

Parameters
loadParamsinformation about load event.
Returns
false.

Implements DotNetBrowser.LoadHandler.