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

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

Issue 1078473002: Remove WebViewImpl::setIsAcceleratedCompositingActive (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix issues 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') | Source/web/WebViewImpl.cpp » ('J')
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 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebViewImpl.cpp » ('j') | Source/web/WebViewImpl.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698