Click or drag to resize
CfxOnOpenUrlfromTabEventHandler Delegate

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

Called on the UI thread before OnBeforeBrowse in certain limited cases where navigating a new or different browser might be desirable. 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). The |Browser| and |Frame| values represent the source of the navigation. The |TargetDisposition| value indicates where the user intended to navigate the browser based on standard Chromium behaviors (e.g. current tab, new tab, etc). The |UserGesture| value will be true (1) if the browser navigated via explicit user gesture (e.g. clicking a link) or false (0) if it navigated automatically (e.g. via the DomContentLoaded event). Return true (1) to cancel the navigation or false (0) to allow the navigation to proceed in the source browser's top-level frame.

Namespace: Chromium.Event
Assembly: ChromiumFX (in ChromiumFX.dll)
public delegate void CfxOnOpenUrlfromTabEventHandler(
	Object sender,
	CfxOnOpenUrlfromTabEventArgs e


Type: SystemObject
Type: Chromium.EventCfxOnOpenUrlfromTabEventArgs
See also the original CEF documentation in cef/include/capi/cef_request_handler_capi.h.
See Also