Top Method Summary
Options Name Purpose
+ BeforeBrowse (Control, ChromiumWebBrowser, OnBeforeBrowseEventArgs) Called before browser navigation
+ CertificateError (Control, ChromiumWebBrowser, OnCertificateErrorEventArgs) Called to handle requests for URLs with an invalid SSL certificate
+ GetAuthCredentials (Control, ChromiumWebBrowser, GetAuthCredentialsEventArgs) Called when the browser needs credentials from the user
+ OpenUrlFromTab (Control, ChromiumWebBrowser, OnOpenUrlFromTabEventArgs) Called on the UI thread before OnBeforeBrowse in certain limited cases where navigating a new or different browser might be desirable
+ RenderProcessTerminated (Control, ChromiumWebBrowser, OnRenderProcessTerminatedEventArgs) Called when the render process terminates unexpectedly

Top Constructor Summary
Options Name Purpose
+ CefBasicAuthHandler () Default constructor for CefBasicAuthHandler


Method Detail
Top

PUBLIC BeforeBrowse (Control, ChromiumWebBrowser, OnBeforeBrowseEventArgs)

Purpose: Called before browser navigation
Notes: If the navigation is allowed FrameLoadStart and FrameLoadEnd will be called.
If the navigation is canceled LoadError will be called with an ErrorCode value of Aborted.

Parameters:
poBrowserParent System.Windows.Forms.Control
The reference to the Control/Form that holds the CefBrowser control
poCefBrowser CefSharp.WinForms.ChromiumWebBrowser
The reference to the CefBrowser Control
poArgs Consultingwerk.CefSharpSupport.RequestHandlerSupport.OnBeforeBrowseEventArgs
The reference to the OnBeforeBrowseEventArgs with the data for this callback
Top

PUBLIC CertificateError (Control, ChromiumWebBrowser, OnCertificateErrorEventArgs)

Purpose: Called to handle requests for URLs with an invalid SSL certificate
Notes: Return true and call Continue(Boolean) either in this method or at a later time to continue
or cancel the request. If CefSettings.IgnoreCertificateErrors is set all invalid certificates
will be accepted without calling this method.

Parameters:
poBrowserParent System.Windows.Forms.Control
The reference to the Control/Form that holds the CefBrowser control
poCefBrowser CefSharp.WinForms.ChromiumWebBrowser
The reference to the CefBrowser Control
poArgs Consultingwerk.CefSharpSupport.RequestHandlerSupport.OnCertificateErrorEventArgs
The reference to the OnCertificateErrorEventArgs with the data for this callback
Top

PUBLIC GetAuthCredentials (Control, ChromiumWebBrowser, GetAuthCredentialsEventArgs)

Purpose: Called when the browser needs credentials from the user
Notes:

Parameters:
poBrowserParent System.Windows.Forms.Control
The reference to the Control/Form that holds the CefBrowser control
poCefBrowser CefSharp.WinForms.ChromiumWebBrowser
The reference to the CefBrowser Control
poArgs Consultingwerk.CefSharpSupport.RequestHandlerSupport.GetAuthCredentialsEventArgs
The reference to the GetAuthCredentialsEventArgs with the data for this callback
Top

PUBLIC OpenUrlFromTab (Control, ChromiumWebBrowser, OnOpenUrlFromTabEventArgs)

Purpose: Called on the UI thread before OnBeforeBrowse in certain limited cases where navigating a
new or different browser might be desirable
Notes: This includes user-initiated navigation that might open in a special way (e.g. links clicked
via middle-click or ctrl + left-click) and certain types of cross-origin navigation initiated
from the renderer process (e.g. navigating the top- level frame to/from a file URL).

Parameters:
poBrowserParent System.Windows.Forms.Control
The reference to the Control/Form that holds the CefBrowser control
poCefBrowser CefSharp.WinForms.ChromiumWebBrowser
The reference to the CefBrowser Control
poArgs Consultingwerk.CefSharpSupport.RequestHandlerSupport.OnOpenUrlFromTabEventArgs
The reference to the OnOpenUrlFromTabEventArgs with the data for this callback
Top

PUBLIC RenderProcessTerminated (Control, ChromiumWebBrowser, OnRenderProcessTerminatedEventArgs)

Purpose: Called when the render process terminates unexpectedly
Notes:

Parameters:
poBrowserParent System.Windows.Forms.Control
The reference to the Control/Form that holds the CefBrowser control
poCefBrowser CefSharp.WinForms.ChromiumWebBrowser
The reference to the CefBrowser Control
poArgs Consultingwerk.CefSharpSupport.RequestHandlerSupport.OnRenderProcessTerminatedEventArgs
The reference to the OnRenderProcessTerminatedEventArgs with the data for this callback


Constructor Detail
Top

PUBLIC CefBasicAuthHandler ()

Purpose: Default constructor for CefBasicAuthHandler
Notes:



©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 13:25:10