#import <WebKit2/WKView.h>
typedef enum {
WKContentAnchorTopLeft,
WKContentAnchorTopRight,
WKContentAnchorBottomLeft,
WKContentAnchorBottomRight,
} WKContentAnchor;
@interface WKView (Private)
@property(readonly) WKPageRef pageRef;
@property WKContentAnchor contentAnchor;
- (id)initWithFrame:(NSRect)frame contextRef:(WKContextRef)contextRef pageGroupRef:(WKPageGroupRef)pageGroupRef;
- (id)initWithFrame:(NSRect)frame contextRef:(WKContextRef)contextRef pageGroupRef:(WKPageGroupRef)pageGroupRef relatedToPage:(WKPageRef)relatedPage;
- (NSPrintOperation *)printOperationWithPrintInfo:(NSPrintInfo *)printInfo forFrame:(WKFrameRef)frameRef;
- (BOOL)canChangeFrameLayout:(WKFrameRef)frameRef;
- (void)setFrame:(NSRect)rect andScrollBy:(NSSize)offset;
- (void)disableFrameSizeUpdates;
- (void)enableFrameSizeUpdates;
- (BOOL)frameSizeUpdatesDisabled;
- (void)performDictionaryLookupAtCurrentMouseLocation;
+ (void)hideWordDefinitionWindow;
@property (readwrite) CGFloat minimumLayoutWidth;
@property (readwrite) CGFloat minimumWidthForAutoLayout;
@property (readwrite) NSSize minimumSizeForAutoLayout;
@property (readwrite) BOOL shouldClipToVisibleRect;
@property (readwrite) BOOL shouldExpandToViewHeightForAutoLayout;
@property(copy, nonatomic) NSColor *underlayColor;
- (NSView*)fullScreenPlaceholderView;
- (NSWindow*)createFullScreenWindow;
- (void)beginDeferringViewInWindowChanges;
- (void)endDeferringViewInWindowChanges;
- (void)endDeferringViewInWindowChangesSync;
- (BOOL)isDeferringViewInWindowChanges;
- (BOOL)windowOcclusionDetectionEnabled;
- (void)setWindowOcclusionDetectionEnabled:(BOOL)flag;
- (void)forceAsyncDrawingAreaSizeUpdate:(NSSize)size;
- (void)waitForAsyncDrawingAreaSizeUpdate;
@end