]> git.saurik.com Git - cydia.git/blob - UICaboodle/BrowserView.h
Various HTTP improvements.
[cydia.git] / UICaboodle / BrowserView.h
1 #import "ResetView.h"
2
3 @class NSMutableArray;
4 @class NSString;
5 @class NSURL;
6 @class NSURLRequest;
7
8 @class UIProgressIndicator;
9 @class UIScroller;
10 @class UIDocumentWebView;
11
12 @class WebView;
13
14 @class Database;
15 @class IndirectDelegate;
16
17 @interface BrowserView : RVPage {
18 UIScroller *scroller_;
19 UIWebDocumentView *webview_;
20 UIProgressIndicator *indicator_;
21 IndirectDelegate *indirect_;
22 NSURLAuthenticationChallenge *challenge_;
23 NSURLRequest *request_;
24
25 NSNumber *confirm_;
26 NSString *title_;
27 bool loading_;
28 bool reloading_;
29
30 NSString *button_;
31 NSString *style_;
32 WebScriptObject *function_;
33
34 bool pushed_;
35 }
36
37 - (void) alertSheet:(UIActionSheet *)sheet buttonClicked:(int)button;
38
39 - (void) loadURL:(NSURL *)url cachePolicy:(NSURLRequestCachePolicy)policy;
40 - (void) loadURL:(NSURL *)url;
41
42 - (void) loadRequest:(NSURLRequest *)request;
43 - (void) reloadURL;
44
45 - (WebView *) webView;
46
47 - (id) initWithBook:(RVBook *)book;
48
49 - (void) webView:(WebView *)sender didFinishLoadForFrame:(WebFrame *)frame;
50 - (void) webView:(WebView *)sender didClearWindowObject:(WebScriptObject *)window forFrame:(WebFrame *)frame;
51
52 @end