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 947 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
958 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 958 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
959 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 959 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
960 cc::switches::kCompositeToMailbox, | 960 cc::switches::kCompositeToMailbox, |
961 cc::switches::kDisableColorEstimator, | 961 cc::switches::kDisableColorEstimator, |
962 cc::switches::kDisableImplSidePainting, | 962 cc::switches::kDisableImplSidePainting, |
963 cc::switches::kDisableThreadedAnimation, | 963 cc::switches::kDisableThreadedAnimation, |
964 cc::switches::kEnableCompositorFrameMessage, | 964 cc::switches::kEnableCompositorFrameMessage, |
965 cc::switches::kEnableImplSidePainting, | 965 cc::switches::kEnableImplSidePainting, |
966 cc::switches::kEnablePartialSwap, | 966 cc::switches::kEnablePartialSwap, |
967 cc::switches::kEnablePerTilePainting, | 967 cc::switches::kEnablePerTilePainting, |
| 968 cc::switches::kEnablePinchVirtualViewport, |
968 cc::switches::kEnableRightAlignedScheduling, | 969 cc::switches::kEnableRightAlignedScheduling, |
969 cc::switches::kEnableTopControlsPositionCalculation, | 970 cc::switches::kEnableTopControlsPositionCalculation, |
970 cc::switches::kForceDirectLayerDrawing, | 971 cc::switches::kForceDirectLayerDrawing, |
971 cc::switches::kLowResolutionContentsScaleFactor, | 972 cc::switches::kLowResolutionContentsScaleFactor, |
972 cc::switches::kMaxTilesForInterestArea, | 973 cc::switches::kMaxTilesForInterestArea, |
973 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 974 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
974 cc::switches::kNumRasterThreads, | 975 cc::switches::kNumRasterThreads, |
975 cc::switches::kShowCompositedLayerBorders, | 976 cc::switches::kShowCompositedLayerBorders, |
976 cc::switches::kShowCompositedLayerTree, | 977 cc::switches::kShowCompositedLayerTree, |
977 cc::switches::kShowFPSCounter, | 978 cc::switches::kShowFPSCounter, |
(...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1767 TRACE_EVENT0("renderer_host", | 1768 TRACE_EVENT0("renderer_host", |
1768 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1769 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
1769 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; | 1770 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; |
1770 ack_params.sync_point = 0; | 1771 ack_params.sync_point = 0; |
1771 RenderWidgetHostImpl::AcknowledgeBufferPresent(params.route_id, | 1772 RenderWidgetHostImpl::AcknowledgeBufferPresent(params.route_id, |
1772 params.gpu_process_host_id, | 1773 params.gpu_process_host_id, |
1773 ack_params); | 1774 ack_params); |
1774 } | 1775 } |
1775 | 1776 |
1776 } // namespace content | 1777 } // namespace content |
OLD | NEW |