| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 #include "DragClientImpl.h" | 37 #include "DragClientImpl.h" |
| 38 #include "EditorClientImpl.h" | 38 #include "EditorClientImpl.h" |
| 39 #include "InspectorClientImpl.h" | 39 #include "InspectorClientImpl.h" |
| 40 #include "NotificationPresenterImpl.h" | 40 #include "NotificationPresenterImpl.h" |
| 41 #include "PageOverlayList.h" | 41 #include "PageOverlayList.h" |
| 42 #include "PageWidgetDelegate.h" | 42 #include "PageWidgetDelegate.h" |
| 43 #include "UserMediaClientImpl.h" | 43 #include "UserMediaClientImpl.h" |
| 44 #include "WebInputEvent.h" | 44 #include "WebInputEvent.h" |
| 45 #include "WebNavigationPolicy.h" | 45 #include "WebNavigationPolicy.h" |
| 46 #include "WebView.h" | 46 #include "WebView.h" |
| 47 #include "WebViewBenchmarkSupportImpl.h" | |
| 48 #include "core/page/PagePopupDriver.h" | 47 #include "core/page/PagePopupDriver.h" |
| 49 #include "core/page/PageScaleConstraintsSet.h" | 48 #include "core/page/PageScaleConstraintsSet.h" |
| 50 #include "core/platform/Timer.h" | 49 #include "core/platform/Timer.h" |
| 51 #include "core/platform/graphics/FloatSize.h" | 50 #include "core/platform/graphics/FloatSize.h" |
| 52 #include "core/platform/graphics/GraphicsContext3D.h" | 51 #include "core/platform/graphics/GraphicsContext3D.h" |
| 53 #include "core/platform/graphics/GraphicsLayer.h" | 52 #include "core/platform/graphics/GraphicsLayer.h" |
| 54 #include "core/platform/graphics/IntPoint.h" | 53 #include "core/platform/graphics/IntPoint.h" |
| 55 #include "core/platform/graphics/IntRect.h" | 54 #include "core/platform/graphics/IntRect.h" |
| 56 #include "public/platform/WebFloatQuad.h" | 55 #include "public/platform/WebFloatQuad.h" |
| 57 #include "public/platform/WebGestureCurveTarget.h" | 56 #include "public/platform/WebGestureCurveTarget.h" |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 class WebHelperPluginImpl; | 113 class WebHelperPluginImpl; |
| 115 class WebImage; | 114 class WebImage; |
| 116 class WebKeyboardEvent; | 115 class WebKeyboardEvent; |
| 117 class WebLayerTreeView; | 116 class WebLayerTreeView; |
| 118 class WebMouseEvent; | 117 class WebMouseEvent; |
| 119 class WebMouseWheelEvent; | 118 class WebMouseWheelEvent; |
| 120 class WebPagePopupImpl; | 119 class WebPagePopupImpl; |
| 121 class WebPrerendererClient; | 120 class WebPrerendererClient; |
| 122 class WebSettingsImpl; | 121 class WebSettingsImpl; |
| 123 class WebTouchEvent; | 122 class WebTouchEvent; |
| 124 class WebViewBenchmarkSupport; | |
| 125 class FullscreenController; | 123 class FullscreenController; |
| 126 | 124 |
| 127 class WebViewImpl : public WebView | 125 class WebViewImpl : public WebView |
| 128 , public RefCounted<WebViewImpl> | 126 , public RefCounted<WebViewImpl> |
| 129 , public WebGestureCurveTarget | 127 , public WebGestureCurveTarget |
| 130 , public WebCore::PagePopupDriver | 128 , public WebCore::PagePopupDriver |
| 131 , public PageWidgetEventHandler { | 129 , public PageWidgetEventHandler { |
| 132 public: | 130 public: |
| 133 | 131 |
| 134 // WebWidget methods: | 132 // WebWidget methods: |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 unsigned trackColor); | 302 unsigned trackColor); |
| 305 virtual void setSelectionColors(unsigned activeBackgroundColor, | 303 virtual void setSelectionColors(unsigned activeBackgroundColor, |
| 306 unsigned activeForegroundColor, | 304 unsigned activeForegroundColor, |
| 307 unsigned inactiveBackgroundColor, | 305 unsigned inactiveBackgroundColor, |
| 308 unsigned inactiveForegroundColor); | 306 unsigned inactiveForegroundColor); |
| 309 virtual void performCustomContextMenuAction(unsigned action); | 307 virtual void performCustomContextMenuAction(unsigned action); |
| 310 virtual void showContextMenu(); | 308 virtual void showContextMenu(); |
| 311 virtual void addPageOverlay(WebPageOverlay*, int /* zOrder */); | 309 virtual void addPageOverlay(WebPageOverlay*, int /* zOrder */); |
| 312 virtual void removePageOverlay(WebPageOverlay*); | 310 virtual void removePageOverlay(WebPageOverlay*); |
| 313 virtual void transferActiveWheelFlingAnimation(const WebActiveWheelFlingPara
meters&); | 311 virtual void transferActiveWheelFlingAnimation(const WebActiveWheelFlingPara
meters&); |
| 314 virtual WebViewBenchmarkSupport* benchmarkSupport(); | |
| 315 virtual void setShowPaintRects(bool); | 312 virtual void setShowPaintRects(bool); |
| 316 virtual void setShowDebugBorders(bool); | 313 virtual void setShowDebugBorders(bool); |
| 317 virtual void setShowFPSCounter(bool); | 314 virtual void setShowFPSCounter(bool); |
| 318 virtual void setContinuousPaintingEnabled(bool); | 315 virtual void setContinuousPaintingEnabled(bool); |
| 319 virtual void setShowScrollBottleneckRects(bool); | 316 virtual void setShowScrollBottleneckRects(bool); |
| 320 | 317 |
| 321 // WebViewImpl | 318 // WebViewImpl |
| 322 | 319 |
| 323 void suppressInvalidations(bool enable); | 320 void suppressInvalidations(bool enable); |
| 324 void invalidateRect(const WebCore::IntRect&); | 321 void invalidateRect(const WebCore::IntRect&); |
| (...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 786 OwnPtr<SettingsMap> m_inspectorSettingsMap; | 783 OwnPtr<SettingsMap> m_inspectorSettingsMap; |
| 787 | 784 |
| 788 #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS) | 785 #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS) |
| 789 // The provider of desktop notifications; | 786 // The provider of desktop notifications; |
| 790 NotificationPresenterImpl m_notificationPresenter; | 787 NotificationPresenterImpl m_notificationPresenter; |
| 791 #endif | 788 #endif |
| 792 | 789 |
| 793 // If set, the (plugin) node which has mouse capture. | 790 // If set, the (plugin) node which has mouse capture. |
| 794 RefPtr<WebCore::Node> m_mouseCaptureNode; | 791 RefPtr<WebCore::Node> m_mouseCaptureNode; |
| 795 | 792 |
| 796 WebViewBenchmarkSupportImpl m_benchmarkSupport; | |
| 797 | |
| 798 WebCore::IntRect m_rootLayerScrollDamage; | 793 WebCore::IntRect m_rootLayerScrollDamage; |
| 799 WebLayerTreeView* m_layerTreeView; | 794 WebLayerTreeView* m_layerTreeView; |
| 800 WebLayer* m_rootLayer; | 795 WebLayer* m_rootLayer; |
| 801 WebCore::GraphicsLayer* m_rootGraphicsLayer; | 796 WebCore::GraphicsLayer* m_rootGraphicsLayer; |
| 802 OwnPtr<WebCore::GraphicsLayerFactory> m_graphicsLayerFactory; | 797 OwnPtr<WebCore::GraphicsLayerFactory> m_graphicsLayerFactory; |
| 803 bool m_isAcceleratedCompositingActive; | 798 bool m_isAcceleratedCompositingActive; |
| 804 bool m_layerTreeViewCommitsDeferred; | 799 bool m_layerTreeViewCommitsDeferred; |
| 805 bool m_compositorCreationFailed; | 800 bool m_compositorCreationFailed; |
| 806 // If true, the graphics context is being restored. | 801 // If true, the graphics context is being restored. |
| 807 bool m_recreatingGraphicsContext; | 802 bool m_recreatingGraphicsContext; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 839 bool m_showScrollBottleneckRects; | 834 bool m_showScrollBottleneckRects; |
| 840 WebColor m_baseBackgroundColor; | 835 WebColor m_baseBackgroundColor; |
| 841 | 836 |
| 842 WebCore::Timer<WebViewImpl> m_helperPluginCloseTimer; | 837 WebCore::Timer<WebViewImpl> m_helperPluginCloseTimer; |
| 843 Vector<RefPtr<WebHelperPluginImpl> > m_helperPluginsPendingClose; | 838 Vector<RefPtr<WebHelperPluginImpl> > m_helperPluginsPendingClose; |
| 844 }; | 839 }; |
| 845 | 840 |
| 846 } // namespace WebKit | 841 } // namespace WebKit |
| 847 | 842 |
| 848 #endif | 843 #endif |
| OLD | NEW |