diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-06-08 22:42:18 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-06-08 22:42:18 -0700 |
commit | 4cc9e99a32a73858f3b9739c0cf8ec82bb35e93e (patch) | |
tree | 31fbd2791655a0e23e3bd0a173744d92602dd0f1 /CyteKit/WebView.h | |
parent | 058813ae78aec1b25c7c44b2a6188b7ae2264107 (diff) |
Make compilations with clang succeed.
Diffstat (limited to 'CyteKit/WebView.h')
-rw-r--r-- | CyteKit/WebView.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CyteKit/WebView.h b/CyteKit/WebView.h index c9e10c8..39fd8ff 100644 --- a/CyteKit/WebView.h +++ b/CyteKit/WebView.h @@ -58,6 +58,7 @@ enum CYWebPolicyDecision { }; @protocol CyteWebViewDelegate <UIWebViewDelegate> +@optional - (void) webView:(WebView *)view addMessageToConsole:(NSDictionary *)message; - (void) webView:(WebView *)view decidePolicyForNavigationAction:(NSDictionary *)action request:(NSURLRequest *)request frame:(WebFrame *)frame decisionListener:(id<WebPolicyDecisionListener>)listener; - (void) webView:(WebView *)view decidePolicyForNewWindowAction:(NSDictionary *)action request:(NSURLRequest *)request newFrameName:(NSString *)name decisionListener:(id<WebPolicyDecisionListener>)listener; @@ -81,6 +82,8 @@ enum CYWebPolicyDecision { } - (id<CyteWebViewDelegate>) delegate; +- (void) setDelegate:(id<CyteWebViewDelegate>)delegate; + - (void) dispatchEvent:(NSString *)event; - (void) reloadFromOrigin; - (UIScrollView *) scrollView; |