]>
Commit | Line | Data |
---|---|---|
59efd93a JF |
1 | #import "ResetView.h" |
2 | ||
bde2d79b JF |
3 | |
4 | #include <WebKit/DOMCSSPrimitiveValue.h> | |
5 | #include <WebKit/DOMCSSStyleDeclaration.h> | |
6 | #include <WebKit/DOMDocument.h> | |
7 | #include <WebKit/DOMHTMLBodyElement.h> | |
8 | #include <WebKit/DOMNodeList.h> | |
9 | #include <WebKit/DOMRGBColor.h> | |
10 | ||
11 | #include <WebKit/WebFrame.h> | |
12 | #include <WebKit/WebPolicyDelegate.h> | |
13 | #include <WebKit/WebPreferences.h> | |
14 | #include <WebKit/WebScriptObject.h> | |
15 | ||
16 | #import <WebKit/WebView.h> | |
17 | #import <WebKit/WebView-WebPrivate.h> | |
18 | ||
19 | #include <WebCore/Page.h> | |
20 | #include <WebCore/Settings.h> | |
21 | ||
22 | #import <JavaScriptCore/JavaScriptCore.h> | |
23 | ||
59efd93a JF |
24 | @class NSMutableArray; |
25 | @class NSString; | |
26 | @class NSURL; | |
27 | @class NSURLRequest; | |
28 | ||
29 | @class UIProgressIndicator; | |
30 | @class UIScroller; | |
20b8724d | 31 | @class UIDocumentWebView; |
59efd93a | 32 | |
d210b85d JF |
33 | @class WebView; |
34 | ||
59efd93a | 35 | @class Database; |
20b8724d | 36 | @class IndirectDelegate; |
45f88d41 | 37 | @class CydiaObject; |
59efd93a JF |
38 | |
39 | @interface BrowserView : RVPage { | |
59efd93a | 40 | UIScroller *scroller_; |
20b8724d | 41 | UIWebDocumentView *webview_; |
59efd93a | 42 | UIProgressIndicator *indicator_; |
20b8724d | 43 | IndirectDelegate *indirect_; |
45f88d41 | 44 | CydiaObject *cydia_; |
67c04058 | 45 | NSURLAuthenticationChallenge *challenge_; |
f4772bd1 JF |
46 | |
47 | bool error_; | |
2c3974c5 | 48 | NSURLRequest *request_; |
59efd93a | 49 | |
a99d2808 | 50 | NSNumber *confirm_; |
59efd93a JF |
51 | NSString *title_; |
52 | bool loading_; | |
53 | bool reloading_; | |
48c0461e | 54 | |
a99d2808 JF |
55 | NSString *button_; |
56 | NSString *style_; | |
57 | WebScriptObject *function_; | |
58 | ||
48c0461e | 59 | bool pushed_; |
59efd93a JF |
60 | } |
61 | ||
67c04058 JF |
62 | - (void) alertSheet:(UIActionSheet *)sheet buttonClicked:(int)button; |
63 | ||
59efd93a JF |
64 | - (void) loadURL:(NSURL *)url cachePolicy:(NSURLRequestCachePolicy)policy; |
65 | - (void) loadURL:(NSURL *)url; | |
66 | ||
67 | - (void) loadRequest:(NSURLRequest *)request; | |
68 | - (void) reloadURL; | |
69 | ||
70 | - (WebView *) webView; | |
71 | ||
5fd870e0 | 72 | - (id) initWithBook:(RVBook *)book; |
59efd93a | 73 | |
853d14d3 | 74 | - (void) webView:(WebView *)sender didFinishLoadForFrame:(WebFrame *)frame; |
cb9c2100 | 75 | - (void) webView:(WebView *)sender didClearWindowObject:(WebScriptObject *)window forFrame:(WebFrame *)frame; |
853d14d3 | 76 | |
59efd93a | 77 | @end |