]> git.saurik.com Git - cydia.git/blob - UICaboodle/BrowserView.h
Shaved another 0.7s from startup.
[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
24 NSString *title_;
25 bool loading_;
26 bool reloading_;
27
28 bool pushed_;
29 }
30
31 - (void) loadURL:(NSURL *)url cachePolicy:(NSURLRequestCachePolicy)policy;
32 - (void) loadURL:(NSURL *)url;
33
34 - (void) loadRequest:(NSURLRequest *)request;
35 - (void) reloadURL;
36
37 - (WebView *) webView;
38
39 - (id) initWithBook:(RVBook *)book;
40
41 - (void) webView:(WebView *)sender didFinishLoadForFrame:(WebFrame *)frame;
42 - (void) webView:(WebView *)sender didClearWindowObject:(WebScriptObject *)window forFrame:(WebFrame *)frame;
43
44 @end