source: trunk/ICeCoffEE/ICeCoffEE/ICeCoffEEWebPolicyDelegate.m@ 445

Last change on this file since 445 was 443, checked in by Nicholas Riley, 16 years ago

Drop Safari 2 support; add selectionless WebKit launching

File size: 833 bytes
Line 
1//
2// ICeCoffEEWebPolicyDelegate.m
3// ICeCoffEE
4//
5// Created by Nicholas Riley on 3/6/08.
6// Copyright 2008 Nicholas Riley. All rights reserved.
7//
8
9#import "ICeCoffEEWebPolicyDelegate.h"
10#import <WebKit/WebKit.h>
11
12@implementation ICeCoffEEWebPolicyDelegate
13
14+ (ICeCoffEEWebPolicyDelegate *)sharedDelegate;
15{
16 static ICeCoffEEWebPolicyDelegate *sharedDelegate = nil;
17
18 if (sharedDelegate == nil)
19 sharedDelegate = [[self alloc] init];
20
21 return sharedDelegate;
22}
23
24@end
25
26@implementation ICeCoffEEWebPolicyDelegate (WebPolicyDelegate)
27
28- (void)webView:(WebView *)webView decidePolicyForNavigationAction:(NSDictionary *)actionInformation
29 request:(NSURLRequest *)request
30 frame:(WebFrame *)frame
31 decisionListener:(id<WebPolicyDecisionListener>)listener;
32{
33 [listener ignore];
34}
35
36@end
Note: See TracBrowser for help on using the repository browser.