X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/853d14d30b0f905c441a66b1ab70a63346a8bd7f..263b91b496228fdb5d0d0b0866b933630dd691fb:/UICaboodle/BrowserView.h diff --git a/UICaboodle/BrowserView.h b/UICaboodle/BrowserView.h index caafaa52..cbb407f7 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,42 @@ @class UIProgressIndicator; @class UIScroller; -@class UIWebView; +@class UIDocumentWebView; @class WebView; @class Database; +@class IndirectDelegate; +@class CydiaObject; @interface BrowserView : RVPage { - _transient Database *database_; UIScroller *scroller_; - UIWebView *webview_; - NSMutableArray *urls_; + UIWebDocumentView *webview_; UIProgressIndicator *indicator_; + IndirectDelegate *indirect_; + CydiaObject *cydia_; + NSURLAuthenticationChallenge *challenge_; + bool error_; + NSURLRequest *request_; + + NSNumber *confirm_; NSString *title_; bool loading_; bool reloading_; + NSString *button_; + NSString *style_; + WebScriptObject *function_; + bool pushed_; + + float width_; + bool popup_; } +- (void) alertSheet:(UIActionSheet *)sheet buttonClicked:(int)button; + - (void) loadURL:(NSURL *)url cachePolicy:(NSURLRequestCachePolicy)policy; - (void) loadURL:(NSURL *)url; @@ -34,9 +71,14 @@ - (void) reloadURL; - (WebView *) webView; +- (UIWebDocumentView *) documentView; -- (id) initWithBook:(RVBook *)book database:(Database *)database; +- (id) initWithBook:(RVBook *)book; +- (id) initWithBook:(RVBook *)book forWidth:(float)width; - (void) webView:(WebView *)sender didFinishLoadForFrame:(WebFrame *)frame; +- (void) webView:(WebView *)sender didClearWindowObject:(WebScriptObject *)window forFrame:(WebFrame *)frame; + ++ (float) defaultWidth; @end