public void decidePolicyForNavigationAction(WebView WebView, CFDictionaryPropertyBag actionInformation, WebURLRequest request, webFrame frame, IWebPolicyDecisionListener listener) { if (AllowNavigation || AllowInitialNavigation) listener.use(); else listener.ignore(); }
public void decidePolicyForNewWindowAction(WebView WebView, CFDictionaryPropertyBag actionInformation, WebURLRequest request, string frameName, IWebPolicyDecisionListener listener) { if (AllowNewWindows) listener.use(); else listener.ignore(); }
public WebView createWebViewWithRequest(WebView sender, WebURLRequest 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); } }
public void decidePolicyForMIMEType(WebView WebView, string type, WebURLRequest request, webFrame frame, IWebPolicyDecisionListener listener) { // todo: add support for showing custom MIME type documents // and for changing which MIME types are handled here if (WebView.canShowMIMEType(type) == 0) { if (AllowDownloads) listener.download(); else listener.ignore(); } else { listener.use(); } }
public void decidePolicyForMIMEType(WebView WebView, string type, WebURLRequest request, webFrame frame, IWebPolicyDecisionListener listener) { // todo: add support for showing custom MIME type documents // and for changing which MIME types are handled here if (WebView.canShowMIMEType(type) == 0) { if (AllowDownloads) { listener.download(); } else { listener.ignore(); } } else { listener.use(); } }
public void identifierForInitialRequest(WebView webView, WebURLRequest request, IWebDataSource dataSource, uint identifier) { identifierForInitialRequest(webView, (IWebURLRequest)request, dataSource, identifier); }
public WebURLRequest willSendRequest(WebView webView, uint identifier, WebURLRequest request, WebURLResponse redirectResponse, IWebDataSource dataSource) { return (WebURLRequest)willSendRequest(webView, identifier, (IWebURLRequest)request, redirectResponse, dataSource); }
public WebView createWebViewWithRequest(WebView sender, WebURLRequest request) { return(createWebViewWithRequest(sender, (IWebURLRequest)request)); }
public void decidePolicyForNewWindowAction(WebView WebView, CFDictionaryPropertyBag actionInformation, WebURLRequest request, string frameName, IWebPolicyDecisionListener listener) { if (AllowNewWindows) { listener.use(); } else { listener.ignore(); } }
public void decidePolicyForNavigationAction(WebView WebView, CFDictionaryPropertyBag actionInformation, WebURLRequest request, webFrame frame, IWebPolicyDecisionListener listener) { if (AllowNavigation || AllowInitialNavigation) { listener.use(); } else { listener.ignore(); } }
public WebView createWebViewWithRequest(WebView sender, WebURLRequest request) { return createWebViewWithRequest(sender, (IWebURLRequest)request); }
public void decidePolicyForMIMEType(WebView webView, string type, WebURLRequest request, IWebFrame frame, IWebPolicyDecisionListener listener) { decidePolicyForMIMEType(webView, type, (IWebURLRequest)request, frame, listener); }
public WebURLRequest willSendRequest(WebView webView, uint identifier, WebURLRequest request, WebURLResponse redirectResponse, IWebDataSource dataSource) { return((WebURLRequest)willSendRequest(webView, identifier, (IWebURLRequest)request, redirectResponse, dataSource)); }
public void decidePolicyForNewWindowAction(WebView webView, CFDictionaryPropertyBag actionInformation, WebURLRequest request, string frameName, IWebPolicyDecisionListener listener) { decidePolicyForNewWindowAction(webView, actionInformation, (IWebURLRequest)request, frameName, listener); }
public WebView createModalDialog(WebView sender, WebURLRequest request) { throw new NotImplementedException(); }
public void decidePolicyForNavigationAction(WebView webView, CFDictionaryPropertyBag actionInformation, WebURLRequest request, IWebFrame frame, IWebPolicyDecisionListener listener) { decidePolicyForNavigationAction(webView, actionInformation, (IWebURLRequest)request, frame, listener); }
public void identifierForInitialRequest(WebView WebView, WebURLRequest request, IWebDataSource dataSource, uint identifier) { }
public void identifierForInitialRequest(WebView WebView, WebURLRequest request, IWebDataSource dataSource, uint identifier) { throw new NotImplementedException(); }
public WebURLRequest willSendRequest(WebView WebView, uint identifier, WebURLRequest request, WebURLResponse redirectResponse, IWebDataSource dataSource) { throw new NotImplementedException(); }
public WebView createWebViewWithRequest(WebView sender, WebURLRequest 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; } }
public WebView createModalDialog(WebView sender, WebURLRequest request) { return(createModalDialog(sender, (IWebURLRequest)request)); }
public WebView createModalDialog(WebView sender, WebURLRequest request) { return createModalDialog(sender, (IWebURLRequest)request); }