| 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 840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 851 #if defined(OS_POSIX) | 851 #if defined(OS_POSIX) |
| 852 switches::kChildCleanExit, | 852 switches::kChildCleanExit, |
| 853 #endif | 853 #endif |
| 854 switches::kRendererStartupDialog, | 854 switches::kRendererStartupDialog, |
| 855 switches::kShowPaintRects, | 855 switches::kShowPaintRects, |
| 856 switches::kTestSandbox, | 856 switches::kTestSandbox, |
| 857 switches::kTraceStartup, | 857 switches::kTraceStartup, |
| 858 // This flag needs to be propagated to the renderer process for | 858 // This flag needs to be propagated to the renderer process for |
| 859 // --in-process-webgl. | 859 // --in-process-webgl. |
| 860 switches::kUseGL, | 860 switches::kUseGL, |
| 861 switches::kUseMobileUserAgent, |
| 861 switches::kUserAgent, | 862 switches::kUserAgent, |
| 862 switches::kV, | 863 switches::kV, |
| 863 switches::kVideoThreads, | 864 switches::kVideoThreads, |
| 864 switches::kVModule, | 865 switches::kVModule, |
| 865 switches::kWebCoreLogChannels, | 866 switches::kWebCoreLogChannels, |
| 866 cc::switches::kJankInsteadOfCheckerboard, | 867 cc::switches::kJankInsteadOfCheckerboard, |
| 867 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 868 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
| 868 }; | 869 }; |
| 869 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, | 870 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, |
| 870 arraysize(kSwitchNames)); | 871 arraysize(kSwitchNames)); |
| (...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1585 const gfx::Size& size, | 1586 const gfx::Size& size, |
| 1586 int32 gpu_process_host_id) { | 1587 int32 gpu_process_host_id) { |
| 1587 TRACE_EVENT0("renderer_host", | 1588 TRACE_EVENT0("renderer_host", |
| 1588 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1589 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
| 1589 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1590 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
| 1590 gpu_process_host_id, | 1591 gpu_process_host_id, |
| 1591 0); | 1592 0); |
| 1592 } | 1593 } |
| 1593 | 1594 |
| 1594 } // namespace content | 1595 } // namespace content |
| OLD | NEW |