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>
11 #include <WebKit/WebFrame.h>
12 #include <WebKit/WebPolicyDelegate.h>
13 #include <WebKit/WebPreferences.h>
14 #include <WebKit/WebScriptObject.h>
16 #import <WebKit/WebView.h>
17 #import <WebKit/WebView-WebPrivate.h>
19 #include <WebCore/Page.h>
20 #include <WebCore/Settings.h>
22 #import <JavaScriptCore/JavaScriptCore.h>
24 @
class NSMutableArray
;
29 @
class UIProgressIndicator
;
31 @
class UIDocumentWebView
;
36 @
class IndirectDelegate
;
39 @interface BrowserView
: RVPage
{
40 UIScroller
*scroller_
;
41 UIWebDocumentView
*webview_
;
42 UIProgressIndicator
*indicator_
;
43 IndirectDelegate
*indirect_
;
45 NSURLAuthenticationChallenge
*challenge_
;
48 NSURLRequest
*request_
;
57 WebScriptObject
*function_
;
68 - (void) alertSheet
:(UIActionSheet
*)sheet buttonClicked
:(int)button
;
70 - (void) loadURL
:(NSURL
*)url cachePolicy
:(NSURLRequestCachePolicy
)policy
;
71 - (void) loadURL
:(NSURL
*)url
;
73 - (void) loadRequest
:(NSURLRequest
*)request
;
76 - (WebView
*) webView
;
77 - (UIWebDocumentView
*) documentView
;
79 - (id
) initWithBook
:(RVBook
*)book
;
80 - (id
) initWithBook
:(RVBook
*)book forWidth
:(float)width
;
82 - (void) webView
:(WebView
*)sender didFinishLoadForFrame
:(WebFrame
*)frame
;
83 - (void) webView
:(WebView
*)sender didClearWindowObject
:(WebScriptObject
*)window forFrame
:(WebFrame
*)frame
;
85 + (float) defaultWidth
;
86 - (void) setViewportWidth
:(float)width
;
88 - (id
) _rightButtonTitle
;