Click or drag to resize
CfxOnBeforeBrowseEventHandler Delegate

[This is preliminary documentation and is subject to change.]

Called on the UI thread before browser navigation. Return true (1) to cancel the navigation or false (0) to allow the navigation to proceed. The |Request| object cannot be modified in this callback. CfxLoadHandler.OnLoadingStateChange will be called twice in all cases. If the navigation is allowed CfxLoadHandler.OnLoadStart and CfxLoadHandler.OnLoadEnd will be called. If the navigation is canceled CfxLoadHandler.OnLoadError will be called with an |ErrorCode| value of ERR_ABORTED.

Namespace: Chromium.Event
Assembly: ChromiumFX (in ChromiumFX.dll)
Syntax
public delegate void CfxOnBeforeBrowseEventHandler(
	Object sender,
	CfxOnBeforeBrowseEventArgs e
)

Parameters

sender
Type: SystemObject
e
Type: Chromium.EventCfxOnBeforeBrowseEventArgs
Remarks
See also the original CEF documentation in cef/include/capi/cef_request_handler_capi.h.
See Also