#import "WebTypesInternal.h"
#import "WebDelegateImplementationCaching.h"
#import <WebCore/PlatformString.h>
#import <WebCore/WebCoreKeyboardUIMode.h>
#import <wtf/HashMap.h>
#import <wtf/RetainPtr.h>
namespace WebCore {
class HistoryItem;
class Page;
}
@class WebInspector;
@class WebNodeHighlight;
@class WebPluginDatabase;
@class WebPreferences;
@class WebTextCompletionController;
@protocol WebFormDelegate;
@protocol WebDeviceOrientationProvider;
@protocol WebGeolocationProvider;
#if ENABLE(VIDEO)
@class WebVideoFullscreenController;
#endif
#if ENABLE(FULLSCREEN_API)
@class WebFullScreenController;
#endif
extern BOOL applicationIsTerminating;
extern int pluginDatabaseClientCount;
@interface WebViewPrivate : NSObject {
@public
WebCore::Page* page;
id UIDelegate;
id UIDelegateForwarder;
id resourceProgressDelegate;
id downloadDelegate;
id policyDelegate;
id policyDelegateForwarder;
id frameLoadDelegate;
id frameLoadDelegateForwarder;
id <WebFormDelegate> formDelegate;
id editingDelegate;
id editingDelegateForwarder;
id scriptDebugDelegate;
id historyDelegate;
WebInspector *inspector;
WebNodeHighlight *currentNodeHighlight;
BOOL allowsUndo;
float zoomMultiplier;
BOOL zoomsTextOnly;
NSString *applicationNameForUserAgent;
WTF::String userAgent;
BOOL userAgentOverridden;
WebPreferences *preferences;
BOOL useSiteSpecificSpoofing;
NSWindow *hostWindow;
int programmaticFocusCount;
WebResourceDelegateImplementationCache resourceLoadDelegateImplementations;
WebFrameLoadDelegateImplementationCache frameLoadDelegateImplementations;
WebScriptDebugDelegateImplementationCache scriptDebugDelegateImplementations;
WebHistoryDelegateImplementationCache historyDelegateImplementations;
void *observationInfo;
BOOL closed;
BOOL shouldCloseWithWindow;
BOOL mainFrameDocumentReady;
BOOL drawsBackground;
BOOL tabKeyCyclesThroughElementsChanged;
BOOL becomingFirstResponder;
BOOL becomingFirstResponderFromOutside;
BOOL hoverFeedbackSuspended;
BOOL usesPageCache;
BOOL catchesDelegateExceptions;
BOOL cssAnimationsSuspended;
NSColor *backgroundColor;
NSString *mediaStyle;
BOOL hasSpellCheckerDocumentTag;
NSInteger spellCheckerDocumentTag;
BOOL smartInsertDeleteEnabled;
BOOL selectTrailingWhitespaceEnabled;
#if ENABLE(DASHBOARD_SUPPORT)
BOOL dashboardBehaviorAlwaysSendMouseEventsToAllWindows;
BOOL dashboardBehaviorAlwaysSendActiveNullEventsToPlugIns;
BOOL dashboardBehaviorAlwaysAcceptsFirstMouse;
BOOL dashboardBehaviorAllowWheelScrolling;
#endif
WebPluginDatabase *pluginDatabase;
HashMap<unsigned long, RetainPtr<id> > identifierMap;
BOOL _keyboardUIModeAccessed;
WebCore::KeyboardUIMode _keyboardUIMode;
BOOL shouldUpdateWhileOffscreen;
BOOL usesDocumentViews;
BOOL includesFlattenedCompositingLayersWhenDrawingToBitmap;
#if USE(ACCELERATED_COMPOSITING)
BOOL needsOneShotDrawingSynchronization;
BOOL postsAcceleratedCompositingNotifications;
CFRunLoopObserverRef layerSyncRunLoopObserver;
#endif
NSPasteboard *insertionPasteboard;
NSSize lastLayoutSize;
BOOL ignoringMouseDraggedEvents;
NSEvent *mouseDownEvent; BOOL handlingMouseDownEvent;
NSEvent *keyDownEvent;
WebTextCompletionController *completionController;
NSTimer *autoscrollTimer;
NSEvent *autoscrollTriggerEvent;
CFRunLoopTimerRef updateMouseoverTimer;
#if ENABLE(VIDEO)
WebVideoFullscreenController *fullscreenController;
#endif
#if ENABLE(FULLSCREEN_API)
WebFullScreenController *newFullscreenController;
#endif
#if ENABLE(GLIB_SUPPORT)
CFRunLoopObserverRef glibRunLoopObserver;
#endif
id<WebGeolocationProvider> _geolocationProvider;
id<WebDeviceOrientationProvider> m_deviceOrientationProvider;
RefPtr<WebCore::HistoryItem> _globalHistoryItem;
BOOL interactiveFormValidationEnabled;
int validationMessageTimerMagnification;
float customDeviceScaleFactor;
}
@end