]>
Commit | Line | Data |
---|---|---|
ab398adf JF |
1 | #import "ResetView.h" |
2 | ||
22f8bed9 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 | ||
ab398adf JF |
24 | @class NSMutableArray; |
25 | @class NSString; | |
26 | @class NSURL; | |
27 | @class NSURLRequest; | |
28 | ||
29 | @class UIProgressIndicator; | |
30 | @class UIScroller; | |
facbc56d | 31 | @class UIDocumentWebView; |
ab398adf | 32 | |
a9543575 JF |
33 | @class WebView; |
34 | ||
ab398adf | 35 | @class Database; |
facbc56d | 36 | @class IndirectDelegate; |
ab398adf JF |
37 | |
38 | @interface BrowserView : RVPage { | |
ab398adf | 39 | UIScroller *scroller_; |
facbc56d | 40 | UIWebDocumentView *webview_; |
ab398adf | 41 | UIProgressIndicator *indicator_; |
facbc56d | 42 | IndirectDelegate *indirect_; |
0ce617c8 | 43 | NSURLAuthenticationChallenge *challenge_; |
fe468f45 JF |
44 | |
45 | bool error_; | |
0c7c9052 | 46 | NSURLRequest *request_; |
ab398adf | 47 | |
9fe5e5f8 | 48 | NSNumber *confirm_; |
ab398adf JF |
49 | NSString *title_; |
50 | bool loading_; | |
51 | bool reloading_; | |
a0376fc1 | 52 | |
9fe5e5f8 JF |
53 | NSString *button_; |
54 | NSString *style_; | |
55 | WebScriptObject *function_; | |
56 | ||
a0376fc1 | 57 | bool pushed_; |
ab398adf JF |
58 | } |
59 | ||
0ce617c8 JF |
60 | - (void) alertSheet:(UIActionSheet *)sheet buttonClicked:(int)button; |
61 | ||
ab398adf JF |
62 | - (void) loadURL:(NSURL *)url cachePolicy:(NSURLRequestCachePolicy)policy; |
63 | - (void) loadURL:(NSURL *)url; | |
64 | ||
65 | - (void) loadRequest:(NSURLRequest *)request; | |
66 | - (void) reloadURL; | |
67 | ||
68 | - (WebView *) webView; | |
69 | ||
3160e5f0 | 70 | - (id) initWithBook:(RVBook *)book; |
ab398adf | 71 | |
7d2ac47f | 72 | - (void) webView:(WebView *)sender didFinishLoadForFrame:(WebFrame *)frame; |
c390d3ab | 73 | - (void) webView:(WebView *)sender didClearWindowObject:(WebScriptObject *)window forFrame:(WebFrame *)frame; |
7d2ac47f | 74 | |
ab398adf | 75 | @end |