public virtual void CreateBrowser(CefSharp.IWindowInfo windowInfo, CefSharp.IBrowserSettings browserSettings, CefSharp.IRequestContext requestContext, string address) { }
public bool OnBeforePopup(CefSharp.IWebBrowser chromiumWebBrowser, CefSharp.IBrowser browser, CefSharp.IFrame frame, string targetUrl, string targetFrameName, CefSharp.WindowOpenDisposition targetDisposition, bool userGesture, CefSharp.IPopupFeatures popupFeatures, CefSharp.IWindowInfo windowInfo, CefSharp.IBrowserSettings browserSettings, ref bool noJavascriptAccess, out CefSharp.IWebBrowser newBrowser) { newBrowser = null; if (BeforePopupEvent == null) { return(false); } NewWindowEventArgs e = new NewWindowEventArgs(chromiumWebBrowser, browser, frame, targetUrl, targetFrameName, targetDisposition, windowInfo); BeforePopupEvent(this, e); if (e.newBrowser == null) { return(false); } //newBrowser = e.newBrowser; return(true); }