| 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 933 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 944 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 944 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
| 945 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 945 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
| 946 cc::switches::kCompositeToMailbox, | 946 cc::switches::kCompositeToMailbox, |
| 947 cc::switches::kDisableColorEstimator, | 947 cc::switches::kDisableColorEstimator, |
| 948 cc::switches::kDisableImplSidePainting, | 948 cc::switches::kDisableImplSidePainting, |
| 949 cc::switches::kDisableThreadedAnimation, | 949 cc::switches::kDisableThreadedAnimation, |
| 950 cc::switches::kEnableCompositorFrameMessage, | 950 cc::switches::kEnableCompositorFrameMessage, |
| 951 cc::switches::kEnableImplSidePainting, | 951 cc::switches::kEnableImplSidePainting, |
| 952 cc::switches::kEnablePartialSwap, | 952 cc::switches::kEnablePartialSwap, |
| 953 cc::switches::kEnablePerTilePainting, | 953 cc::switches::kEnablePerTilePainting, |
| 954 cc::switches::kEnablePinchZoomScrollbars, | |
| 955 cc::switches::kDisablePinchZoomScrollbars, | |
| 956 cc::switches::kEnableRightAlignedScheduling, | 954 cc::switches::kEnableRightAlignedScheduling, |
| 957 cc::switches::kEnableTopControlsPositionCalculation, | 955 cc::switches::kEnableTopControlsPositionCalculation, |
| 958 cc::switches::kLowResolutionContentsScaleFactor, | 956 cc::switches::kLowResolutionContentsScaleFactor, |
| 959 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 957 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
| 960 cc::switches::kNumRasterThreads, | 958 cc::switches::kNumRasterThreads, |
| 961 cc::switches::kMaxTilesForInterestArea, | 959 cc::switches::kMaxTilesForInterestArea, |
| 962 cc::switches::kShowCompositedLayerBorders, | 960 cc::switches::kShowCompositedLayerBorders, |
| 963 cc::switches::kShowCompositedLayerTree, | 961 cc::switches::kShowCompositedLayerTree, |
| 964 cc::switches::kShowFPSCounter, | 962 cc::switches::kShowFPSCounter, |
| 965 cc::switches::kShowNonOccludingRects, | 963 cc::switches::kShowNonOccludingRects, |
| (...skipping 791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1757 TRACE_EVENT0("renderer_host", | 1755 TRACE_EVENT0("renderer_host", |
| 1758 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1756 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
| 1759 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; | 1757 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; |
| 1760 ack_params.sync_point = 0; | 1758 ack_params.sync_point = 0; |
| 1761 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1759 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
| 1762 gpu_process_host_id, | 1760 gpu_process_host_id, |
| 1763 ack_params); | 1761 ack_params); |
| 1764 } | 1762 } |
| 1765 | 1763 |
| 1766 } // namespace content | 1764 } // namespace content |
| OLD | NEW |