| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Represents the browser side of the browser <--> renderer communication | 5 // Represents the browser side of the browser <--> renderer communication |
| 6 // channel. There will be one RenderProcessHost per renderer process. | 6 // channel. There will be one RenderProcessHost per renderer process. |
| 7 | 7 |
| 8 #include "content/browser/renderer_host/render_process_host_impl.h" | 8 #include "content/browser/renderer_host/render_process_host_impl.h" |
| 9 | 9 |
| 10 #include <algorithm> | 10 #include <algorithm> |
| (...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 832 switches::kDisableRendererSideMixing, | 832 switches::kDisableRendererSideMixing, |
| 833 switches::kEnableStrictSiteIsolation, | 833 switches::kEnableStrictSiteIsolation, |
| 834 switches::kDisableFullScreen, | 834 switches::kDisableFullScreen, |
| 835 switches::kEnableNewDialogStyle, | 835 switches::kEnableNewDialogStyle, |
| 836 #if defined(ENABLE_PLUGINS) | 836 #if defined(ENABLE_PLUGINS) |
| 837 switches::kEnablePepperTesting, | 837 switches::kEnablePepperTesting, |
| 838 #endif | 838 #endif |
| 839 switches::kEnablePreparsedJsCaching, | 839 switches::kEnablePreparsedJsCaching, |
| 840 switches::kEnablePruneGpuCommandBuffers, | 840 switches::kEnablePruneGpuCommandBuffers, |
| 841 switches::kEnablePinch, | 841 switches::kEnablePinch, |
| 842 switches::kDisablePinch, |
| 842 #if defined(OS_MACOSX) | 843 #if defined(OS_MACOSX) |
| 843 // Allow this to be set when invoking the browser and relayed along. | 844 // Allow this to be set when invoking the browser and relayed along. |
| 844 switches::kEnableSandboxLogging, | 845 switches::kEnableSandboxLogging, |
| 845 #endif | 846 #endif |
| 846 switches::kEnableSeccompSandbox, | 847 switches::kEnableSeccompSandbox, |
| 847 switches::kEnableSoftwareCompositingGLAdapter, | 848 switches::kEnableSoftwareCompositingGLAdapter, |
| 848 switches::kEnableStatsTable, | 849 switches::kEnableStatsTable, |
| 849 switches::kEnableThreadedCompositing, | 850 switches::kEnableThreadedCompositing, |
| 850 switches::kEnableCompositingForFixedPosition, | 851 switches::kEnableCompositingForFixedPosition, |
| 851 switches::kEnableHighDpiCompositingForFixedPosition, | 852 switches::kEnableHighDpiCompositingForFixedPosition, |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 904 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 905 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
| 905 cc::switches::kCompositeToMailbox, | 906 cc::switches::kCompositeToMailbox, |
| 906 cc::switches::kDisableCheapnessEstimator, | 907 cc::switches::kDisableCheapnessEstimator, |
| 907 cc::switches::kDisableColorEstimator, | 908 cc::switches::kDisableColorEstimator, |
| 908 cc::switches::kDisableImplSidePainting, | 909 cc::switches::kDisableImplSidePainting, |
| 909 cc::switches::kDisableThreadedAnimation, | 910 cc::switches::kDisableThreadedAnimation, |
| 910 cc::switches::kEnableCompositorFrameMessage, | 911 cc::switches::kEnableCompositorFrameMessage, |
| 911 cc::switches::kEnableImplSidePainting, | 912 cc::switches::kEnableImplSidePainting, |
| 912 cc::switches::kEnablePartialSwap, | 913 cc::switches::kEnablePartialSwap, |
| 913 cc::switches::kEnablePerTilePainting, | 914 cc::switches::kEnablePerTilePainting, |
| 915 cc::switches::kEnablePinchZoomScrollbars, |
| 916 cc::switches::kDisablePinchZoomScrollbars, |
| 914 cc::switches::kEnablePredictionBenchmarking, | 917 cc::switches::kEnablePredictionBenchmarking, |
| 915 cc::switches::kEnableRightAlignedScheduling, | 918 cc::switches::kEnableRightAlignedScheduling, |
| 916 cc::switches::kEnableTopControlsPositionCalculation, | 919 cc::switches::kEnableTopControlsPositionCalculation, |
| 917 cc::switches::kLowResolutionContentsScaleFactor, | 920 cc::switches::kLowResolutionContentsScaleFactor, |
| 918 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 921 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
| 919 cc::switches::kNumRasterThreads, | 922 cc::switches::kNumRasterThreads, |
| 920 cc::switches::kMaxPrepaintTileDistance, | 923 cc::switches::kMaxPrepaintTileDistance, |
| 921 cc::switches::kMaxTilesForInterestArea, | 924 cc::switches::kMaxTilesForInterestArea, |
| 922 cc::switches::kShowCompositedLayerBorders, | 925 cc::switches::kShowCompositedLayerBorders, |
| 923 cc::switches::kShowCompositedLayerTree, | 926 cc::switches::kShowCompositedLayerTree, |
| (...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1712 TRACE_EVENT0("renderer_host", | 1715 TRACE_EVENT0("renderer_host", |
| 1713 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1716 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
| 1714 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; | 1717 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; |
| 1715 ack_params.sync_point = 0; | 1718 ack_params.sync_point = 0; |
| 1716 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1719 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
| 1717 gpu_process_host_id, | 1720 gpu_process_host_id, |
| 1718 ack_params); | 1721 ack_params); |
| 1719 } | 1722 } |
| 1720 | 1723 |
| 1721 } // namespace content | 1724 } // namespace content |
| OLD | NEW |