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 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
715 // Propagate the following switches to the renderer command line (along | 715 // Propagate the following switches to the renderer command line (along |
716 // with any associated values) if present in the browser command line. | 716 // with any associated values) if present in the browser command line. |
717 static const char* const kSwitchNames[] = { | 717 static const char* const kSwitchNames[] = { |
718 // We propagate the Chrome Frame command line here as well in case the | 718 // We propagate the Chrome Frame command line here as well in case the |
719 // renderer is not run in the sandbox. | 719 // renderer is not run in the sandbox. |
720 switches::kAuditAllHandles, | 720 switches::kAuditAllHandles, |
721 switches::kAuditHandles, | 721 switches::kAuditHandles, |
722 switches::kChromeFrame, | 722 switches::kChromeFrame, |
723 switches::kDisable3DAPIs, | 723 switches::kDisable3DAPIs, |
724 switches::kDisableAcceleratedCompositing, | 724 switches::kDisableAcceleratedCompositing, |
| 725 switches::kDisableAcceleratedVideoDecode, |
725 switches::kDisableApplicationCache, | 726 switches::kDisableApplicationCache, |
726 switches::kDisableAudio, | 727 switches::kDisableAudio, |
727 switches::kDisableBreakpad, | 728 switches::kDisableBreakpad, |
728 #if defined(OS_MACOSX) | 729 #if defined(OS_MACOSX) |
729 switches::kDisableCompositedCoreAnimationPlugins, | 730 switches::kDisableCompositedCoreAnimationPlugins, |
730 #endif | 731 #endif |
731 switches::kDisableDataTransferItems, | 732 switches::kDisableDataTransferItems, |
732 switches::kDisableDatabases, | 733 switches::kDisableDatabases, |
733 switches::kDisableDesktopNotifications, | 734 switches::kDisableDesktopNotifications, |
734 switches::kDisableDeviceOrientation, | 735 switches::kDisableDeviceOrientation, |
735 switches::kDisableFileSystem, | 736 switches::kDisableFileSystem, |
736 switches::kDisableGeolocation, | 737 switches::kDisableGeolocation, |
737 switches::kDisableGLMultisampling, | 738 switches::kDisableGLMultisampling, |
738 switches::kDisableGpuVsync, | 739 switches::kDisableGpuVsync, |
739 switches::kDisableJavaScriptI18NAPI, | 740 switches::kDisableJavaScriptI18NAPI, |
740 switches::kDisableLocalStorage, | 741 switches::kDisableLocalStorage, |
741 switches::kDisableLogging, | 742 switches::kDisableLogging, |
742 switches::kDisablePointerLock, | 743 switches::kDisablePointerLock, |
743 switches::kDisableSeccompFilterSandbox, | 744 switches::kDisableSeccompFilterSandbox, |
744 switches::kDisableSeccompSandbox, | 745 switches::kDisableSeccompSandbox, |
745 switches::kDisableSessionStorage, | 746 switches::kDisableSessionStorage, |
746 switches::kDisableSharedWorkers, | 747 switches::kDisableSharedWorkers, |
747 switches::kDisableSpeechInput, | 748 switches::kDisableSpeechInput, |
748 switches::kEnableScriptedSpeech, | 749 switches::kEnableScriptedSpeech, |
749 switches::kDisableThreadedAnimation, | 750 switches::kDisableThreadedAnimation, |
750 switches::kDisableWebAudio, | 751 switches::kDisableWebAudio, |
751 switches::kDisableWebSockets, | 752 switches::kDisableWebSockets, |
752 switches::kDomAutomationController, | 753 switches::kDomAutomationController, |
753 switches::kEnableAcceleratedVideoDecode, | |
754 switches::kEnableAccessibilityLogging, | 754 switches::kEnableAccessibilityLogging, |
755 switches::kEnableDCHECK, | 755 switches::kEnableDCHECK, |
756 switches::kEnableEncryptedMedia, | 756 switches::kEnableEncryptedMedia, |
757 switches::kEnableFixedLayout, | 757 switches::kEnableFixedLayout, |
758 switches::kEnableGPUServiceLogging, | 758 switches::kEnableGPUServiceLogging, |
759 switches::kEnableGPUClientLogging, | 759 switches::kEnableGPUClientLogging, |
760 switches::kEnableGpuBenchmarking, | 760 switches::kEnableGpuBenchmarking, |
761 switches::kEnableLogging, | 761 switches::kEnableLogging, |
762 switches::kEnableMediaSource, | 762 switches::kEnableMediaSource, |
763 switches::kEnablePartialSwap, | 763 switches::kEnablePartialSwap, |
(...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1506 int32 route_id, | 1506 int32 route_id, |
1507 int32 gpu_process_host_id) { | 1507 int32 gpu_process_host_id) { |
1508 TRACE_EVENT0("renderer_host", | 1508 TRACE_EVENT0("renderer_host", |
1509 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1509 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
1510 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1510 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
1511 gpu_process_host_id, | 1511 gpu_process_host_id, |
1512 0); | 1512 0); |
1513 } | 1513 } |
1514 | 1514 |
1515 } // namespace content | 1515 } // namespace content |
OLD | NEW |