summaryrefslogtreecommitdiff
path: root/CyteKit/CyteWebViewController.h
diff options
context:
space:
mode:
Diffstat (limited to 'CyteKit/CyteWebViewController.h')
-rw-r--r--CyteKit/CyteWebViewController.h41
1 files changed, 1 insertions, 40 deletions
diff --git a/CyteKit/CyteWebViewController.h b/CyteKit/CyteWebViewController.h
index f4ba3e3..1b7d9ec 100644
--- a/CyteKit/CyteWebViewController.h
+++ b/CyteKit/CyteWebViewController.h
@@ -41,53 +41,14 @@
#define CyteKit_CydiaBrowserController_H
#include "CyteKit/CyteViewController.h"
+#include "CyteKit/CyteWebView.h"
#include <UIKit/UIKit.h>
-#include <WebKit/DOMNodeList.h>
-#include <WebKit/WebFrame.h>
-#include <WebKit/WebScriptObject.h>
-#include <WebKit/WebView.h>
-
-#include <JavaScriptCore/JavaScriptCore.h>
-
#include "substrate.h"
-@class NSMutableArray;
-@class NSString;
-@class NSURL;
-@class NSURLRequest;
-
-@class UIScroller;
-@class UIDocumentWebView;
-
-@class WebView;
-
-@class Database;
@class IndirectDelegate;
-@protocol CYWebViewDelegate <UIWebViewDelegate>
-- (void) webView:(WebView *)view addMessageToConsole:(NSDictionary *)message;
-- (void) webView:(WebView *)view decidePolicyForNavigationAction:(NSDictionary *)action request:(NSURLRequest *)request frame:(WebFrame *)frame decisionListener:(id<WebPolicyDecisionListener>)listener;
-- (void) webView:(WebView *)view decidePolicyForNewWindowAction:(NSDictionary *)action request:(NSURLRequest *)request newFrameName:(NSString *)name decisionListener:(id<WebPolicyDecisionListener>)listener;
-- (void) webView:(WebView *)view didClearWindowObject:(WebScriptObject *)window forFrame:(WebFrame *)frame;
-- (void) webView:(WebView *)view didFailLoadWithError:(NSError *)error forFrame:(WebFrame *)frame;
-- (void) webView:(WebView *)view didFailProvisionalLoadWithError:(NSError *)error forFrame:(WebFrame *)frame;
-- (void) webView:(WebView *)view didFinishLoadForFrame:(WebFrame *)frame;
-- (void) webView:(WebView *)view didReceiveTitle:(NSString *)title forFrame:(WebFrame *)frame;
-- (void) webView:(WebView *)view didStartProvisionalLoadForFrame:(WebFrame *)frame;
-- (NSURLRequest *) webView:(WebView *)view resource:(id)resource willSendRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse *)response fromDataSource:(WebDataSource *)source;
-- (void) webViewClose:(WebView *)view;
-- (bool) webView:(WebView *)view shouldRunJavaScriptAlertPanelWithMessage:(NSString *)message initiatedByFrame:(WebFrame *)frame;
-- (bool) webView:(WebView *)view shouldRunJavaScriptConfirmPanelWithMessage:(NSString *)message initiatedByFrame:(WebFrame *)frame;
-- (bool) webView:(WebView *)view shouldRunJavaScriptTextInputPanelWithPrompt:(NSString *)prompt defaultText:(NSString *)text initiatedByFrame:(WebFrame *)frame;
-- (void) webViewUpdateViewSettings:(UIWebView *)view;
-@end
-
-@interface CYWebView : UIWebView
-- (id<CYWebViewDelegate>) delegate;
-@end
-
@interface WebScriptObject (UICaboodle)
- (NSUInteger) count;
- (id) objectAtIndex:(unsigned)index;