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 811 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
822 #if !defined (GOOGLE_CHROME_BUILD) | 822 #if !defined (GOOGLE_CHROME_BUILD) |
823 // These are unsupported and not fully tested modes, so don't enable them | 823 // These are unsupported and not fully tested modes, so don't enable them |
824 // for official Google Chrome builds. | 824 // for official Google Chrome builds. |
825 switches::kInProcessPlugins, | 825 switches::kInProcessPlugins, |
826 #endif // GOOGLE_CHROME_BUILD | 826 #endif // GOOGLE_CHROME_BUILD |
827 switches::kInProcessWebGL, | 827 switches::kInProcessWebGL, |
828 switches::kJavaScriptFlags, | 828 switches::kJavaScriptFlags, |
829 switches::kLoggingLevel, | 829 switches::kLoggingLevel, |
830 switches::kMemoryMetrics, | 830 switches::kMemoryMetrics, |
831 #if defined(OS_ANDROID) | 831 #if defined(OS_ANDROID) |
832 switches::kMediaPlayerInRenderProcess, | |
833 switches::kNetworkCountryIso, | 832 switches::kNetworkCountryIso, |
834 switches::kDisableGestureRequirementForMediaPlayback, | 833 switches::kDisableGestureRequirementForMediaPlayback, |
835 #endif | 834 #endif |
836 switches::kNoReferrers, | 835 switches::kNoReferrers, |
837 switches::kNoSandbox, | 836 switches::kNoSandbox, |
838 switches::kOldCheckboxStyle, | 837 switches::kOldCheckboxStyle, |
839 switches::kPpapiInProcess, | 838 switches::kPpapiInProcess, |
840 switches::kRegisterPepperPlugins, | 839 switches::kRegisterPepperPlugins, |
841 switches::kRendererAssertTest, | 840 switches::kRendererAssertTest, |
842 #if defined(OS_POSIX) | 841 #if defined(OS_POSIX) |
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1643 TRACE_EVENT0("renderer_host", | 1642 TRACE_EVENT0("renderer_host", |
1644 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1643 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
1645 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; | 1644 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; |
1646 ack_params.sync_point = 0; | 1645 ack_params.sync_point = 0; |
1647 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1646 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
1648 gpu_process_host_id, | 1647 gpu_process_host_id, |
1649 ack_params); | 1648 ack_params); |
1650 } | 1649 } |
1651 | 1650 |
1652 } // namespace content | 1651 } // namespace content |
OLD | NEW |