| 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 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 734 // We propagate the Chrome Frame command line here as well in case the | 734 // We propagate the Chrome Frame command line here as well in case the |
| 735 // renderer is not run in the sandbox. | 735 // renderer is not run in the sandbox. |
| 736 switches::kAuditAllHandles, | 736 switches::kAuditAllHandles, |
| 737 switches::kAuditHandles, | 737 switches::kAuditHandles, |
| 738 switches::kChromeFrame, | 738 switches::kChromeFrame, |
| 739 switches::kDisable3DAPIs, | 739 switches::kDisable3DAPIs, |
| 740 switches::kDisableAcceleratedCompositing, | 740 switches::kDisableAcceleratedCompositing, |
| 741 switches::kDisableAcceleratedVideoDecode, | 741 switches::kDisableAcceleratedVideoDecode, |
| 742 switches::kDisableApplicationCache, | 742 switches::kDisableApplicationCache, |
| 743 switches::kDisableAudio, | 743 switches::kDisableAudio, |
| 744 switches::kDisableAudioOutputResampler, |
| 744 switches::kDisableBreakpad, | 745 switches::kDisableBreakpad, |
| 745 #if defined(OS_MACOSX) | 746 #if defined(OS_MACOSX) |
| 746 switches::kDisableCompositedCoreAnimationPlugins, | 747 switches::kDisableCompositedCoreAnimationPlugins, |
| 747 #endif | 748 #endif |
| 748 switches::kDisableDataTransferItems, | 749 switches::kDisableDataTransferItems, |
| 749 switches::kDisableDatabases, | 750 switches::kDisableDatabases, |
| 750 switches::kDisableDesktopNotifications, | 751 switches::kDisableDesktopNotifications, |
| 751 switches::kDisableDeviceOrientation, | 752 switches::kDisableDeviceOrientation, |
| 752 switches::kDisableFileSystem, | 753 switches::kDisableFileSystem, |
| 753 switches::kDisableGeolocation, | 754 switches::kDisableGeolocation, |
| (...skipping 12 matching lines...) Expand all Loading... |
| 766 switches::kDisableThreadedAnimation, | 767 switches::kDisableThreadedAnimation, |
| 767 #if defined(OS_ANDROID) | 768 #if defined(OS_ANDROID) |
| 768 switches::kEnableWebAudio, | 769 switches::kEnableWebAudio, |
| 769 #else | 770 #else |
| 770 switches::kDisableWebAudio, | 771 switches::kDisableWebAudio, |
| 771 #endif | 772 #endif |
| 772 switches::kEnableWebAudioInput, | 773 switches::kEnableWebAudioInput, |
| 773 switches::kDisableWebSockets, | 774 switches::kDisableWebSockets, |
| 774 switches::kDomAutomationController, | 775 switches::kDomAutomationController, |
| 775 switches::kEnableAccessibilityLogging, | 776 switches::kEnableAccessibilityLogging, |
| 776 switches::kEnableAudioOutputResampler, | |
| 777 switches::kEnableCssExclusions, | 777 switches::kEnableCssExclusions, |
| 778 switches::kEnableDCHECK, | 778 switches::kEnableDCHECK, |
| 779 switches::kEnableEncryptedMedia, | 779 switches::kEnableEncryptedMedia, |
| 780 switches::kEnableFixedLayout, | 780 switches::kEnableFixedLayout, |
| 781 switches::kEnableGPUServiceLogging, | 781 switches::kEnableGPUServiceLogging, |
| 782 switches::kEnableGPUClientLogging, | 782 switches::kEnableGPUClientLogging, |
| 783 switches::kEnableGpuBenchmarking, | 783 switches::kEnableGpuBenchmarking, |
| 784 switches::kEnableLogging, | 784 switches::kEnableLogging, |
| 785 switches::kDisableMediaSource, | 785 switches::kDisableMediaSource, |
| 786 switches::kEnablePartialSwap, | 786 switches::kEnablePartialSwap, |
| (...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1545 const gfx::Size& size, | 1545 const gfx::Size& size, |
| 1546 int32 gpu_process_host_id) { | 1546 int32 gpu_process_host_id) { |
| 1547 TRACE_EVENT0("renderer_host", | 1547 TRACE_EVENT0("renderer_host", |
| 1548 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1548 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
| 1549 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1549 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
| 1550 gpu_process_host_id, | 1550 gpu_process_host_id, |
| 1551 0); | 1551 0); |
| 1552 } | 1552 } |
| 1553 | 1553 |
| 1554 } // namespace content | 1554 } // namespace content |
| OLD | NEW |