]> git.saurik.com Git - cydia.git/blame - UICaboodle/BrowserView.h
Slightly better semantics.
[cydia.git] / UICaboodle / BrowserView.h
CommitLineData
59efd93a
JF
1#import "ResetView.h"
2
3@class NSMutableArray;
4@class NSString;
5@class NSURL;
6@class NSURLRequest;
7
8@class UIProgressIndicator;
9@class UIScroller;
20b8724d 10@class UIDocumentWebView;
59efd93a 11
d210b85d
JF
12@class WebView;
13
59efd93a 14@class Database;
20b8724d 15@class IndirectDelegate;
59efd93a
JF
16
17@interface BrowserView : RVPage {
59efd93a 18 UIScroller *scroller_;
20b8724d 19 UIWebDocumentView *webview_;
59efd93a
JF
20 NSMutableArray *urls_;
21 UIProgressIndicator *indicator_;
20b8724d 22 IndirectDelegate *indirect_;
67c04058 23 NSURLAuthenticationChallenge *challenge_;
59efd93a 24
a99d2808 25 NSNumber *confirm_;
59efd93a
JF
26 NSString *title_;
27 bool loading_;
28 bool reloading_;
48c0461e 29
a99d2808
JF
30 NSString *button_;
31 NSString *style_;
32 WebScriptObject *function_;
33
48c0461e 34 bool pushed_;
59efd93a
JF
35}
36
67c04058
JF
37- (void) alertSheet:(UIActionSheet *)sheet buttonClicked:(int)button;
38
59efd93a
JF
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
5fd870e0 47- (id) initWithBook:(RVBook *)book;
59efd93a 48
853d14d3 49- (void) webView:(WebView *)sender didFinishLoadForFrame:(WebFrame *)frame;
cb9c2100 50- (void) webView:(WebView *)sender didClearWindowObject:(WebScriptObject *)window forFrame:(WebFrame *)frame;
853d14d3 51
59efd93a 52@end