]> git.saurik.com Git - cydia.git/commitdiff
Move WebView (Apple) category to iPhonePrivate.h.
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 29 Oct 2014 13:50:47 +0000 (06:50 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Wed, 29 Oct 2014 13:50:47 +0000 (06:50 -0700)
CyteKit/WebViewController.mm
CyteKit/WebViewTableViewCell.mm
iPhonePrivate.h

index e5b58d67b7f7b127cb627b6d3e506086a27cb54a..bf2643b2bda3037e2a3efdfbc648b473519bb998 100644 (file)
@@ -45,11 +45,6 @@ static Class $MFMailComposeViewController;
 
 float CYScrollViewDecelerationRateNormal;
 
 
 float CYScrollViewDecelerationRateNormal;
 
-@interface WebView (Apple)
-- (void) _setLayoutInterval:(float)interval;
-- (void) _setAllowsMessaging:(BOOL)allows;
-@end
-
 @interface WebFrame (Cydia)
 - (void) cydia$updateHeight;
 @end
 @interface WebFrame (Cydia)
 - (void) cydia$updateHeight;
 @end
index 9fc38ecc1344599926b92c8265b522322bed6663..b6ffc3fa2ac0514a9204e80283ec90af0099b7f8 100644 (file)
 #include "CyteKit/WebViewTableViewCell.h"
 #include "iPhonePrivate.h"
 
 #include "CyteKit/WebViewTableViewCell.h"
 #include "iPhonePrivate.h"
 
-@interface WebView (Apple)
-- (void) _setLayoutInterval:(float)interval;
-- (void) _setAllowsMessaging:(BOOL)allows;
-@end
-
 @implementation CyteWebViewTableViewCell
 
 + (CyteWebViewTableViewCell *) cellWithRequest:(NSURLRequest *)request {
 @implementation CyteWebViewTableViewCell
 
 + (CyteWebViewTableViewCell *) cellWithRequest:(NSURLRequest *)request {
index ab1e24e82ea05f08e6f5fba6a379e4ca920191a4..64e8ea280cd31170928f6ac6f0478c1161d75c42 100644 (file)
@@ -9,6 +9,7 @@
 #import <WebKit/DOMHTMLIFrameElement.h>
 #import <WebKit/WebFrame.h>
 #import <WebKit/WebPreferences.h>
 #import <WebKit/DOMHTMLIFrameElement.h>
 #import <WebKit/WebFrame.h>
 #import <WebKit/WebPreferences.h>
+#import <WebKit/WebView.h>
 // }}}
 // typedef enum {*} *; {{{
 typedef enum {
 // }}}
 // typedef enum {*} *; {{{
 typedef enum {
@@ -39,7 +40,6 @@ static const UIActivityIndicatorViewStyle UIActivityIndicatorViewStyleWhiteTiny(
 // @class Web*; {{{
 @class WebDataSource;
 @class WebScriptObject;
 // @class Web*; {{{
 @class WebDataSource;
 @class WebScriptObject;
-@class WebView;
 // }}}
 // @protocol *; {{{
 @protocol WebPolicyDecisionListener;
 // }}}
 // @protocol *; {{{
 @protocol WebPolicyDecisionListener;
@@ -351,6 +351,11 @@ static const UIActivityIndicatorViewStyle UIActivityIndicatorViewStyleWhiteTiny(
 - (void) _setLayoutInterval:(NSInteger)interval;
 - (void) setOfflineWebApplicationCacheEnabled:(BOOL)enabled;
 @end
 - (void) _setLayoutInterval:(NSInteger)interval;
 - (void) setOfflineWebApplicationCacheEnabled:(BOOL)enabled;
 @end
+
+@interface WebView (Apple)
+- (void) _setLayoutInterval:(float)interval;
+- (void) _setAllowsMessaging:(BOOL)allows;
+@end
 // }}}
 
 // #ifndef AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER {{{
 // }}}
 
 // #ifndef AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER {{{