]> git.saurik.com Git - cydia.git/blob - UICaboodle/BrowserView.h
Many more UIWebDocumentView features.
[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 NSMutableArray *urls_;
21 UIProgressIndicator *indicator_;
22 IndirectDelegate *indirect_;
23 NSURLAuthenticationChallenge *challenge_;
24
25 NSString *title_;
26 bool loading_;
27 bool reloading_;
28
29 bool pushed_;
30 }
31
32 - (void) alertSheet:(UIActionSheet *)sheet buttonClicked:(int)button;
33
34 - (void) loadURL:(NSURL *)url cachePolicy:(NSURLRequestCachePolicy)policy;
35 - (void) loadURL:(NSURL *)url;
36
37 - (void) loadRequest:(NSURLRequest *)request;
38 - (void) reloadURL;
39
40 - (WebView *) webView;
41
42 - (id) initWithBook:(RVBook *)book;
43
44 - (void) webView:(WebView *)sender didFinishLoadForFrame:(WebFrame *)frame;
45 - (void) webView:(WebView *)sender didClearWindowObject:(WebScriptObject *)window forFrame:(WebFrame *)frame;
46
47 @end