| 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 842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 853 // This flag needs to be propagated to the renderer process for | 853 // This flag needs to be propagated to the renderer process for |
| 854 // --in-process-webgl. | 854 // --in-process-webgl. |
| 855 switches::kUseGL, | 855 switches::kUseGL, |
| 856 switches::kUseMobileUserAgent, | 856 switches::kUseMobileUserAgent, |
| 857 switches::kUserAgent, | 857 switches::kUserAgent, |
| 858 switches::kV, | 858 switches::kV, |
| 859 switches::kVideoThreads, | 859 switches::kVideoThreads, |
| 860 switches::kVModule, | 860 switches::kVModule, |
| 861 switches::kWebCoreLogChannels, | 861 switches::kWebCoreLogChannels, |
| 862 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 862 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
| 863 cc::switches::kDisableThreadedAnimation, | |
| 864 cc::switches::kEnablePartialSwap, | 863 cc::switches::kEnablePartialSwap, |
| 865 cc::switches::kEnablePerTilePainting, | |
| 866 cc::switches::kEnablePinchInCompositor, | |
| 867 cc::switches::kJankInsteadOfCheckerboard, | 864 cc::switches::kJankInsteadOfCheckerboard, |
| 868 cc::switches::kShowPropertyChangedRects, | 865 cc::switches::kShowPropertyChangedRects, |
| 869 cc::switches::kShowSurfaceDamageRects, | 866 cc::switches::kShowSurfaceDamageRects, |
| 870 cc::switches::kShowScreenSpaceRects, | 867 cc::switches::kShowScreenSpaceRects, |
| 871 cc::switches::kShowReplicaScreenSpaceRects, | 868 cc::switches::kShowReplicaScreenSpaceRects, |
| 872 cc::switches::kShowOccludingRects, | 869 cc::switches::kShowOccludingRects, |
| 873 cc::switches::kTraceOverdraw, | 870 cc::switches::kTraceOverdraw, |
| 874 }; | 871 }; |
| 875 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, | 872 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, |
| 876 arraysize(kSwitchNames)); | 873 arraysize(kSwitchNames)); |
| (...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1603 int32 gpu_process_host_id) { | 1600 int32 gpu_process_host_id) { |
| 1604 TRACE_EVENT0("renderer_host", | 1601 TRACE_EVENT0("renderer_host", |
| 1605 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1602 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
| 1606 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1603 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
| 1607 gpu_process_host_id, | 1604 gpu_process_host_id, |
| 1608 false, | 1605 false, |
| 1609 0); | 1606 0); |
| 1610 } | 1607 } |
| 1611 | 1608 |
| 1612 } // namespace content | 1609 } // namespace content |
| OLD | NEW |