WebHTMLViewPrivate.h [plain text]
#import <WebKitLegacy/WebHTMLView.h>
#if !TARGET_OS_IPHONE
#if !defined(ENABLE_NETSCAPE_PLUGIN_API)
#define ENABLE_NETSCAPE_PLUGIN_API 1
#endif
#endif
@class DOMDocumentFragment;
@class DOMNode;
@class DOMRange;
extern const float _WebHTMLViewPrintingMinimumShrinkFactor;
extern const float _WebHTMLViewPrintingMaximumShrinkFactor;
@interface WebHTMLView (WebPrivate)
+ (NSArray *)supportedMIMETypes;
+ (NSArray *)supportedMediaMIMETypes;
+ (NSArray *)supportedImageMIMETypes;
+ (NSArray *)supportedNonImageMIMETypes;
+ (NSArray *)unsupportedTextMIMETypes;
- (void)close;
#if !TARGET_OS_IPHONE
+ (void)_postFlagsChangedEvent:(NSEvent *)flagsChangedEvent;
- (void)_updateMouseoverWithFakeEvent;
- (void)_setAsideSubviews;
- (void)_restoreSubviews;
- (void)_updateMouseoverWithEvent:(NSEvent *)event;
+ (NSArray *)_insertablePasteboardTypes;
+ (NSString *)_dummyPasteboardType;
+ (NSArray *)_selectionPasteboardTypes;
- (void)_writeSelectionToPasteboard:(NSPasteboard *)pasteboard;
#endif
- (void)_frameOrBoundsChanged;
#if !TARGET_OS_IPHONE
- (void)_handleAutoscrollForMouseDragged:(NSEvent *)event;
#endif
- (NSRect)_selectionRect;
- (BOOL)_canEdit;
- (BOOL)_canEditRichly;
- (BOOL)_canAlterCurrentSelection;
- (BOOL)_hasSelection;
- (BOOL)_hasSelectionOrInsertionPoint;
- (BOOL)_isEditable;
#if !TARGET_OS_IPHONE
- (BOOL)_transparentBackground;
- (void)_setTransparentBackground:(BOOL)isBackgroundTransparent;
#endif
- (void)_setToolTip:(NSString *)string;
#if !TARGET_OS_IPHONE
- (NSImage *)_selectionDraggingImage;
- (NSRect)_selectionDraggingRect;
- (DOMNode *)_insertOrderedList;
- (DOMNode *)_insertUnorderedList;
- (BOOL)_canIncreaseSelectionListLevel;
- (BOOL)_canDecreaseSelectionListLevel;
- (DOMNode *)_increaseSelectionListLevel;
- (DOMNode *)_increaseSelectionListLevelOrdered;
- (DOMNode *)_increaseSelectionListLevelUnordered;
- (void)_decreaseSelectionListLevel;
- (DOMDocumentFragment *)_documentFragmentFromPasteboard:(NSPasteboard *)pasteboard forType:(NSString *)pboardType inContext:(DOMRange *)context subresources:(NSArray **)subresources;
#endif
#if ENABLE_NETSCAPE_PLUGIN_API
- (void)_resumeNullEventsForAllNetscapePlugins;
- (void)_pauseNullEventsForAllNetscapePlugins;
#endif
- (BOOL)_isUsingAcceleratedCompositing;
- (NSView *)_compositingLayersHostingView;
#if !TARGET_OS_IPHONE
- (void)_layoutForPrinting;
#endif
- (CGFloat)_adjustedBottomOfPageWithTop:(CGFloat)top bottom:(CGFloat)bottom limit:(CGFloat)bottomLimit;
- (BOOL)_isInPrintMode;
- (BOOL)_beginPrintModeWithPageWidth:(float)pageWidth height:(float)pageHeight shrinkToFit:(BOOL)shrinkToFit;
- (BOOL)_beginPrintModeWithMinimumPageWidth:(CGFloat)minimumPageWidth height:(CGFloat)minimumPageHeight maximumPageWidth:(CGFloat)maximumPageWidth;
- (void)_endPrintMode;
- (BOOL)_isInScreenPaginationMode;
- (BOOL)_beginScreenPaginationModeWithPageSize:(CGSize)pageSize shrinkToFit:(BOOL)shrinkToFit;
- (void)_endScreenPaginationMode;
#if !TARGET_OS_IPHONE
- (BOOL)_canSmartReplaceWithPasteboard:(NSPasteboard *)pasteboard;
#endif
#if TARGET_OS_IPHONE
- (id)accessibilityRootElement;
#endif
@end