#import <WebKit/WKFoundation.h>
#if TARGET_OS_IPHONE
#import <UIKit/UIKit.h>
#else
#import <Cocoa/Cocoa.h>
#endif
#import <WebKit/WKDeclarationSpecifiers.h>
@class WKBrowsingContextController;
@class WKBrowsingContextGroup;
@class WKProcessGroup;
@class WKViewData;
#if TARGET_OS_IPHONE
WK_EXPORT
@interface WKView : UIView {
#else
WK_EXPORT
@interface WKView : NSView <NSTextInputClient> {
#endif
@private
WKViewData *_data;
unsigned _unused;
}
#if WK_API_ENABLED
#if TARGET_OS_IPHONE
- (id)initWithFrame:(CGRect)frame processGroup:(WKProcessGroup *)processGroup browsingContextGroup:(WKBrowsingContextGroup *)browsingContextGroup;
- (id)initWithFrame:(CGRect)frame processGroup:(WKProcessGroup *)processGroup browsingContextGroup:(WKBrowsingContextGroup *)browsingContextGroup relatedToView:(WKView *)relatedView;
#else
- (id)initWithFrame:(NSRect)frame processGroup:(WKProcessGroup *)processGroup browsingContextGroup:(WKBrowsingContextGroup *)browsingContextGroup;
- (id)initWithFrame:(NSRect)frame processGroup:(WKProcessGroup *)processGroup browsingContextGroup:(WKBrowsingContextGroup *)browsingContextGroup relatedToView:(WKView *)relatedView;
#endif
@property(readonly) WKBrowsingContextController *browsingContextController;
#endif // WK_API_ENABLED
@property BOOL drawsBackground;
@property BOOL drawsTransparentBackground;
#if TARGET_OS_IPHONE
@property (nonatomic, readonly) UIScrollView *scrollView;
#endif
@end