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 906 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
917 switches::kUseMobileUserAgent, | 917 switches::kUseMobileUserAgent, |
918 switches::kUserAgent, | 918 switches::kUserAgent, |
919 switches::kV, | 919 switches::kV, |
920 switches::kVideoThreads, | 920 switches::kVideoThreads, |
921 switches::kVModule, | 921 switches::kVModule, |
922 switches::kWebCoreLogChannels, | 922 switches::kWebCoreLogChannels, |
923 // Please keep these in alphabetical order. Compositor switches here should | 923 // Please keep these in alphabetical order. Compositor switches here should |
924 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 924 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
925 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 925 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
926 cc::switches::kCompositeToMailbox, | 926 cc::switches::kCompositeToMailbox, |
927 cc::switches::kDisableCheapnessEstimator, | |
928 cc::switches::kDisableColorEstimator, | 927 cc::switches::kDisableColorEstimator, |
929 cc::switches::kDisableImplSidePainting, | 928 cc::switches::kDisableImplSidePainting, |
930 cc::switches::kDisableThreadedAnimation, | 929 cc::switches::kDisableThreadedAnimation, |
931 cc::switches::kEnableCompositorFrameMessage, | 930 cc::switches::kEnableCompositorFrameMessage, |
932 cc::switches::kEnableImplSidePainting, | 931 cc::switches::kEnableImplSidePainting, |
933 cc::switches::kEnablePartialSwap, | 932 cc::switches::kEnablePartialSwap, |
934 cc::switches::kEnablePerTilePainting, | 933 cc::switches::kEnablePerTilePainting, |
935 cc::switches::kEnablePinchZoomScrollbars, | 934 cc::switches::kEnablePinchZoomScrollbars, |
936 cc::switches::kDisablePinchZoomScrollbars, | 935 cc::switches::kDisablePinchZoomScrollbars, |
937 cc::switches::kEnablePredictionBenchmarking, | 936 cc::switches::kEnablePredictionBenchmarking, |
(...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1740 TRACE_EVENT0("renderer_host", | 1739 TRACE_EVENT0("renderer_host", |
1741 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1740 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
1742 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; | 1741 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; |
1743 ack_params.sync_point = 0; | 1742 ack_params.sync_point = 0; |
1744 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1743 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
1745 gpu_process_host_id, | 1744 gpu_process_host_id, |
1746 ack_params); | 1745 ack_params); |
1747 } | 1746 } |
1748 | 1747 |
1749 } // namespace content | 1748 } // namespace content |
OLD | NEW |