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 #if defined(OS_WIN) | 10 #if defined(OS_WIN) |
(...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
693 switches::kEnableMediaSource, | 693 switches::kEnableMediaSource, |
694 switches::kEnablePeerConnection, | 694 switches::kEnablePeerConnection, |
695 switches::kEnableShadowDOM, | 695 switches::kEnableShadowDOM, |
696 switches::kEnableStrictSiteIsolation, | 696 switches::kEnableStrictSiteIsolation, |
697 switches::kEnableStyleScoped, | 697 switches::kEnableStyleScoped, |
698 switches::kDisableFullScreen, | 698 switches::kDisableFullScreen, |
699 switches::kEnablePepperTesting, | 699 switches::kEnablePepperTesting, |
700 switches::kEnablePointerLock, | 700 switches::kEnablePointerLock, |
701 switches::kEnablePreparsedJsCaching, | 701 switches::kEnablePreparsedJsCaching, |
702 switches::kEnablePruneGpuCommandBuffers, | 702 switches::kEnablePruneGpuCommandBuffers, |
| 703 switches::kEnablePinch, |
703 #if defined(OS_MACOSX) | 704 #if defined(OS_MACOSX) |
704 // Allow this to be set when invoking the browser and relayed along. | 705 // Allow this to be set when invoking the browser and relayed along. |
705 switches::kEnableSandboxLogging, | 706 switches::kEnableSandboxLogging, |
706 #endif | 707 #endif |
707 switches::kEnableSeccompSandbox, | 708 switches::kEnableSeccompSandbox, |
708 switches::kEnableStatsTable, | 709 switches::kEnableStatsTable, |
709 switches::kEnableThreadedCompositing, | 710 switches::kEnableThreadedCompositing, |
710 switches::kDisableThreadedCompositing, | 711 switches::kDisableThreadedCompositing, |
711 switches::kEnableTouchEvents, | 712 switches::kEnableTouchEvents, |
712 switches::kEnableVideoTrack, | 713 switches::kEnableVideoTrack, |
(...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1372 void RenderProcessHostImpl::OnCompositorSurfaceBuffersSwappedNoHost( | 1373 void RenderProcessHostImpl::OnCompositorSurfaceBuffersSwappedNoHost( |
1373 int32 surface_id, | 1374 int32 surface_id, |
1374 uint64 surface_handle, | 1375 uint64 surface_handle, |
1375 int32 route_id, | 1376 int32 route_id, |
1376 int32 gpu_process_host_id) { | 1377 int32 gpu_process_host_id) { |
1377 TRACE_EVENT0("renderer_host", | 1378 TRACE_EVENT0("renderer_host", |
1378 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1379 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
1379 RenderWidgetHostImpl::AcknowledgeSwapBuffers(route_id, | 1380 RenderWidgetHostImpl::AcknowledgeSwapBuffers(route_id, |
1380 gpu_process_host_id); | 1381 gpu_process_host_id); |
1381 } | 1382 } |
OLD | NEW |