From 3a1ff6090f4abc8599e028318f63f59d8645c58a Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Fri, 5 Nov 2010 20:28:11 -0700 Subject: Verified 3.2/4.1+ methods against 4.0: all were present. --- UICaboodle/BrowserView.mm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/UICaboodle/BrowserView.mm b/UICaboodle/BrowserView.mm index ad27ef4..4b8f14f 100644 --- a/UICaboodle/BrowserView.mm +++ b/UICaboodle/BrowserView.mm @@ -247,7 +247,7 @@ static void $UIWebViewWebViewDelegate$webView$decidePolicyForNewWindowAction$req [mediator decide]; } // }}} -// webView:didClearWindowObject:forFrame: (3.2, 4.1+) {{{ +// webView:didClearWindowObject:forFrame: (3.2+) {{{ static void $UIWebViewWebViewDelegate$webView$didClearWindowObject$forFrame$(UIWebViewWebViewDelegate *self, SEL sel, WebView *view, WebScriptObject *window, WebFrame *frame) { UIWebView *uiWebView(MSHookIvar(self, "uiWebView")); if ([uiWebView respondsToSelector:@selector(webView:didClearWindowObject:forFrame:)]) @@ -289,7 +289,7 @@ static void $UIWebViewWebViewDelegate$webView$didClearWindowObject$forFrame$(UIW [super webView:view didFinishLoadForFrame:frame]; } // }}} -// webView:didReceiveTitle:forFrame: (3.2, 4.1+) {{{ +// webView:didReceiveTitle:forFrame: (3.2+) {{{ static void $UIWebViewWebViewDelegate$webView$didReceiveTitle$forFrame$(UIWebViewWebViewDelegate *self, SEL sel, WebView *view, NSString *title, WebFrame *frame) { UIWebView *uiWebView(MSHookIvar(self, "uiWebView")); if ([uiWebView respondsToSelector:@selector(webView:didReceiveTitle:forFrame:)]) @@ -313,7 +313,7 @@ static void $UIWebViewWebViewDelegate$webView$didReceiveTitle$forFrame$(UIWebVie [super webView:view didStartProvisionalLoadForFrame:frame]; } // }}} -// webView:resource:willSendRequest:redirectResponse:fromDataSource: (3.2, 4.1+) {{{ +// webView:resource:willSendRequest:redirectResponse:fromDataSource: (3.2+) {{{ static NSURLRequest *$UIWebViewWebViewDelegate$webView$resource$willSendRequest$redirectResponse$fromDataSource$(UIWebViewWebViewDelegate *self, SEL sel, WebView *view, id identifier, NSURLRequest *request, NSURLResponse *response, WebDataSource *source) { UIWebView *uiWebView(MSHookIvar(self, "uiWebView")); if ([uiWebView respondsToSelector:@selector(webView:resource:willSendRequest:redirectResponse:fromDataSource:)]) @@ -360,7 +360,7 @@ static NSURLRequest *$UIWebViewWebViewDelegate$webView$resource$willSendRequest$ return nil; } // }}} -// webViewClose: (3.2, 4.1+) {{{ +// webViewClose: (3.2+) {{{ static void $UIWebViewWebViewDelegate$webViewClose$(UIWebViewWebViewDelegate *self, SEL sel, WebView *view) { UIWebView *uiWebView(MSHookIvar(self, "uiWebView")); if ([uiWebView respondsToSelector:@selector(webViewClose:)]) -- cgit v1.2.3