-#import "ResetView.h"
+#import <UICaboodle/RVPage.h>
+#import <UICaboodle/RVBook.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>
+#import <UIKit/UIKit.h>
+#include <WebKit/DOMNodeList.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>
+#include <WebKit/WebView.h>
#import <JavaScriptCore/JavaScriptCore.h>
@class IndirectDelegate;
@interface WebScriptObject (UICaboodle)
-- (unsigned) count;
+- (NSUInteger) count;
- (id) objectAtIndex:(unsigned)index;
@end
-@protocol BrowserViewDelegate
-- (RVPage *) pageForURL:(NSURL *)url hasTag:(int *)tag;
+@protocol BrowserControllerDelegate
+- (CYViewController *) pageForURL:(NSURL *)url hasTag:(int *)tag;
@end
-@interface BrowserView : RVPage <
- RVBookHook
+@interface BrowserController : CYViewController <
+ HookProtocol
> {
UIScroller *scroller_;
- UIWebDocumentView *webview_;
+ UIWebDocumentView *document_;
UIProgressIndicator *indicator_;
IndirectDelegate *indirect_;
NSURLAuthenticationChallenge *challenge_;
CGSize size_;
bool editing_;
+
+ Class class_;
+
+ id reloaditem_;
+ id loadingitem_;
}
-- (void) alertSheet:(UIActionSheet *)sheet buttonClicked:(int)button;
++ (void) _initialize;
- (void) loadURL:(NSURL *)url cachePolicy:(NSURLRequestCachePolicy)policy;
- (void) loadURL:(NSURL *)url;
- (WebView *) webView;
- (UIWebDocumentView *) documentView;
-- (id) initWithBook:(RVBook *)book;
-- (id) initWithBook:(RVBook *)book forWidth:(float)width;
+- (id) init;
+- (id) initWithWidth:(float)width;
+- (id) initWithWidth:(float)width ofClass:(Class)_class;
- (NSString *) stringByEvaluatingJavaScriptFromString:(NSString *)script;
- (void) callFunction:(WebScriptObject *)function;
- (void) setFinishHook:(id)function;
- (void) setPopupHook:(id)function;
-- (id) _rightButtonTitle;
-
- (bool) promptForSensitive:(NSString *)name;
- (bool) allowSensitiveRequests;
+- (void) alertView:(UIAlertView *)alert clickedButtonAtIndex:(NSInteger)button;
+- (void) customButtonClicked;
+- (void) applyRightButton;
+
+- (void) _startLoading;
+- (void) close;
+
@end