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