Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1104)

Side by Side Diff: Source/web/WebViewImpl.h

Issue 1094453004: Revert of Remove WebViewImpl::setIsAcceleratedCompositingActive (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 722 matching lines...) Expand 10 before | Expand all | Expand 10 after
733 RefPtr<UserGestureToken> m_mouseCaptureGestureToken; 733 RefPtr<UserGestureToken> m_mouseCaptureGestureToken;
734 734
735 RefPtr<UserGestureToken> m_pointerLockGestureToken; 735 RefPtr<UserGestureToken> m_pointerLockGestureToken;
736 736
737 IntRect m_rootLayerScrollDamage; 737 IntRect m_rootLayerScrollDamage;
738 WebLayerTreeView* m_layerTreeView; 738 WebLayerTreeView* m_layerTreeView;
739 WebLayer* m_rootLayer; 739 WebLayer* m_rootLayer;
740 GraphicsLayer* m_rootGraphicsLayer; 740 GraphicsLayer* m_rootGraphicsLayer;
741 GraphicsLayer* m_rootTransformLayer; 741 GraphicsLayer* m_rootTransformLayer;
742 OwnPtr<GraphicsLayerFactory> m_graphicsLayerFactory; 742 OwnPtr<GraphicsLayerFactory> m_graphicsLayerFactory;
743 bool m_isAcceleratedCompositingActive;
744 bool m_layerTreeViewCommitsDeferred;
745 bool m_layerTreeViewClosed;
743 bool m_matchesHeuristicsForGpuRasterization; 746 bool m_matchesHeuristicsForGpuRasterization;
744 // If true, the graphics context is being restored. 747 // If true, the graphics context is being restored.
745 bool m_recreatingGraphicsContext; 748 bool m_recreatingGraphicsContext;
746 static const WebInputEvent* m_currentInputEvent; 749 static const WebInputEvent* m_currentInputEvent;
747 750
748 MediaKeysClientImpl m_mediaKeysClientImpl; 751 MediaKeysClientImpl m_mediaKeysClientImpl;
749 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation; 752 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation;
750 WebPoint m_positionOnFlingStart; 753 WebPoint m_positionOnFlingStart;
751 WebPoint m_globalPositionOnFlingStart; 754 WebPoint m_globalPositionOnFlingStart;
752 int m_flingModifier; 755 int m_flingModifier;
753 bool m_flingSourceDevice; 756 bool m_flingSourceDevice;
754 Vector<OwnPtr<LinkHighlight>> m_linkHighlights; 757 Vector<OwnPtr<LinkHighlight>> m_linkHighlights;
755 OwnPtrWillBePersistent<FullscreenController> m_fullscreenController; 758 OwnPtrWillBePersistent<FullscreenController> m_fullscreenController;
756 759
757 bool m_showFPSCounter; 760 bool m_showFPSCounter;
761 bool m_showPaintRects;
762 bool m_showDebugBorders;
758 bool m_continuousPaintingEnabled; 763 bool m_continuousPaintingEnabled;
764 bool m_showScrollBottleneckRects;
759 WebColor m_baseBackgroundColor; 765 WebColor m_baseBackgroundColor;
760 WebColor m_backgroundColorOverride; 766 WebColor m_backgroundColorOverride;
761 float m_zoomFactorOverride; 767 float m_zoomFactorOverride;
762 768
763 bool m_userGestureObserved; 769 bool m_userGestureObserved;
764 WebDisplayMode m_displayMode; 770 WebDisplayMode m_displayMode;
765 771
766 RefPtr<EventListener> m_popupMouseWheelEventListener; 772 RefPtr<EventListener> m_popupMouseWheelEventListener;
767 }; 773 };
768 774
769 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView()); 775 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView());
770 // We have no ways to check if the specified WebView is an instance of 776 // We have no ways to check if the specified WebView is an instance of
771 // WebViewImpl because WebViewImpl is the only implementation of WebView. 777 // WebViewImpl because WebViewImpl is the only implementation of WebView.
772 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 778 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
773 779
774 } // namespace blink 780 } // namespace blink
775 781
776 #endif 782 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698