X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/df19d3702697ea1e2aa5ac76dd5121ceb5a7660a..26e6829b74dd3ae2fc50dba47f6721aedb6d6b34:/iPhonePrivate.h diff --git a/iPhonePrivate.h b/iPhonePrivate.h index a9e11e2a..47463355 100644 --- a/iPhonePrivate.h +++ b/iPhonePrivate.h @@ -289,6 +289,7 @@ typedef enum { - (UIScrollView *) _scrollView; - (UIScroller *) _scroller; - (void) _updateViewSettings; +- (void) webView:(WebView *)view addMessageToConsole:(NSDictionary *)message; //- (WebView *) webView:(WebView *)view createWebViewWithRequest:(NSURLRequest *)request; - (void) webView:(WebView *)view decidePolicyForNavigationAction:(NSDictionary *)action request:(NSURLRequest *)request frame:(WebFrame *)frame decisionListener:(id)listener; - (void) webView:(WebView *)view decidePolicyForNewWindowAction:(NSDictionary *)action request:(NSURLRequest *)request newFrameName:(NSString *)name decisionListener:(id)listener; @@ -358,6 +359,10 @@ extern float const UIScrollViewDecelerationRateNormal; #endif // }}} +@interface UIScreen (iOS_4_0) +@property(nonatomic,readonly) CGFloat scale; +@end + // extern *; {{{ extern CFStringRef const kGSDisplayIdentifiersCapability; extern float const UIWebViewGrowsAndShrinksToFitHeight;