| 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 800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 811 switches::kForceDeviceScaleFactor, | 811 switches::kForceDeviceScaleFactor, |
| 812 switches::kFullMemoryCrashReport, | 812 switches::kFullMemoryCrashReport, |
| 813 #if !defined (GOOGLE_CHROME_BUILD) | 813 #if !defined (GOOGLE_CHROME_BUILD) |
| 814 // These are unsupported and not fully tested modes, so don't enable them | 814 // These are unsupported and not fully tested modes, so don't enable them |
| 815 // for official Google Chrome builds. | 815 // for official Google Chrome builds. |
| 816 switches::kInProcessPlugins, | 816 switches::kInProcessPlugins, |
| 817 #endif // GOOGLE_CHROME_BUILD | 817 #endif // GOOGLE_CHROME_BUILD |
| 818 switches::kInProcessWebGL, | 818 switches::kInProcessWebGL, |
| 819 switches::kJavaScriptFlags, | 819 switches::kJavaScriptFlags, |
| 820 switches::kLoggingLevel, | 820 switches::kLoggingLevel, |
| 821 switches::kMemoryMetrics, |
| 821 #if defined(OS_ANDROID) | 822 #if defined(OS_ANDROID) |
| 822 switches::kMediaPlayerInRenderProcess, | 823 switches::kMediaPlayerInRenderProcess, |
| 823 switches::kNetworkCountryIso, | 824 switches::kNetworkCountryIso, |
| 824 #endif | 825 #endif |
| 825 switches::kNoReferrers, | 826 switches::kNoReferrers, |
| 826 switches::kNoSandbox, | 827 switches::kNoSandbox, |
| 827 switches::kOldCheckboxStyle, | 828 switches::kOldCheckboxStyle, |
| 828 switches::kPpapiOutOfProcess, | 829 switches::kPpapiOutOfProcess, |
| 829 switches::kRegisterPepperPlugins, | 830 switches::kRegisterPepperPlugins, |
| 830 switches::kRendererAssertTest, | 831 switches::kRendererAssertTest, |
| (...skipping 780 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1611 TRACE_EVENT0("renderer_host", | 1612 TRACE_EVENT0("renderer_host", |
| 1612 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1613 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
| 1613 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; | 1614 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; |
| 1614 ack_params.sync_point = 0; | 1615 ack_params.sync_point = 0; |
| 1615 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1616 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
| 1616 gpu_process_host_id, | 1617 gpu_process_host_id, |
| 1617 ack_params); | 1618 ack_params); |
| 1618 } | 1619 } |
| 1619 | 1620 |
| 1620 } // namespace content | 1621 } // namespace content |
| OLD | NEW |