#ifndef WebViewImpl_h
#define WebViewImpl_h
#include "BackForwardClientImpl.h"
#include "ChromeClientImpl.h"
#include "ContextMenuClientImpl.h"
#include "DragClientImpl.h"
#include "EditorClientImpl.h"
#include "InspectorClientImpl.h"
#include "MediaKeysClientImpl.h"
#include "NotificationPresenterImpl.h"
#include "PageOverlayList.h"
#include "PageScaleConstraintsSet.h"
#include "PageWidgetDelegate.h"
#include "SpellCheckerClientImpl.h"
#include "StorageClientImpl.h"
#include "UserMediaClientImpl.h"
#include "WebInputEvent.h"
#include "WebNavigationPolicy.h"
#include "WebView.h"
#include "core/page/PagePopupDriver.h"
#include "platform/geometry/IntPoint.h"
#include "platform/geometry/IntRect.h"
#include "platform/graphics/GraphicsLayer.h"
#include "public/platform/WebGestureCurveTarget.h"
#include "public/platform/WebLayer.h"
#include "public/platform/WebPoint.h"
#include "public/platform/WebRect.h"
#include "public/platform/WebSize.h"
#include "public/platform/WebString.h"
#include "wtf/OwnPtr.h"
#include "wtf/RefCounted.h"
#include "wtf/Vector.h"
namespace WebCore {
class DataObject;
class Frame;
class GraphicsLayerFactory;
class HistoryItem;
class HitTestResult;
class KeyboardEvent;
class Page;
class PagePopup;
class PagePopupClient;
class PlatformKeyboardEvent;
class PopupMenuClient;
class RenderLayerCompositor;
}
namespace blink {
class AutocompletePopupMenuClient;
class ContextFeaturesClientImpl;
class ContextMenuClientImpl;
class GeolocationClientProxy;
class LinkHighlight;
class MIDIClientProxy;
class PopupContainer;
class PrerendererClientImpl;
class SpeechInputClientImpl;
class SpeechRecognitionClientProxy;
class UserMediaClientImpl;
class ValidationMessageClientImpl;
class WebAXObject;
class WebActiveGestureAnimation;
class WebDevToolsAgentClient;
class WebDevToolsAgentPrivate;
class WebFrameImpl;
class WebGestureEvent;
class WebImage;
class WebKeyboardEvent;
class WebLayerTreeView;
class WebMouseEvent;
class WebMouseWheelEvent;
class WebPagePopupImpl;
class WebPlugin;
class WebPrerendererClient;
class WebSettingsImpl;
class WebTouchEvent;
class WorkerGlobalScopeProxyProviderImpl;
class FullscreenController;
class WebViewImpl FINAL : public WebView
, public RefCounted<WebViewImpl>
, public WebGestureCurveTarget
, public WebCore::PagePopupDriver
, public PageWidgetEventHandler {
public:
static WebViewImpl* create(WebViewClient*);
virtual void close() OVERRIDE;
virtual WebSize size() OVERRIDE;
virtual void willStartLiveResize() OVERRIDE;
virtual void resize(const WebSize&) OVERRIDE;
virtual void willEndLiveResize() OVERRIDE;
virtual void willEnterFullScreen() OVERRIDE;
virtual void didEnterFullScreen() OVERRIDE;
virtual void willExitFullScreen() OVERRIDE;
virtual void didExitFullScreen() OVERRIDE;
virtual void animate(double) OVERRIDE;
virtual void layout() OVERRIDE;
virtual void enterForceCompositingMode(bool enable) OVERRIDE;
virtual void paint(WebCanvas*, const WebRect&, PaintOptions = ReadbackFromCompositorIfAvailable) OVERRIDE;
virtual bool isTrackingRepaints() const OVERRIDE;
virtual void themeChanged() OVERRIDE;
virtual bool handleInputEvent(const WebInputEvent&) OVERRIDE;
virtual void setCursorVisibilityState(bool isVisible) OVERRIDE;
virtual bool hasTouchEventHandlersAt(const WebPoint&) OVERRIDE;
virtual void applyScrollAndScale(const WebSize&, float) OVERRIDE;
virtual void mouseCaptureLost() OVERRIDE;
virtual void setFocus(bool enable) OVERRIDE;
virtual bool setComposition(
const WebString& text,
const WebVector<WebCompositionUnderline>& underlines,
int selectionStart,
int selectionEnd) OVERRIDE;
virtual bool confirmComposition() OVERRIDE;
virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior) OVERRIDE;
virtual bool confirmComposition(const WebString& text) OVERRIDE;
virtual bool compositionRange(size_t* location, size_t* length) OVERRIDE;
virtual WebTextInputInfo textInputInfo() OVERRIDE;
virtual WebColor backgroundColor() const OVERRIDE;
virtual bool selectionBounds(WebRect& anchor, WebRect& focus) const OVERRIDE;
virtual void didShowCandidateWindow() OVERRIDE;
virtual void didUpdateCandidateWindow() OVERRIDE;
virtual void didHideCandidateWindow() OVERRIDE;
virtual bool selectionTextDirection(WebTextDirection& start, WebTextDirection& end) const OVERRIDE;
virtual bool isSelectionAnchorFirst() const OVERRIDE;
virtual bool caretOrSelectionRange(size_t* location, size_t* length) OVERRIDE;
virtual void setTextDirection(WebTextDirection) OVERRIDE;
virtual bool isAcceleratedCompositingActive() const OVERRIDE;
virtual void willCloseLayerTreeView() OVERRIDE;
virtual void didAcquirePointerLock() OVERRIDE;
virtual void didNotAcquirePointerLock() OVERRIDE;
virtual void didLosePointerLock() OVERRIDE;
virtual void didChangeWindowResizerRect() OVERRIDE;
virtual void didExitCompositingMode() OVERRIDE;
virtual void setMainFrame(WebFrame*) OVERRIDE;
virtual void setAutofillClient(WebAutofillClient*) OVERRIDE;
virtual void setDevToolsAgentClient(WebDevToolsAgentClient*) OVERRIDE;
virtual void setPrerendererClient(WebPrerendererClient*) OVERRIDE;
virtual void setSpellCheckClient(WebSpellCheckClient*) OVERRIDE;
virtual void setPasswordGeneratorClient(WebPasswordGeneratorClient*) OVERRIDE;
virtual WebSettings* settings() OVERRIDE;
virtual WebString pageEncoding() const OVERRIDE;
virtual void setPageEncoding(const WebString&) OVERRIDE;
virtual bool isTransparent() const OVERRIDE;
virtual void setIsTransparent(bool value) OVERRIDE;
virtual void setBaseBackgroundColor(WebColor) OVERRIDE;
virtual bool tabsToLinks() const OVERRIDE;
virtual void setTabsToLinks(bool value) OVERRIDE;
virtual bool tabKeyCyclesThroughElements() const OVERRIDE;
virtual void setTabKeyCyclesThroughElements(bool value) OVERRIDE;
virtual bool isActive() const OVERRIDE;
virtual void setIsActive(bool value) OVERRIDE;
virtual void setDomainRelaxationForbidden(bool, const WebString& scheme) OVERRIDE;
virtual void setWindowFeatures(const WebWindowFeatures&) OVERRIDE;
virtual WebFrame* mainFrame() OVERRIDE;
virtual WebFrame* findFrameByName(
const WebString& name, WebFrame* relativeToFrame) OVERRIDE;
virtual WebFrame* focusedFrame() OVERRIDE;
virtual void setFocusedFrame(WebFrame*) OVERRIDE;
virtual void setInitialFocus(bool reverse) OVERRIDE;
virtual void clearFocusedElement() OVERRIDE;
virtual void scrollFocusedNodeIntoView() OVERRIDE;
virtual void scrollFocusedNodeIntoRect(const WebRect&) OVERRIDE;
virtual void zoomToFindInPageRect(const WebRect&) OVERRIDE;
virtual void advanceFocus(bool reverse) OVERRIDE;
virtual double zoomLevel() OVERRIDE;
virtual double setZoomLevel(double) OVERRIDE;
virtual void zoomLimitsChanged(double minimumZoomLevel, double maximumZoomLevel) OVERRIDE;
virtual float textZoomFactor() OVERRIDE;
virtual float setTextZoomFactor(float) OVERRIDE;
virtual void setInitialPageScaleOverride(float) OVERRIDE;
virtual bool zoomToMultipleTargetsRect(const WebRect&) OVERRIDE;
virtual float pageScaleFactor() const OVERRIDE;
virtual void setPageScaleFactorPreservingScrollOffset(float) OVERRIDE;
virtual void setPageScaleFactor(float scaleFactor, const WebPoint& origin) OVERRIDE;
virtual void setPageScaleFactorLimits(float minPageScale, float maxPageScale) OVERRIDE;
virtual float minimumPageScaleFactor() const OVERRIDE;
virtual float maximumPageScaleFactor() const OVERRIDE;
virtual void saveScrollAndScaleState() OVERRIDE;
virtual void restoreScrollAndScaleState() OVERRIDE;
virtual void resetScrollAndScaleState() OVERRIDE;
virtual void setIgnoreViewportTagScaleLimits(bool) OVERRIDE;
virtual WebSize contentsPreferredMinimumSize() OVERRIDE;
virtual float deviceScaleFactor() const OVERRIDE;
virtual void setDeviceScaleFactor(float) OVERRIDE;
virtual void setFixedLayoutSize(const WebSize&) OVERRIDE;
virtual void enableAutoResizeMode(
const WebSize& minSize,
const WebSize& maxSize) OVERRIDE;
virtual void disableAutoResizeMode() OVERRIDE;
virtual void performMediaPlayerAction(
const WebMediaPlayerAction& action,
const WebPoint& location) OVERRIDE;
virtual void performPluginAction(
const WebPluginAction&,
const WebPoint&) OVERRIDE;
virtual WebHitTestResult hitTestResultAt(const WebPoint&) OVERRIDE;
virtual void copyImageAt(const WebPoint&) OVERRIDE;
virtual void dragSourceEndedAt(
const WebPoint& clientPoint,
const WebPoint& screenPoint,
WebDragOperation) OVERRIDE;
virtual void dragSourceMovedTo(
const WebPoint& clientPoint,
const WebPoint& screenPoint,
WebDragOperation) OVERRIDE;
virtual void dragSourceSystemDragEnded() OVERRIDE;
virtual WebDragOperation dragTargetDragEnter(
const WebDragData&,
const WebPoint& clientPoint,
const WebPoint& screenPoint,
WebDragOperationsMask operationsAllowed,
int keyModifiers) OVERRIDE;
virtual WebDragOperation dragTargetDragOver(
const WebPoint& clientPoint,
const WebPoint& screenPoint,
WebDragOperationsMask operationsAllowed,
int keyModifiers) OVERRIDE;
virtual void dragTargetDragLeave() OVERRIDE;
virtual void dragTargetDrop(
const WebPoint& clientPoint,
const WebPoint& screenPoint,
int keyModifiers) OVERRIDE;
virtual void spellingMarkers(WebVector<uint32_t>* markers) OVERRIDE;
virtual unsigned long createUniqueIdentifierForRequest() OVERRIDE;
virtual void inspectElementAt(const WebPoint&) OVERRIDE;
virtual WebString inspectorSettings() const OVERRIDE;
virtual void setInspectorSettings(const WebString&) OVERRIDE;
virtual bool inspectorSetting(const WebString& key, WebString* value) const OVERRIDE;
virtual void setInspectorSetting(const WebString& key, const WebString& value) OVERRIDE;
virtual void setCompositorDeviceScaleFactorOverride(float) OVERRIDE;
virtual void setRootLayerTransform(const WebSize& offset, float scale) OVERRIDE;
virtual WebDevToolsAgent* devToolsAgent() OVERRIDE;
virtual WebAXObject accessibilityObject() OVERRIDE;
virtual void setSelectionColors(unsigned activeBackgroundColor,
unsigned activeForegroundColor,
unsigned inactiveBackgroundColor,
unsigned inactiveForegroundColor) OVERRIDE;
virtual void performCustomContextMenuAction(unsigned action) OVERRIDE;
virtual void showContextMenu() OVERRIDE;
virtual WebString getSmartClipData(WebRect) OVERRIDE;
virtual void hidePopups() OVERRIDE;
virtual void addPageOverlay(WebPageOverlay*, int ) OVERRIDE;
virtual void removePageOverlay(WebPageOverlay*) OVERRIDE;
virtual void transferActiveWheelFlingAnimation(const WebActiveWheelFlingParameters&) OVERRIDE;
virtual bool endActiveFlingAnimation() OVERRIDE;
virtual void setShowPaintRects(bool) OVERRIDE;
void setShowDebugBorders(bool);
virtual void setShowFPSCounter(bool) OVERRIDE;
virtual void setContinuousPaintingEnabled(bool) OVERRIDE;
virtual void setShowScrollBottleneckRects(bool) OVERRIDE;
virtual void getSelectionRootBounds(WebRect& bounds) const OVERRIDE;
void suppressInvalidations(bool enable);
void invalidateRect(const WebCore::IntRect&);
void setIgnoreInputEvents(bool newValue);
void setBackgroundColorOverride(WebColor);
void setZoomFactorOverride(float);
WebDevToolsAgentPrivate* devToolsAgentPrivate() { return m_devToolsAgent.get(); }
WebCore::Color baseBackgroundColor() const { return m_baseBackgroundColor; }
PageOverlayList* pageOverlays() const { return m_pageOverlays.get(); }
void setOverlayLayer(WebCore::GraphicsLayer*);
const WebPoint& lastMouseDownPoint() const
{
return m_lastMouseDownPoint;
}
WebCore::Frame* focusedWebCoreFrame() const;
WebCore::Element* focusedElement() const;
static WebViewImpl* fromPage(WebCore::Page*);
WebViewClient* client()
{
return m_client;
}
WebAutofillClient* autofillClient()
{
return m_autofillClient;
}
WebSpellCheckClient* spellCheckClient()
{
return m_spellCheckClient;
}
WebPasswordGeneratorClient* passwordGeneratorClient() const
{
return m_passwordGeneratorClient;
}
WebCore::Page* page() const
{
return m_page.get();
}
WebFrameImpl* mainFrameImpl();
void mouseContextMenu(const WebMouseEvent&);
void mouseDoubleClick(const WebMouseEvent&);
bool detectContentOnTouch(const WebPoint&);
bool startPageScaleAnimation(const WebCore::IntPoint& targetPosition, bool useAnchor, float newScale, double durationInSeconds);
void numberOfWheelEventHandlersChanged(unsigned);
void hasTouchEventHandlers(bool);
virtual bool scrollBy(const WebFloatSize& delta, const WebFloatSize& velocity) OVERRIDE;
virtual void scrollBy(const WebFloatSize& delta) OVERRIDE;
bool sendContextMenuEvent(const WebKeyboardEvent&);
void didCommitLoad(bool isNewNavigation, bool isNavigationWithinPage);
void layoutUpdated(WebFrameImpl*);
void willInsertBody(WebFrameImpl*);
void didChangeContentsSize();
void deviceOrPageScaleFactorChanged();
static bool useExternalPopupMenus();
bool contextMenuAllowed() const
{
return m_contextMenuAllowed;
}
bool shouldAutoResize() const
{
return m_shouldAutoResize;
}
WebCore::IntSize minAutoSize() const
{
return m_minAutoSize;
}
WebCore::IntSize maxAutoSize() const
{
return m_maxAutoSize;
}
void updateMainFrameLayoutSize();
void updatePageDefinedViewportConstraints(const WebCore::ViewportDescription&);
void startDragging(
WebCore::LocalFrame*,
const WebDragData& dragData,
WebDragOperationsMask mask,
const WebImage& dragImage,
const WebPoint& dragImageOffset);
NotificationPresenterImpl* notificationPresenterImpl();
bool bubblingScroll(WebCore::ScrollDirection, WebCore::ScrollGranularity);
void popupOpened(PopupContainer*);
void popupClosed(PopupContainer*);
virtual WebCore::PagePopup* openPagePopup(WebCore::PagePopupClient*, const WebCore::IntRect& originBoundsInRootView) OVERRIDE;
virtual void closePagePopup(WebCore::PagePopup*) OVERRIDE;
static const WebInputEvent* currentInputEvent()
{
return m_currentInputEvent;
}
WebCore::GraphicsLayer* rootGraphicsLayer();
bool allowsAcceleratedCompositing();
void setRootGraphicsLayer(WebCore::GraphicsLayer*);
void scheduleCompositingLayerSync();
void scrollRootLayer();
WebCore::GraphicsLayerFactory* graphicsLayerFactory() const;
WebCore::RenderLayerCompositor* compositor() const;
void registerForAnimations(WebLayer*);
void scheduleAnimation();
virtual void setVisibilityState(WebPageVisibilityState, bool) OVERRIDE;
PopupContainer* selectPopup() const { return m_selectPopup.get(); }
bool hasOpenedPopup() const { return m_selectPopup || m_pagePopup; }
static bool mapKeyCodeForScroll(int keyCode,
WebCore::ScrollDirection* scrollDirection,
WebCore::ScrollGranularity* scrollGranularity);
void fullFramePluginZoomLevelChanged(double zoomLevel);
void computeScaleAndScrollForBlockRect(const WebPoint& hitPoint, const WebRect& blockRect, float padding, float defaultScaleWhenAlreadyLegible, float& scale, WebPoint& scroll);
WebCore::Node* bestTapNode(const WebCore::PlatformGestureEvent& tapEvent);
void enableTapHighlightAtPoint(const WebCore::PlatformGestureEvent& tapEvent);
void enableTapHighlights(Vector<WebCore::Node*>&);
void computeScaleAndScrollForFocusedNode(WebCore::Node* focusedNode, float& scale, WebCore::IntPoint& scroll, bool& needAnimation);
void animateDoubleTapZoom(const WebCore::IntPoint&);
void enableFakePageScaleAnimationForTesting(bool);
bool fakeDoubleTapAnimationPendingForTesting() const { return m_doubleTapZoomPending; }
WebCore::IntPoint fakePageScaleAnimationTargetPositionForTesting() const { return m_fakePageScaleAnimationTargetPosition; }
float fakePageScaleAnimationPageScaleForTesting() const { return m_fakePageScaleAnimationPageScaleFactor; }
bool fakePageScaleAnimationUseAnchorForTesting() const { return m_fakePageScaleAnimationUseAnchor; }
void enterFullScreenForElement(WebCore::Element*);
void exitFullScreenForElement(WebCore::Element*);
void sendResizeEventAndRepaint();
bool hasHorizontalScrollbar();
bool hasVerticalScrollbar();
bool requestPointerLock();
void requestPointerUnlock();
bool isPointerLocked();
bool shouldDisableDesktopWorkarounds();
unsigned numLinkHighlights() { return m_linkHighlights.size(); }
LinkHighlight* linkHighlight(int i) { return m_linkHighlights[i].get(); }
WebSettingsImpl* settingsImpl();
WebRect computeBlockBounds(const WebRect&, bool ignoreClipping);
WebCore::IntPoint clampOffsetAtScale(const WebCore::IntPoint& offset, float scale);
WebVector<WebCompositionUnderline> compositionUnderlines() const;
WebLayerTreeView* layerTreeView() const { return m_layerTreeView; }
private:
float legibleScale() const;
void refreshPageScaleFactorAfterLayout();
void resumeTreeViewCommits();
void setUserAgentPageScaleConstraints(WebCore::PageScaleConstraints newConstraints);
float clampPageScaleFactorToLimits(float) const;
WebCore::IntSize contentsSize() const;
void resetSavedScrollAndScaleState();
void updateMainFrameScrollPosition(const WebCore::IntPoint& scrollPosition, bool programmaticScroll);
friend class WebView;
friend class WTF::RefCounted<WebViewImpl>;
friend void setCurrentInputEventForTest(const WebInputEvent*);
enum DragAction {
DragEnter,
DragOver
};
explicit WebViewImpl(WebViewClient*);
virtual ~WebViewImpl();
WebTextInputType textInputType();
WebString inputModeOfFocusedElement();
bool keyEventDefault(const WebKeyboardEvent&);
bool confirmComposition(const WebString& text, ConfirmCompositionBehavior);
bool scrollViewWithKeyboard(int keyCode, int modifiers);
void hideSelectPopup();
WebCore::HitTestResult hitTestResultForWindowPos(const WebCore::IntPoint&);
WebDragOperation dragTargetDragEnterOrOver(const WebPoint& clientPoint,
const WebPoint& screenPoint,
DragAction,
int keyModifiers);
void configureAutoResizeMode();
void setIsAcceleratedCompositingActive(bool);
void doComposite();
void doPixelReadbackToCanvas(WebCanvas*, const WebCore::IntRect&);
void reallocateRenderer();
void updateLayerTreeViewport();
void updateLayerTreeBackgroundColor();
void updateRootLayerTransform();
void updateLayerTreeDeviceScaleFactor();
WebRect widenRectWithinPageBounds(const WebRect& source, int targetMargin, int minimumMargin);
void pointerLockMouseEvent(const WebInputEvent&);
virtual void handleMouseLeave(WebCore::LocalFrame&, const WebMouseEvent&) OVERRIDE;
virtual void handleMouseDown(WebCore::LocalFrame&, const WebMouseEvent&) OVERRIDE;
virtual void handleMouseUp(WebCore::LocalFrame&, const WebMouseEvent&) OVERRIDE;
virtual bool handleMouseWheel(WebCore::LocalFrame&, const WebMouseWheelEvent&) OVERRIDE;
virtual bool handleGestureEvent(const WebGestureEvent&) OVERRIDE;
virtual bool handleKeyEvent(const WebKeyboardEvent&) OVERRIDE;
virtual bool handleCharEvent(const WebKeyboardEvent&) OVERRIDE;
WebCore::InputMethodContext* inputMethodContext();
WebPlugin* focusedPluginIfInputMethodSupported(WebCore::LocalFrame*);
WebViewClient* m_client;
WebAutofillClient* m_autofillClient;
WebSpellCheckClient* m_spellCheckClient;
WebPasswordGeneratorClient* m_passwordGeneratorClient;
ChromeClientImpl m_chromeClientImpl;
ContextMenuClientImpl m_contextMenuClientImpl;
DragClientImpl m_dragClientImpl;
EditorClientImpl m_editorClientImpl;
InspectorClientImpl m_inspectorClientImpl;
BackForwardClientImpl m_backForwardClientImpl;
SpellCheckerClientImpl m_spellCheckerClientImpl;
StorageClientImpl m_storageClientImpl;
WebSize m_size;
bool m_fixedLayoutSizeLock;
bool m_shouldAutoResize;
WebCore::IntSize m_minAutoSize;
WebCore::IntSize m_maxAutoSize;
OwnPtr<WebCore::Page> m_page;
OwnPtr<WebSettingsImpl> m_webSettings;
RefPtrWillBePersistent<WebCore::DataObject> m_currentDragData;
WebPoint m_lastMouseDownPoint;
double m_zoomLevel;
double m_minimumZoomLevel;
double m_maximumZoomLevel;
PageScaleConstraintsSet m_pageScaleConstraintsSet;
float m_savedPageScaleFactor;
WebCore::IntSize m_savedScrollOffset;
float m_doubleTapZoomPageScaleFactor;
bool m_doubleTapZoomPending;
bool m_enableFakePageScaleAnimationForTesting;
WebCore::IntPoint m_fakePageScaleAnimationTargetPosition;
float m_fakePageScaleAnimationPageScaleFactor;
bool m_fakePageScaleAnimationUseAnchor;
bool m_contextMenuAllowed;
bool m_doingDragAndDrop;
bool m_ignoreInputEvents;
float m_compositorDeviceScaleFactorOverride;
WebSize m_rootLayerOffset;
float m_rootLayerScale;
bool m_suppressNextKeypressEvent;
bool m_imeAcceptEvents;
WebDragOperation m_operationsAllowed;
WebDragOperation m_dragOperation;
OwnPtr<ContextFeaturesClientImpl> m_featureSwitchClient;
RefPtr<PopupContainer> m_selectPopup;
RefPtr<WebPagePopupImpl> m_pagePopup;
OwnPtr<WebDevToolsAgentPrivate> m_devToolsAgent;
OwnPtr<PageOverlayList> m_pageOverlays;
bool m_isTransparent;
bool m_tabsToLinks;
WebString m_inspectorSettings;
typedef HashMap<WTF::String, WTF::String> SettingsMap;
OwnPtr<SettingsMap> m_inspectorSettingsMap;
NotificationPresenterImpl m_notificationPresenter;
RefPtr<WebCore::Node> m_mouseCaptureNode;
WebCore::IntRect m_rootLayerScrollDamage;
WebLayerTreeView* m_layerTreeView;
WebLayer* m_rootLayer;
WebCore::GraphicsLayer* m_rootGraphicsLayer;
WebCore::GraphicsLayer* m_rootTransformLayer;
OwnPtr<WebCore::GraphicsLayerFactory> m_graphicsLayerFactory;
bool m_isAcceleratedCompositingActive;
bool m_layerTreeViewCommitsDeferred;
bool m_compositorCreationFailed;
bool m_recreatingGraphicsContext;
static const WebInputEvent* m_currentInputEvent;
OwnPtr<GeolocationClientProxy> m_geolocationClientProxy;
UserMediaClientImpl m_userMediaClientImpl;
MediaKeysClientImpl m_mediaKeysClientImpl;
OwnPtr<MIDIClientProxy> m_midiClientProxy;
OwnPtr<WebActiveGestureAnimation> m_gestureAnimation;
WebPoint m_positionOnFlingStart;
WebPoint m_globalPositionOnFlingStart;
int m_flingModifier;
bool m_flingSourceDevice;
Vector<OwnPtr<LinkHighlight> > m_linkHighlights;
OwnPtr<ValidationMessageClientImpl> m_validationMessage;
OwnPtr<FullscreenController> m_fullscreenController;
bool m_showFPSCounter;
bool m_showPaintRects;
bool m_showDebugBorders;
bool m_continuousPaintingEnabled;
bool m_showScrollBottleneckRects;
WebColor m_baseBackgroundColor;
WebColor m_backgroundColorOverride;
float m_zoomFactorOverride;
};
DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
}
#endif