X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/45f88d41436152c0238e7f62910e65c7e6f3deb8..7afcea1c7f36f0c4ee9c4d4b53618df39073d851:/UICaboodle/BrowserView.h diff --git a/UICaboodle/BrowserView.h b/UICaboodle/BrowserView.h index 632528da..93b94207 100644 --- a/UICaboodle/BrowserView.h +++ b/UICaboodle/BrowserView.h @@ -36,7 +36,9 @@ @class IndirectDelegate; @class CydiaObject; -@interface BrowserView : RVPage { +@interface BrowserView : RVPage < + RVBookHook +> { UIScroller *scroller_; UIWebDocumentView *webview_; UIProgressIndicator *indicator_; @@ -55,8 +57,15 @@ 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; @@ -66,12 +75,20 @@ - (void) loadRequest:(NSURLRequest *)request; - (void) reloadURL; +- (bool) isLoading; - (WebView *) webView; +- (UIWebDocumentView *) documentView; - (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