ICoreWebView2NewWindowRequestedEventArgs3

Undocumented in source.
version(Windows && inline_webview2_bindings && all)
interface ICoreWebView2NewWindowRequestedEventArgs3 : ICoreWebView2NewWindowRequestedEventArgs2 {
static const
GUID iid;
}

Members

Functions

get_OriginalSourceFrameInfo
HRESULT get_OriginalSourceFrameInfo(ICoreWebView2FrameInfo* frameInfo)

The frame info of the frame where the new window request originated. The OriginalSourceFrameInfo is a snapshot of frame information at the time when the new window was requested. See ICoreWebView2FrameInfo for details on frame properties.

Inherited Members

From ICoreWebView2NewWindowRequestedEventArgs2

get_Name
HRESULT get_Name(LPWSTR* value)

Gets the name of the new window. This window can be created via window.open(url, windowName), where the windowName parameter corresponds to Name property. If no windowName is passed to window.open, then the Name property will be set to an empty string. Additionally, if window is opened through other means, such as <a target="windowName">...</a> or <iframe name="windowName">...</iframe>, then the Name property will be set accordingly. In the case of target=_blank, the Name property will be an empty string. Opening a window via ctrl+clicking a link would result in the Name property being set to an empty string.

Meta