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::kShowPropertyChangedRects, | 864 cc::switches::kShowPropertyChangedRects, |
868 cc::switches::kShowSurfaceDamageRects, | 865 cc::switches::kShowSurfaceDamageRects, |
869 cc::switches::kShowScreenSpaceRects, | 866 cc::switches::kShowScreenSpaceRects, |
870 cc::switches::kShowReplicaScreenSpaceRects, | 867 cc::switches::kShowReplicaScreenSpaceRects, |
871 cc::switches::kShowOccludingRects, | 868 cc::switches::kShowOccludingRects, |
872 cc::switches::kTraceOverdraw, | 869 cc::switches::kTraceOverdraw, |
873 }; | 870 }; |
874 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, | 871 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, |
875 arraysize(kSwitchNames)); | 872 arraysize(kSwitchNames)); |
876 | 873 |
(...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1602 int32 gpu_process_host_id) { | 1599 int32 gpu_process_host_id) { |
1603 TRACE_EVENT0("renderer_host", | 1600 TRACE_EVENT0("renderer_host", |
1604 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1601 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
1605 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1602 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
1606 gpu_process_host_id, | 1603 gpu_process_host_id, |
1607 false, | 1604 false, |
1608 0); | 1605 0); |
1609 } | 1606 } |
1610 | 1607 |
1611 } // namespace content | 1608 } // namespace content |
OLD | NEW |