X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/1ce016d4bdc5917ade93fe12291410cbf54cdb6c..66abcbb0a2e423cce98c3aeb541b1d609fc8f7fa:/UICaboodle/BrowserView.h diff --git a/UICaboodle/BrowserView.h b/UICaboodle/BrowserView.h index 93b94207..eb11d6c3 100644 --- a/UICaboodle/BrowserView.h +++ b/UICaboodle/BrowserView.h @@ -51,13 +51,16 @@ NSNumber *confirm_; NSString *title_; - bool loading_; + NSMutableSet *loading_; bool reloading_; NSString *button_; NSString *style_; + WebScriptObject *function_; WebScriptObject *closer_; + WebScriptObject *special_; + WebScriptObject *finish_; bool pushed_; @@ -77,18 +80,28 @@ - (void) reloadURL; - (bool) isLoading; +- (void) fixScroller; + - (WebView *) webView; - (UIWebDocumentView *) documentView; - (id) initWithBook:(RVBook *)book; - (id) initWithBook:(RVBook *)book forWidth:(float)width; +- (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; + (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; @end