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 775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
786 switches::kEnableViewport, | 786 switches::kEnableViewport, |
787 switches::kForceDeviceScaleFactor, | 787 switches::kForceDeviceScaleFactor, |
788 switches::kFullMemoryCrashReport, | 788 switches::kFullMemoryCrashReport, |
789 #if !defined (GOOGLE_CHROME_BUILD) | 789 #if !defined (GOOGLE_CHROME_BUILD) |
790 // These are unsupported and not fully tested modes, so don't enable them | 790 // These are unsupported and not fully tested modes, so don't enable them |
791 // for official Google Chrome builds. | 791 // for official Google Chrome builds. |
792 switches::kInProcessPlugins, | 792 switches::kInProcessPlugins, |
793 #endif // GOOGLE_CHROME_BUILD | 793 #endif // GOOGLE_CHROME_BUILD |
794 switches::kInProcessWebGL, | 794 switches::kInProcessWebGL, |
795 switches::kJavaScriptFlags, | 795 switches::kJavaScriptFlags, |
796 switches::kLoad2xResources, | |
797 switches::kLoggingLevel, | 796 switches::kLoggingLevel, |
798 switches::kOldCheckboxStyle, | 797 switches::kOldCheckboxStyle, |
799 switches::kNoReferrers, | 798 switches::kNoReferrers, |
800 switches::kNoSandbox, | 799 switches::kNoSandbox, |
801 switches::kPpapiOutOfProcess, | 800 switches::kPpapiOutOfProcess, |
802 switches::kRegisterPepperPlugins, | 801 switches::kRegisterPepperPlugins, |
803 switches::kRendererAssertTest, | 802 switches::kRendererAssertTest, |
804 #if defined(OS_POSIX) | 803 #if defined(OS_POSIX) |
805 switches::kChildCleanExit, | 804 switches::kChildCleanExit, |
806 #endif | 805 #endif |
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1507 int32 route_id, | 1506 int32 route_id, |
1508 int32 gpu_process_host_id) { | 1507 int32 gpu_process_host_id) { |
1509 TRACE_EVENT0("renderer_host", | 1508 TRACE_EVENT0("renderer_host", |
1510 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1509 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
1511 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1510 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
1512 gpu_process_host_id, | 1511 gpu_process_host_id, |
1513 0); | 1512 0); |
1514 } | 1513 } |
1515 | 1514 |
1516 } // namespace content | 1515 } // namespace content |
OLD | NEW |