Exemplo n.º 1
0
 public void decidePolicyForNavigationAction(WebView WebView, CFDictionaryPropertyBag actionInformation, WebURLRequest request, webFrame frame, IWebPolicyDecisionListener listener)
 {
     if (AllowNavigation || AllowInitialNavigation)
         listener.use();
     else
         listener.ignore();
 }
Exemplo n.º 2
0
 public void decidePolicyForGeolocationRequest(WebView sender, webFrame frame, WebSecurityOrigin origin, IWebGeolocationPolicyListener listener)
 {
     if (GeolocationReq(sender, frame, origin) == true)
     {
         if (listener != null)
         {
             listener.allow();
         }
     }
     else
     {
         listener.deny();
     }
 }
Exemplo n.º 3
0
 public void decidePolicyForMIMEType(WebView WebView, string type, IWebURLRequest request, webFrame frame, IWebPolicyDecisionListener listener)
 {
     if (WebView.canShowMIMEType(type) == 0 && !request.url().StartsWith("file:") && !type.Contains("pdf"))
     {
         if (AllowDownloads)
             listener.download();
         else
             listener.ignore();
     }
     else
     {
         listener.use();
         Owner.tempmimetype = type;
     }
 }
Exemplo n.º 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();
     }
 }
 public void didClearWindowObject(WebView WebView, IntPtr context, IntPtr windowScriptObject, webFrame frame)
 {
     DidClearWindowObject(WebView, context, windowScriptObject, frame);
 }
Exemplo n.º 6
0
 public void unableToImplementPolicyWithError(WebView WebView, WebError error, webFrame frame)
 {
 }
Exemplo n.º 7
0
 bool uiDelegate_GeolocationReq(WebView sender, webFrame frame, IWebSecurityOrigin o)
 {
     GeolocationRequestEventArgs args = new GeolocationRequestEventArgs(Url.ToString(), true, o);
     GeolocationPositionRequest(this, args);
     return args.Allow;
 }
Exemplo n.º 8
0
 public IWebEmbeddedView embeddedViewWithArguments(WebView sender, webFrame frame, CFDictionaryPropertyBag arguments)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 9
0
 public void didCommitLoadForFrame(WebView WebView, webFrame frame)
 {
     DidCommitLoadForFrame(WebView, frame);
 }
Exemplo n.º 10
0
 public void printFrame(WebView WebView, webFrame frame)
 {
     owner.ShowPrintDialog();
 }
 public void didCommitLoadForFrame(WebView WebView, webFrame frame)
 {
     DidCommitLoadForFrame(WebView, frame);
 }
Exemplo n.º 12
0
 public void textFieldDidEndEditing(IDOMHTMLInputElement element, webFrame frame)
 {
     TextFieldEndEditing((HTMLElement)HTMLElement.Create(element));
 }
Exemplo n.º 13
0
 public void willSubmitForm(webFrame frame, webFrame sourceFrame, IDOMElement form, CFDictionaryPropertyBag values, IWebFormSubmissionListener listener)
 {
     SubmitForm((HTMLElement)HTMLElement.Create(form),listener);
 }
Exemplo n.º 14
0
 public void textDidChangeInTextField(IDOMHTMLInputElement element, webFrame frame)
 {
     TextChangedInField((HTMLElement)HTMLElement.Create(element));
 }
Exemplo n.º 15
0
 public int runBeforeUnloadConfirmPanelWithMessage(WebView sender, string message, webFrame initiatedByFrame)
 {
     return(RunJavaScriptPromptBeforeUnload(sender, message));
 }
Exemplo n.º 16
0
 public void exceededDatabaseQuota(WebView sender, webFrame frame, WebSecurityOrigin origin, string databaseIdentifier)
 {
 }
 public void didFirstVisuallyNonEmptyLayoutInFrame(WebView sender, webFrame frame)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 18
0
 public int runBeforeUnloadConfirmPanelWithMessage(WebView sender, string message, webFrame initiatedByFrame)
 {
     return RunJavaScriptPromptBeforeUnload(sender, message);
 }
 public void didCancelClientRedirectForFrame(WebView WebView, webFrame frame)
 {
     DidCancelClientRedirectForFrame(WebView, frame);
 }
Exemplo n.º 20
0
 public IWebEmbeddedView embeddedViewWithArguments(WebView sender, webFrame frame, CFDictionaryPropertyBag arguments)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 21
0
 public void didReceiveServerRedirectForProvisionalLoadForFrame(WebView WebView, webFrame frame)
 {
     DidRecieveServerRedirectForProvisionalLoadForFrame(WebView, frame);
 }
Exemplo n.º 22
0
 public void exceededDatabaseQuota(WebView sender, webFrame frame, WebSecurityOrigin origin, string databaseIdentifier)
 {
     
 }
Exemplo n.º 23
0
 public void didCancelClientRedirectForFrame(WebView WebView, webFrame frame)
 {
     DidCancelClientRedirectForFrame(WebView, frame);
 }
Exemplo n.º 24
0
 public void decidePolicyForGeolocationRequest(WebView sender, webFrame frame, WebSecurityOrigin origin, IWebGeolocationPolicyListener listener)
 {
     if (GeolocationReq(sender, frame, origin) == true)
     {
         if (listener != null)
         {
             listener.allow();
         }
     }
     else
         listener.deny();
 }
Exemplo n.º 25
0
 public void didFailProvisionalLoadWithError(WebView WebView, WebError error, webFrame frame)
 {
     DidFailProvisionalLoadWithError(WebView, error, frame);
 }
Exemplo n.º 26
0
 public int doPlatformCommand(IDOMHTMLInputElement element, string command, webFrame frame)
 {
     return(0);
 }
Exemplo n.º 27
0
 public void decidePolicyForNavigationAction(WebView WebView, CFDictionaryPropertyBag actionInformation, IWebURLRequest request, webFrame frame, IWebPolicyDecisionListener listener)
 {
     if (AllowNavigation || AllowInitialNavigation)
     {
         listener.use();
     }
     else
     {
         listener.ignore();
     }
 }
Exemplo n.º 28
0
 public int shouldHandleEvent(IDOMHTMLInputElement element, IntPtr @event, webFrame frame)
 {
     throw new NotImplementedException();
 }
 public int runBeforeUnloadConfirmPanelWithMessage(WebView sender, string message, webFrame initiatedByFrame)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 30
0
 public void textDidChangeInTextArea(IDOMHTMLTextAreaElement element, webFrame frame)
 {
     TextChangedInArea((HTMLElement)HTMLElement.Create(element));
 }
 public void willPerformClientRedirectToURL(WebView WebView, string url, double delaySeconds, DateTime fireDate, webFrame frame)
 {
     WillPerformClientRedirectToURL(WebView, url, delaySeconds, fireDate, frame);
 }
Exemplo n.º 32
0
 public void textDidChangeInTextField(IDOMHTMLInputElement element, webFrame frame)
 {
     TextChangedInField((HTMLElement)HTMLElement.Create(element));
 }
 public void didFinishDocumentLoadForFrame(WebView sender, webFrame frame)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 34
0
 public void textFieldDidEndEditing(IDOMHTMLInputElement element, webFrame frame)
 {
     TextFieldEndEditing((HTMLElement)HTMLElement.Create(element));
 }
 public void didHandleOnloadEventsForFrame(WebView sender, webFrame frame)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 36
0
 public void willSubmitForm(webFrame frame, webFrame sourceFrame, IDOMElement form, CFDictionaryPropertyBag values, IWebFormSubmissionListener listener)
 {
     SubmitForm((HTMLElement)HTMLElement.Create(form), listener);
 }
 public void didChangeLocationWithinPageForFrame(WebView WebView, webFrame frame)
 {
     DidChangeLocationWithinPageForFrame(WebView, frame);
 }
Exemplo n.º 38
0
 public void didStartProvisionalLoadForFrame(WebView WebView, webFrame frame)
 {
     DidStartProvisionalLoadForFrame(WebView, frame);
 }
Exemplo n.º 39
0
 public void didReceiveIcon(WebView WebView, int hBitmap, webFrame frame)
 {
     DidRecieveIcon(WebView, hBitmap, frame);
 }
Exemplo n.º 40
0
 public void willPerformClientRedirectToURL(WebView WebView, string url, double delaySeconds, DateTime fireDate, webFrame frame)
 {
     WillPerformClientRedirectToURL(WebView, url, delaySeconds, fireDate, frame);
 }
Exemplo n.º 41
0
 public void didReceiveTitle(WebView WebView, string title, webFrame frame)
 {
     DidRecieveTitle(WebView, title, frame);
 }
Exemplo n.º 42
0
 public int runDatabaseSizeLimitPrompt(WebView WebView, string displayName, webFrame initiatedByFrame)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 43
0
 public void willCloseFrame(WebView WebView, webFrame frame)
 {
     WillCloseFrame(WebView, frame);
 }
Exemplo n.º 44
0
 public void unableToImplementPolicyWithError(WebView WebView, WebError error, webFrame frame)
 {
 }
Exemplo n.º 45
0
 public void didClearWindowObject(WebView WebView, IntPtr context, IntPtr windowScriptObject, webFrame frame)
 {
     DidClearWindowObject(WebView, context, windowScriptObject, frame);
 }
 public void didFailLoadWithError(WebView WebView, WebError error, webFrame forFrame)
 {
     DidFailLoadWithError(WebView, error, forFrame);
 }
Exemplo n.º 47
0
 public void didChangeLocationWithinPageForFrame(WebView WebView, webFrame frame)
 {
     DidChangeLocationWithinPageForFrame(WebView, frame);
 }
 public void didFailProvisionalLoadWithError(WebView WebView, WebError error, webFrame frame)
 {
     DidFailProvisionalLoadWithError(WebView, error, frame);
 }
Exemplo n.º 49
0
 public void didFailLoadWithError(WebView WebView, WebError error, webFrame forFrame)
 {
     DidFailLoadWithError(WebView, error, forFrame);
 }
 public void didFinishLoadForFrame(WebView WebView, webFrame frame)
 {
     DidFinishLoadForFrame(WebView, frame);
 }
Exemplo n.º 51
0
 public void didFinishLoadForFrame(WebView WebView, webFrame frame)
 {
     DidFinishLoadForFrame(WebView, frame);
 }
 public void didReceiveIcon(WebView WebView, int hBitmap, webFrame frame)
 {
     DidRecieveIcon(WebView, hBitmap, frame);
 }
Exemplo n.º 53
0
 public void decidePolicyForMIMEType(WebView WebView, string type, IWebURLRequest 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 didReceiveServerRedirectForProvisionalLoadForFrame(WebView WebView, webFrame frame)
 {
     DidRecieveServerRedirectForProvisionalLoadForFrame(WebView, frame);
 }
Exemplo n.º 55
0
 private void frameLoadDelegate_DidClearWindowObject(WebView WebView, IntPtr context, IntPtr windowScriptObject, webFrame frame)
 {
     CreateWindowScriptObject(new JSContext(context));
 }
 public void didReceiveTitle(WebView WebView, string title, webFrame frame)
 {
     DidRecieveTitle(WebView, title, frame);
 }
 public void printFrame(WebView WebView, webFrame frame)
 {
 }
 public void didStartProvisionalLoadForFrame(WebView WebView, webFrame frame)
 {
     DidStartProvisionalLoadForFrame(WebView, frame);
 }
 public int runDatabaseSizeLimitPrompt(WebView WebView, string displayName, webFrame initiatedByFrame)
 {
     throw new NotImplementedException();
 }
 public void willCloseFrame(WebView WebView, webFrame frame)
 {
     WillCloseFrame(WebView, frame);
 }