Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(410)

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 12316084: cc: Consolidate the analysis_canvas operations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: changed analysis location Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 836 matching lines...) Expand 10 before | Expand all | Expand 10 after
847 switches::kUserAgent, 847 switches::kUserAgent,
848 switches::kV, 848 switches::kV,
849 switches::kVideoThreads, 849 switches::kVideoThreads,
850 switches::kVModule, 850 switches::kVModule,
851 switches::kWebCoreLogChannels, 851 switches::kWebCoreLogChannels,
852 cc::switches::kBackgroundColorInsteadOfCheckerboard, 852 cc::switches::kBackgroundColorInsteadOfCheckerboard,
853 cc::switches::kEnableCompositorFrameMessage, 853 cc::switches::kEnableCompositorFrameMessage,
854 cc::switches::kDisableImplSidePainting, 854 cc::switches::kDisableImplSidePainting,
855 cc::switches::kEnableImplSidePainting, 855 cc::switches::kEnableImplSidePainting,
856 cc::switches::kEnablePartialSwap, 856 cc::switches::kEnablePartialSwap,
857 cc::switches::kEnablePredictionBenchmarking,
857 cc::switches::kEnableRightAlignedScheduling, 858 cc::switches::kEnableRightAlignedScheduling,
858 cc::switches::kEnableTopControlsPositionCalculation, 859 cc::switches::kEnableTopControlsPositionCalculation,
859 cc::switches::kNumRasterThreads, 860 cc::switches::kNumRasterThreads,
860 cc::switches::kShowPropertyChangedRects, 861 cc::switches::kShowPropertyChangedRects,
861 cc::switches::kShowSurfaceDamageRects, 862 cc::switches::kShowSurfaceDamageRects,
862 cc::switches::kShowScreenSpaceRects, 863 cc::switches::kShowScreenSpaceRects,
863 cc::switches::kShowReplicaScreenSpaceRects, 864 cc::switches::kShowReplicaScreenSpaceRects,
864 cc::switches::kShowNonOccludingRects, 865 cc::switches::kShowNonOccludingRects,
865 cc::switches::kShowOccludingRects, 866 cc::switches::kShowOccludingRects,
866 cc::switches::kTraceAllRenderedFrames, 867 cc::switches::kTraceAllRenderedFrames,
867 cc::switches::kTraceOverdraw, 868 cc::switches::kTraceOverdraw,
868 cc::switches::kTopControlsHeight, 869 cc::switches::kTopControlsHeight,
869 cc::switches::kTopControlsShowThreshold, 870 cc::switches::kTopControlsShowThreshold,
870 cc::switches::kTopControlsHideThreshold, 871 cc::switches::kTopControlsHideThreshold,
871 cc::switches::kSlowDownRasterScaleFactor, 872 cc::switches::kSlowDownRasterScaleFactor,
872 cc::switches::kUseCheapnessEstimator, 873 cc::switches::kUseCheapnessEstimator,
874 cc::switches::kUseColorEstimator,
873 cc::switches::kLowResolutionContentsScaleFactor, 875 cc::switches::kLowResolutionContentsScaleFactor,
874 }; 876 };
875 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, 877 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames,
876 arraysize(kSwitchNames)); 878 arraysize(kSwitchNames));
877 879
878 // Disable databases in incognito mode. 880 // Disable databases in incognito mode.
879 if (GetBrowserContext()->IsOffTheRecord() && 881 if (GetBrowserContext()->IsOffTheRecord() &&
880 !browser_cmd.HasSwitch(switches::kDisableDatabases)) { 882 !browser_cmd.HasSwitch(switches::kDisableDatabases)) {
881 renderer_cmd->AppendSwitch(switches::kDisableDatabases); 883 renderer_cmd->AppendSwitch(switches::kDisableDatabases);
882 #if defined(OS_ANDROID) 884 #if defined(OS_ANDROID)
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after
1630 TRACE_EVENT0("renderer_host", 1632 TRACE_EVENT0("renderer_host",
1631 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); 1633 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost");
1632 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; 1634 AcceleratedSurfaceMsg_BufferPresented_Params ack_params;
1633 ack_params.sync_point = 0; 1635 ack_params.sync_point = 0;
1634 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, 1636 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id,
1635 gpu_process_host_id, 1637 gpu_process_host_id,
1636 ack_params); 1638 ack_params);
1637 } 1639 }
1638 1640
1639 } // namespace content 1641 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698