| 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 924 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 935 switches::kEnableVtune, | 935 switches::kEnableVtune, |
| 936 switches::kPpapiInProcess, | 936 switches::kPpapiInProcess, |
| 937 switches::kRegisterPepperPlugins, | 937 switches::kRegisterPepperPlugins, |
| 938 switches::kRendererAssertTest, | 938 switches::kRendererAssertTest, |
| 939 #if defined(OS_POSIX) | 939 #if defined(OS_POSIX) |
| 940 switches::kChildCleanExit, | 940 switches::kChildCleanExit, |
| 941 #endif | 941 #endif |
| 942 switches::kRendererStartupDialog, | 942 switches::kRendererStartupDialog, |
| 943 switches::kShowPaintRects, | 943 switches::kShowPaintRects, |
| 944 switches::kSitePerProcess, | 944 switches::kSitePerProcess, |
| 945 switches::kStatsCollectionController, | |
| 946 switches::kTestSandbox, | 945 switches::kTestSandbox, |
| 947 switches::kTouchEvents, | 946 switches::kTouchEvents, |
| 948 switches::kTraceStartup, | 947 switches::kTraceStartup, |
| 949 // This flag needs to be propagated to the renderer process for | 948 // This flag needs to be propagated to the renderer process for |
| 950 // --in-process-webgl. | 949 // --in-process-webgl. |
| 951 switches::kUseGL, | 950 switches::kUseGL, |
| 952 switches::kUseMobileUserAgent, | 951 switches::kUseMobileUserAgent, |
| 953 switches::kUserAgent, | 952 switches::kUserAgent, |
| 954 switches::kV, | 953 switches::kV, |
| 955 switches::kVideoThreads, | 954 switches::kVideoThreads, |
| (...skipping 813 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1769 TRACE_EVENT0("renderer_host", | 1768 TRACE_EVENT0("renderer_host", |
| 1770 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1769 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
| 1771 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; | 1770 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; |
| 1772 ack_params.sync_point = 0; | 1771 ack_params.sync_point = 0; |
| 1773 RenderWidgetHostImpl::AcknowledgeBufferPresent(params.route_id, | 1772 RenderWidgetHostImpl::AcknowledgeBufferPresent(params.route_id, |
| 1774 params.gpu_process_host_id, | 1773 params.gpu_process_host_id, |
| 1775 ack_params); | 1774 ack_params); |
| 1776 } | 1775 } |
| 1777 | 1776 |
| 1778 } // namespace content | 1777 } // namespace content |
| OLD | NEW |