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 796 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
807 switches::kForceDeviceScaleFactor, | 807 switches::kForceDeviceScaleFactor, |
808 switches::kFullMemoryCrashReport, | 808 switches::kFullMemoryCrashReport, |
809 #if !defined (GOOGLE_CHROME_BUILD) | 809 #if !defined (GOOGLE_CHROME_BUILD) |
810 // These are unsupported and not fully tested modes, so don't enable them | 810 // These are unsupported and not fully tested modes, so don't enable them |
811 // for official Google Chrome builds. | 811 // for official Google Chrome builds. |
812 switches::kInProcessPlugins, | 812 switches::kInProcessPlugins, |
813 #endif // GOOGLE_CHROME_BUILD | 813 #endif // GOOGLE_CHROME_BUILD |
814 switches::kInProcessWebGL, | 814 switches::kInProcessWebGL, |
815 switches::kJavaScriptFlags, | 815 switches::kJavaScriptFlags, |
816 switches::kLoggingLevel, | 816 switches::kLoggingLevel, |
| 817 switches::kMemoryMetrics, |
817 #if defined(OS_ANDROID) | 818 #if defined(OS_ANDROID) |
818 switches::kMediaPlayerInRenderProcess, | 819 switches::kMediaPlayerInRenderProcess, |
819 switches::kNetworkCountryIso, | 820 switches::kNetworkCountryIso, |
820 #endif | 821 #endif |
821 switches::kNoReferrers, | 822 switches::kNoReferrers, |
822 switches::kNoSandbox, | 823 switches::kNoSandbox, |
823 switches::kOldCheckboxStyle, | 824 switches::kOldCheckboxStyle, |
824 switches::kPpapiOutOfProcess, | 825 switches::kPpapiOutOfProcess, |
825 switches::kRegisterPepperPlugins, | 826 switches::kRegisterPepperPlugins, |
826 switches::kRendererAssertTest, | 827 switches::kRendererAssertTest, |
(...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1602 TRACE_EVENT0("renderer_host", | 1603 TRACE_EVENT0("renderer_host", |
1603 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1604 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
1604 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; | 1605 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; |
1605 ack_params.sync_point = 0; | 1606 ack_params.sync_point = 0; |
1606 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1607 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
1607 gpu_process_host_id, | 1608 gpu_process_host_id, |
1608 ack_params); | 1609 ack_params); |
1609 } | 1610 } |
1610 | 1611 |
1611 } // namespace content | 1612 } // namespace content |
OLD | NEW |