X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/7d2ac47f3369cf198f78970363f0f31bd3cd44ee..092934d18a7bb1b3e1d768657293e99f432b5d0a:/UICaboodle/BrowserView.h?ds=sidebyside diff --git a/UICaboodle/BrowserView.h b/UICaboodle/BrowserView.h index caafaa52..a37d326b 100644 --- a/UICaboodle/BrowserView.h +++ b/UICaboodle/BrowserView.h @@ -1,5 +1,26 @@ #import "ResetView.h" + +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include + +#import +#import + +#include +#include + +#import + @class NSMutableArray; @class NSString; @class NSURL; @@ -7,26 +28,37 @@ @class UIProgressIndicator; @class UIScroller; -@class UIWebView; +@class UIDocumentWebView; @class WebView; @class Database; +@class IndirectDelegate; @interface BrowserView : RVPage { - _transient Database *database_; UIScroller *scroller_; - UIWebView *webview_; - NSMutableArray *urls_; + UIWebDocumentView *webview_; UIProgressIndicator *indicator_; + IndirectDelegate *indirect_; + NSURLAuthenticationChallenge *challenge_; + + bool error_; + NSURLRequest *request_; + NSNumber *confirm_; NSString *title_; bool loading_; bool reloading_; + NSString *button_; + NSString *style_; + WebScriptObject *function_; + bool pushed_; } +- (void) alertSheet:(UIActionSheet *)sheet buttonClicked:(int)button; + - (void) loadURL:(NSURL *)url cachePolicy:(NSURLRequestCachePolicy)policy; - (void) loadURL:(NSURL *)url; @@ -35,8 +67,9 @@ - (WebView *) webView; -- (id) initWithBook:(RVBook *)book database:(Database *)database; +- (id) initWithBook:(RVBook *)book; - (void) webView:(WebView *)sender didFinishLoadForFrame:(WebFrame *)frame; +- (void) webView:(WebView *)sender didClearWindowObject:(WebScriptObject *)window forFrame:(WebFrame *)frame; @end