X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/928603391a2617640526cdf95f0a5524a6263b04..6840bff394c7e780ccd01e00731ca2ee30053fbd:/iPhonePrivate.h?ds=inline diff --git a/iPhonePrivate.h b/iPhonePrivate.h index f87cac98..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; @@ -338,11 +339,11 @@ typedef enum { @end @interface UIScrollView (iOS_3_0) -@property(assign, nonatomic) float decelerationRate; +@property(assign,nonatomic) float decelerationRate; @end @interface UIWebView (iOS_3_0) -@property(assign, nonatomic) NSUInteger dataDetectorTypes; +@property(assign,nonatomic) NSUInteger dataDetectorTypes; @end extern float const UIScrollViewDecelerationRateNormal; @@ -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;