summaryrefslogtreecommitdiff
path: root/CyteKit/WebView.h
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2014-05-20 00:59:32 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2014-05-20 00:59:32 -0700
commit754456f50dfc16895f42e9e6db4c22297e8ada2e (patch)
tree3fb8d0bbd123b7fdfbe41ac390439b98c5a2e5a7 /CyteKit/WebView.h
parent946c4377084df6bc7eef81ab02ec31ce09f09a43 (diff)
Recover BrowserView authentication challenge logic.
Diffstat (limited to 'CyteKit/WebView.h')
-rw-r--r--CyteKit/WebView.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/CyteKit/WebView.h b/CyteKit/WebView.h
index b5fa65c..a45fde3 100644
--- a/CyteKit/WebView.h
+++ b/CyteKit/WebView.h
@@ -52,6 +52,8 @@ enum CYWebPolicyDecision {
- (void) webView:(WebView *)view didFinishLoadForFrame:(WebFrame *)frame;
- (void) webView:(WebView *)view didReceiveTitle:(NSString *)title forFrame:(WebFrame *)frame;
- (void) webView:(WebView *)view didStartProvisionalLoadForFrame:(WebFrame *)frame;
+- (void) webView:(WebView *)view resource:(id)identifier didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge fromDataSource:(WebDataSource *)source;
+- (void) webView:(WebView *)view resource:(id)identifier didCancelAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge fromDataSource:(WebDataSource *)source;
- (NSURLRequest *) webView:(WebView *)view resource:(id)resource willSendRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse *)response fromDataSource:(WebDataSource *)source;
- (void) webViewClose:(WebView *)view;
- (bool) webView:(WebView *)view shouldRunJavaScriptAlertPanelWithMessage:(NSString *)message initiatedByFrame:(WebFrame *)frame;