WebKit.WebUIDelegate.createWebViewWithRequest C# (CSharp) Method

createWebViewWithRequest() public method

public createWebViewWithRequest ( WebView sender, IWebURLRequest request ) : WebView
sender WebView
request IWebURLRequest
return WebView
        public WebView createWebViewWithRequest(WebView sender, IWebURLRequest request)
        {
            // this should be caught in the WebPolicyDelegate, but isn't in the Cairo build
            if (owner.AllowNewWindows)
            {
                WebView view;
                CreateWebViewWithRequest(request, out view);
                return view;
            }
            else
            {
                return null;
            }
        }