summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2017-03-06 21:06:33 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2017-03-06 21:06:33 -0800
commitfd75908cce0497d8638b82870e5bc4ae215b31e3 (patch)
treec0c41b447ab466580a473fd4abb607987f03bfd0
parenta02d4e989ec1ecf82da7044375b4010f1b572883 (diff)
WebDataSource needs to also be in iPhonePrivate.h.
-rw-r--r--iPhonePrivate.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/iPhonePrivate.h b/iPhonePrivate.h
index cd5934d..e8748a4 100644
--- a/iPhonePrivate.h
+++ b/iPhonePrivate.h
@@ -40,7 +40,6 @@ static const UIActivityIndicatorViewStyle UIActivityIndicatorViewStyleWhiteTiny(
@class DOMRGBColor;
// }}}
// @class Web*; {{{
-@class WebDataSource;
@class WebScriptObject;
@class WebView;
// }}}
@@ -286,6 +285,11 @@ enum {
- (void) setJavaScriptCanOpenWindowsAutomatically:(BOOL)value;
@end
+@interface WebDataSource : NSObject
+- (NSURLRequest *) request;
+- (NSURLResponse *) response;
+@end
+
@interface WebFrame : NSObject
@property (nonatomic, readonly, copy) NSArray *childFrames;
@property (nonatomic, readonly, strong) WebDataSource *dataSource;