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 738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
749 switches::kDisableDatabases, | 749 switches::kDisableDatabases, |
750 switches::kDisableDesktopNotifications, | 750 switches::kDisableDesktopNotifications, |
751 switches::kDisableDeviceOrientation, | 751 switches::kDisableDeviceOrientation, |
752 switches::kDisableFileSystem, | 752 switches::kDisableFileSystem, |
753 switches::kDisableGeolocation, | 753 switches::kDisableGeolocation, |
754 switches::kDisableGLMultisampling, | 754 switches::kDisableGLMultisampling, |
755 switches::kDisableGpuVsync, | 755 switches::kDisableGpuVsync, |
756 switches::kDisableJavaScriptI18NAPI, | 756 switches::kDisableJavaScriptI18NAPI, |
757 switches::kDisableLocalStorage, | 757 switches::kDisableLocalStorage, |
758 switches::kDisableLogging, | 758 switches::kDisableLogging, |
759 switches::kDisablePointerLock, | |
760 switches::kDisableSeccompFilterSandbox, | 759 switches::kDisableSeccompFilterSandbox, |
761 switches::kDisableSeccompSandbox, | 760 switches::kDisableSeccompSandbox, |
762 switches::kDisableSessionStorage, | 761 switches::kDisableSessionStorage, |
763 switches::kDisableSharedWorkers, | 762 switches::kDisableSharedWorkers, |
764 switches::kDisableSpeechInput, | 763 switches::kDisableSpeechInput, |
765 switches::kEnableScriptedSpeech, | 764 switches::kEnableScriptedSpeech, |
766 switches::kDisableThreadedAnimation, | 765 switches::kDisableThreadedAnimation, |
767 #if defined(OS_ANDROID) | 766 #if defined(OS_ANDROID) |
768 switches::kEnableWebAudio, | 767 switches::kEnableWebAudio, |
769 #else | 768 #else |
(...skipping 14 matching lines...) Expand all Loading... |
784 switches::kEnableLogging, | 783 switches::kEnableLogging, |
785 switches::kDisableMediaSource, | 784 switches::kDisableMediaSource, |
786 switches::kEnablePartialSwap, | 785 switches::kEnablePartialSwap, |
787 switches::kEnablePerTilePainting, | 786 switches::kEnablePerTilePainting, |
788 switches::kEnableRendererSideMixing, | 787 switches::kEnableRendererSideMixing, |
789 switches::kEnableShadowDOM, | 788 switches::kEnableShadowDOM, |
790 switches::kEnableStrictSiteIsolation, | 789 switches::kEnableStrictSiteIsolation, |
791 switches::kEnableStyleScoped, | 790 switches::kEnableStyleScoped, |
792 switches::kDisableFullScreen, | 791 switches::kDisableFullScreen, |
793 switches::kEnablePepperTesting, | 792 switches::kEnablePepperTesting, |
794 switches::kEnablePointerLock, | |
795 switches::kEnablePreparsedJsCaching, | 793 switches::kEnablePreparsedJsCaching, |
796 switches::kEnablePruneGpuCommandBuffers, | 794 switches::kEnablePruneGpuCommandBuffers, |
797 switches::kEnablePinch, | 795 switches::kEnablePinch, |
798 #if defined(OS_MACOSX) | 796 #if defined(OS_MACOSX) |
799 // Allow this to be set when invoking the browser and relayed along. | 797 // Allow this to be set when invoking the browser and relayed along. |
800 switches::kEnableSandboxLogging, | 798 switches::kEnableSandboxLogging, |
801 #endif | 799 #endif |
802 switches::kEnableSeccompSandbox, | 800 switches::kEnableSeccompSandbox, |
803 switches::kEnableStatsTable, | 801 switches::kEnableStatsTable, |
804 switches::kEnableThreadedCompositing, | 802 switches::kEnableThreadedCompositing, |
(...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1545 const gfx::Size& size, | 1543 const gfx::Size& size, |
1546 int32 gpu_process_host_id) { | 1544 int32 gpu_process_host_id) { |
1547 TRACE_EVENT0("renderer_host", | 1545 TRACE_EVENT0("renderer_host", |
1548 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1546 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
1549 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1547 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
1550 gpu_process_host_id, | 1548 gpu_process_host_id, |
1551 0); | 1549 0); |
1552 } | 1550 } |
1553 | 1551 |
1554 } // namespace content | 1552 } // namespace content |
OLD | NEW |