X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/48c0461e36f4bbf6e4a5d7be6e58af0125bb1f9c..f4772bd1011235a2bd777ed6236f6f8041335eae:/UICaboodle/BrowserView.h diff --git a/UICaboodle/BrowserView.h b/UICaboodle/BrowserView.h index c9a1f7d7..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,24 +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; @@ -33,6 +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