| 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 788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 799 switches::kDisableAudio, | 799 switches::kDisableAudio, |
| 800 switches::kDisableAudioOutputResampler, | 800 switches::kDisableAudioOutputResampler, |
| 801 switches::kDisableBreakpad, | 801 switches::kDisableBreakpad, |
| 802 switches::kDisableDatabases, | 802 switches::kDisableDatabases, |
| 803 switches::kDisableDesktopNotifications, | 803 switches::kDisableDesktopNotifications, |
| 804 switches::kDisableDeviceOrientation, | 804 switches::kDisableDeviceOrientation, |
| 805 switches::kDisableFileSystem, | 805 switches::kDisableFileSystem, |
| 806 switches::kDisableGeolocation, | 806 switches::kDisableGeolocation, |
| 807 switches::kDisableGLMultisampling, | 807 switches::kDisableGLMultisampling, |
| 808 switches::kDisableGpuVsync, | 808 switches::kDisableGpuVsync, |
| 809 switches::kDisableGpu, |
| 809 switches::kDisableHistogramCustomizer, | 810 switches::kDisableHistogramCustomizer, |
| 810 switches::kDisableJavaScriptI18NAPI, | 811 switches::kDisableJavaScriptI18NAPI, |
| 811 switches::kDisableLocalStorage, | 812 switches::kDisableLocalStorage, |
| 812 switches::kDisableLogging, | 813 switches::kDisableLogging, |
| 813 switches::kDisableSeccompFilterSandbox, | 814 switches::kDisableSeccompFilterSandbox, |
| 814 switches::kDisableSeccompSandbox, | 815 switches::kDisableSeccompSandbox, |
| 815 switches::kDisableSessionStorage, | 816 switches::kDisableSessionStorage, |
| 816 switches::kDisableSharedWorkers, | 817 switches::kDisableSharedWorkers, |
| 817 switches::kDisableSpeechInput, | 818 switches::kDisableSpeechInput, |
| 818 #if defined(OS_ANDROID) | 819 #if defined(OS_ANDROID) |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 850 #endif | 851 #endif |
| 851 switches::kEnablePreparsedJsCaching, | 852 switches::kEnablePreparsedJsCaching, |
| 852 switches::kEnablePruneGpuCommandBuffers, | 853 switches::kEnablePruneGpuCommandBuffers, |
| 853 switches::kEnablePinch, | 854 switches::kEnablePinch, |
| 854 switches::kDisablePinch, | 855 switches::kDisablePinch, |
| 855 #if defined(OS_MACOSX) | 856 #if defined(OS_MACOSX) |
| 856 // Allow this to be set when invoking the browser and relayed along. | 857 // Allow this to be set when invoking the browser and relayed along. |
| 857 switches::kEnableSandboxLogging, | 858 switches::kEnableSandboxLogging, |
| 858 #endif | 859 #endif |
| 859 switches::kEnableSeccompSandbox, | 860 switches::kEnableSeccompSandbox, |
| 860 switches::kEnableSoftwareCompositingGLAdapter, | |
| 861 switches::kEnableStatsTable, | 861 switches::kEnableStatsTable, |
| 862 switches::kEnableThreadedCompositing, | 862 switches::kEnableThreadedCompositing, |
| 863 switches::kEnableCompositingForFixedPosition, | 863 switches::kEnableCompositingForFixedPosition, |
| 864 switches::kEnableHighDpiCompositingForFixedPosition, | 864 switches::kEnableHighDpiCompositingForFixedPosition, |
| 865 switches::kDisableCompositingForFixedPosition, | 865 switches::kDisableCompositingForFixedPosition, |
| 866 switches::kEnableAcceleratedPainting, | 866 switches::kEnableAcceleratedPainting, |
| 867 switches::kEnableTouchDragDrop, | 867 switches::kEnableTouchDragDrop, |
| 868 switches::kDisableThreadedCompositing, | 868 switches::kDisableThreadedCompositing, |
| 869 switches::kDisableTouchAdjustment, | 869 switches::kDisableTouchAdjustment, |
| 870 switches::kDefaultTileWidth, | 870 switches::kDefaultTileWidth, |
| (...skipping 857 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1728 TRACE_EVENT0("renderer_host", | 1728 TRACE_EVENT0("renderer_host", |
| 1729 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1729 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
| 1730 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; | 1730 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; |
| 1731 ack_params.sync_point = 0; | 1731 ack_params.sync_point = 0; |
| 1732 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1732 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
| 1733 gpu_process_host_id, | 1733 gpu_process_host_id, |
| 1734 ack_params); | 1734 ack_params); |
| 1735 } | 1735 } |
| 1736 | 1736 |
| 1737 } // namespace content | 1737 } // namespace content |
| OLD | NEW |