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();
 }
示例#3
0
 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);
     }
 }
示例#4
0
 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();
     }
 }
示例#5
0
 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);
 }
示例#8
0
 public WebView createWebViewWithRequest(WebView sender, WebURLRequest request)
 {
     return(createWebViewWithRequest(sender, (IWebURLRequest)request));
 }
示例#9
0
 public void decidePolicyForNewWindowAction(WebView WebView, CFDictionaryPropertyBag actionInformation, WebURLRequest request, string frameName, IWebPolicyDecisionListener listener)
 {
     if (AllowNewWindows)
     {
         listener.use();
     }
     else
     {
         listener.ignore();
     }
 }
示例#10
0
 public void decidePolicyForNavigationAction(WebView WebView, CFDictionaryPropertyBag actionInformation, WebURLRequest request, webFrame frame, IWebPolicyDecisionListener listener)
 {
     if (AllowNavigation || AllowInitialNavigation)
     {
         listener.use();
     }
     else
     {
         listener.ignore();
     }
 }
示例#11
0
 public WebView createWebViewWithRequest(WebView sender, WebURLRequest request)
 {
     return createWebViewWithRequest(sender, (IWebURLRequest)request);
 }
示例#12
0
 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));
 }
示例#14
0
 public void decidePolicyForNewWindowAction(WebView webView, CFDictionaryPropertyBag actionInformation, WebURLRequest request, string frameName, IWebPolicyDecisionListener listener)
 {
     decidePolicyForNewWindowAction(webView, actionInformation, (IWebURLRequest)request, frameName, listener);
 }
示例#15
0
 public WebView createModalDialog(WebView sender, WebURLRequest request)
 {
     throw new NotImplementedException();
 }
示例#16
0
 public void decidePolicyForNavigationAction(WebView webView, CFDictionaryPropertyBag actionInformation, WebURLRequest request, IWebFrame frame, IWebPolicyDecisionListener listener)
 {
     decidePolicyForNavigationAction(webView, actionInformation, (IWebURLRequest)request, frame, listener);
 }
示例#17
0
 public void decidePolicyForMIMEType(WebView webView, string type, WebURLRequest request, IWebFrame frame, IWebPolicyDecisionListener listener)
 {
     decidePolicyForMIMEType(webView, type, (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();
 }
示例#20
0
 public void decidePolicyForNewWindowAction(WebView webView, CFDictionaryPropertyBag actionInformation, WebURLRequest request, string frameName, IWebPolicyDecisionListener listener)
 {
     decidePolicyForNewWindowAction(webView, actionInformation, (IWebURLRequest)request, frameName, listener);
 }
 public WebURLRequest willSendRequest(WebView WebView, uint identifier, WebURLRequest request, WebURLResponse redirectResponse, IWebDataSource dataSource)
 {
     throw new NotImplementedException();
 }
 public void identifierForInitialRequest(WebView webView, WebURLRequest request, IWebDataSource dataSource, uint identifier)
 {
     identifierForInitialRequest(webView, (IWebURLRequest)request, dataSource, identifier);
 }
示例#23
0
 public void decidePolicyForNavigationAction(WebView webView, CFDictionaryPropertyBag actionInformation, WebURLRequest request, IWebFrame frame, IWebPolicyDecisionListener listener)
 {
     decidePolicyForNavigationAction(webView, actionInformation, (IWebURLRequest)request, frame, listener);
 }
示例#24
0
 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;
     }
 }
示例#25
0
 public WebView createModalDialog(WebView sender, WebURLRequest request)
 {
     throw new NotImplementedException();
 }
示例#26
0
 public void identifierForInitialRequest(WebView WebView, WebURLRequest request, IWebDataSource dataSource, uint identifier)
 {
     throw new NotImplementedException();
 }
 public void identifierForInitialRequest(WebView WebView, WebURLRequest request, IWebDataSource dataSource, uint identifier)
 {
 }
示例#28
0
 public WebView createModalDialog(WebView sender, WebURLRequest request)
 {
     return(createModalDialog(sender, (IWebURLRequest)request));
 }
示例#29
0
 public WebURLRequest willSendRequest(WebView WebView, uint identifier, WebURLRequest request, WebURLResponse redirectResponse, IWebDataSource dataSource)
 {
     throw new NotImplementedException();
 }
示例#30
0
 public WebView createModalDialog(WebView sender, WebURLRequest request)
 {
     return createModalDialog(sender, (IWebURLRequest)request);
 }