#import "ResetView.h"
+
+#include <WebKit/DOMCSSPrimitiveValue.h>
+#include <WebKit/DOMCSSStyleDeclaration.h>
+#include <WebKit/DOMDocument.h>
+#include <WebKit/DOMHTMLBodyElement.h>
+#include <WebKit/DOMNodeList.h>
+#include <WebKit/DOMRGBColor.h>
+
+#include <WebKit/WebFrame.h>
+#include <WebKit/WebPolicyDelegate.h>
+#include <WebKit/WebPreferences.h>
+#include <WebKit/WebScriptObject.h>
+
+#import <WebKit/WebView.h>
+#import <WebKit/WebView-WebPrivate.h>
+
+#include <WebCore/Page.h>
+#include <WebCore/Settings.h>
+
+#import <JavaScriptCore/JavaScriptCore.h>
+
@class NSMutableArray;
@class NSString;
@class NSURL;
@class Database;
@class IndirectDelegate;
+@class CydiaObject;
-@interface BrowserView : RVPage {
- _transient Database *database_;
+@interface BrowserView : RVPage <
+ RVBookHook
+> {
UIScroller *scroller_;
UIWebDocumentView *webview_;
- NSMutableArray *urls_;
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_;
+ WebScriptObject *closer_;
+
bool pushed_;
+
+ float width_;
+ bool popup_;
+
+ CGSize size_;
+ bool editing_;
}
+- (void) alertSheet:(UIActionSheet *)sheet buttonClicked:(int)button;
+
- (void) loadURL:(NSURL *)url cachePolicy:(NSURLRequestCachePolicy)policy;
- (void) loadURL:(NSURL *)url;
- (void) loadRequest:(NSURLRequest *)request;
- (void) reloadURL;
+- (bool) isLoading;
- (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;
+- (void) setViewportWidth:(float)width;
+
+- (id) _rightButtonTitle;
@end