| 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 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 731 RefPtr<UserGestureToken> m_mouseCaptureGestureToken; | 731 RefPtr<UserGestureToken> m_mouseCaptureGestureToken; |
| 732 | 732 |
| 733 RefPtr<UserGestureToken> m_pointerLockGestureToken; | 733 RefPtr<UserGestureToken> m_pointerLockGestureToken; |
| 734 | 734 |
| 735 IntRect m_rootLayerScrollDamage; | 735 IntRect m_rootLayerScrollDamage; |
| 736 WebLayerTreeView* m_layerTreeView; | 736 WebLayerTreeView* m_layerTreeView; |
| 737 WebLayer* m_rootLayer; | 737 WebLayer* m_rootLayer; |
| 738 GraphicsLayer* m_rootGraphicsLayer; | 738 GraphicsLayer* m_rootGraphicsLayer; |
| 739 GraphicsLayer* m_rootTransformLayer; | 739 GraphicsLayer* m_rootTransformLayer; |
| 740 OwnPtr<GraphicsLayerFactory> m_graphicsLayerFactory; | 740 OwnPtr<GraphicsLayerFactory> m_graphicsLayerFactory; |
| 741 bool m_isAcceleratedCompositingActive; | |
| 742 bool m_layerTreeViewCommitsDeferred; | |
| 743 bool m_layerTreeViewClosed; | |
| 744 bool m_matchesHeuristicsForGpuRasterization; | 741 bool m_matchesHeuristicsForGpuRasterization; |
| 745 // If true, the graphics context is being restored. | 742 // If true, the graphics context is being restored. |
| 746 bool m_recreatingGraphicsContext; | 743 bool m_recreatingGraphicsContext; |
| 747 static const WebInputEvent* m_currentInputEvent; | 744 static const WebInputEvent* m_currentInputEvent; |
| 748 | 745 |
| 749 MediaKeysClientImpl m_mediaKeysClientImpl; | 746 MediaKeysClientImpl m_mediaKeysClientImpl; |
| 750 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation; | 747 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation; |
| 751 WebPoint m_positionOnFlingStart; | 748 WebPoint m_positionOnFlingStart; |
| 752 WebPoint m_globalPositionOnFlingStart; | 749 WebPoint m_globalPositionOnFlingStart; |
| 753 int m_flingModifier; | 750 int m_flingModifier; |
| 754 bool m_flingSourceDevice; | 751 bool m_flingSourceDevice; |
| 755 Vector<OwnPtr<LinkHighlight>> m_linkHighlights; | 752 Vector<OwnPtr<LinkHighlight>> m_linkHighlights; |
| 756 OwnPtrWillBePersistent<FullscreenController> m_fullscreenController; | 753 OwnPtrWillBePersistent<FullscreenController> m_fullscreenController; |
| 757 | 754 |
| 758 bool m_showFPSCounter; | 755 bool m_showFPSCounter; |
| 759 bool m_showPaintRects; | |
| 760 bool m_showDebugBorders; | |
| 761 bool m_continuousPaintingEnabled; | 756 bool m_continuousPaintingEnabled; |
| 762 bool m_showScrollBottleneckRects; | |
| 763 WebColor m_baseBackgroundColor; | 757 WebColor m_baseBackgroundColor; |
| 764 WebColor m_backgroundColorOverride; | 758 WebColor m_backgroundColorOverride; |
| 765 float m_zoomFactorOverride; | 759 float m_zoomFactorOverride; |
| 766 | 760 |
| 767 bool m_userGestureObserved; | 761 bool m_userGestureObserved; |
| 768 WebDisplayMode m_displayMode; | 762 WebDisplayMode m_displayMode; |
| 769 | 763 |
| 770 RefPtr<EventListener> m_popupMouseWheelEventListener; | 764 RefPtr<EventListener> m_popupMouseWheelEventListener; |
| 771 }; | 765 }; |
| 772 | 766 |
| 773 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); | 767 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); |
| 774 // We have no ways to check if the specified WebView is an instance of | 768 // We have no ways to check if the specified WebView is an instance of |
| 775 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 769 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 776 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 770 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 777 | 771 |
| 778 } // namespace blink | 772 } // namespace blink |
| 779 | 773 |
| 780 #endif | 774 #endif |
| OLD | NEW |