#import "ResetView.h"
-
#include <WebKit/DOMCSSPrimitiveValue.h>
#include <WebKit/DOMCSSStyleDeclaration.h>
#include <WebKit/DOMDocument.h>
@class Database;
@class IndirectDelegate;
-@class CydiaObject;
+
+@interface WebScriptObject (UICaboodle)
+- (unsigned) count;
+- (id) objectAtIndex:(unsigned)index;
+@end
+
+@protocol BrowserViewDelegate
+- (RVPage *) pageForURL:(NSURL *)url hasTag:(int *)tag;
+@end
@interface BrowserView : RVPage <
RVBookHook
UIWebDocumentView *webview_;
UIProgressIndicator *indicator_;
IndirectDelegate *indirect_;
- CydiaObject *cydia_;
NSURLAuthenticationChallenge *challenge_;
bool error_;
NSURLRequest *request_;
NSNumber *confirm_;
+ NSNumber *sensitive_;
NSString *title_;
- bool loading_;
+ NSMutableSet *loading_;
bool reloading_;
NSString *button_;
NSString *style_;
+
WebScriptObject *function_;
WebScriptObject *closer_;
+ WebScriptObject *special_;
+ WebScriptObject *finish_;
bool pushed_;
CGSize size_;
bool editing_;
+
+ Class class_;
}
++ (void) _initialize;
+
- (void) alertSheet:(UIActionSheet *)sheet buttonClicked:(int)button;
- (void) loadURL:(NSURL *)url cachePolicy:(NSURLRequestCachePolicy)policy;
- (void) reloadURL;
- (bool) isLoading;
+- (void) fixScroller;
+
- (WebView *) webView;
- (UIWebDocumentView *) documentView;
- (id) initWithBook:(RVBook *)book;
- (id) initWithBook:(RVBook *)book forWidth:(float)width;
+- (id) initWithBook:(RVBook *)book forWidth:(float)width ofClass:(Class)_class;
+
+- (NSString *) stringByEvaluatingJavaScriptFromString:(NSString *)script;
+- (void) callFunction:(WebScriptObject *)function;
- (void) webView:(WebView *)sender didFinishLoadForFrame:(WebFrame *)frame;
- (void) webView:(WebView *)sender didClearWindowObject:(WebScriptObject *)window forFrame:(WebFrame *)frame;
+- (NSURLRequest *) webView:(WebView *)sender resource:(id)identifier willSendRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse *)redirectResponse fromDataSource:(WebDataSource *)source;
+
+ (float) defaultWidth;
- (void) setViewportWidth:(float)width;
+- (void) setButtonImage:(NSString *)button withStyle:(NSString *)style toFunction:(id)function;
+- (void) setButtonTitle:(NSString *)button withStyle:(NSString *)style toFunction:(id)function;
+- (void) setFinishHook:(id)function;
+- (void) setPopupHook:(id)function;
+
- (id) _rightButtonTitle;
+- (bool) promptForSensitive:(NSString *)name;
+- (bool) allowSensitiveRequests;
+
@end