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 919 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
930 cc::switches::kShowCompositedLayerBorders, | 930 cc::switches::kShowCompositedLayerBorders, |
931 cc::switches::kShowCompositedLayerTree, | 931 cc::switches::kShowCompositedLayerTree, |
932 cc::switches::kShowFPSCounter, | 932 cc::switches::kShowFPSCounter, |
933 cc::switches::kShowNonOccludingRects, | 933 cc::switches::kShowNonOccludingRects, |
934 cc::switches::kShowOccludingRects, | 934 cc::switches::kShowOccludingRects, |
935 cc::switches::kShowPropertyChangedRects, | 935 cc::switches::kShowPropertyChangedRects, |
936 cc::switches::kShowReplicaScreenSpaceRects, | 936 cc::switches::kShowReplicaScreenSpaceRects, |
937 cc::switches::kShowScreenSpaceRects, | 937 cc::switches::kShowScreenSpaceRects, |
938 cc::switches::kShowSurfaceDamageRects, | 938 cc::switches::kShowSurfaceDamageRects, |
939 cc::switches::kSlowDownRasterScaleFactor, | 939 cc::switches::kSlowDownRasterScaleFactor, |
| 940 cc::switches::kStrictLayerPropertyChangeChecking, |
940 cc::switches::kTopControlsHeight, | 941 cc::switches::kTopControlsHeight, |
941 cc::switches::kTopControlsHideThreshold, | 942 cc::switches::kTopControlsHideThreshold, |
942 cc::switches::kTopControlsShowThreshold, | 943 cc::switches::kTopControlsShowThreshold, |
943 cc::switches::kTraceAllRenderedFrames, | 944 cc::switches::kTraceAllRenderedFrames, |
944 cc::switches::kTraceOverdraw | 945 cc::switches::kTraceOverdraw |
945 }; | 946 }; |
946 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, | 947 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, |
947 arraysize(kSwitchNames)); | 948 arraysize(kSwitchNames)); |
948 | 949 |
949 // Disable databases in incognito mode. | 950 // Disable databases in incognito mode. |
(...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1720 TRACE_EVENT0("renderer_host", | 1721 TRACE_EVENT0("renderer_host", |
1721 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1722 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
1722 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; | 1723 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; |
1723 ack_params.sync_point = 0; | 1724 ack_params.sync_point = 0; |
1724 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1725 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
1725 gpu_process_host_id, | 1726 gpu_process_host_id, |
1726 ack_params); | 1727 ack_params); |
1727 } | 1728 } |
1728 | 1729 |
1729 } // namespace content | 1730 } // namespace content |
OLD | NEW |