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

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

Issue 12210050: Expose FS show/hide thresholds to Command Line (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 840 matching lines...) Expand 10 before | Expand all | Expand 10 after
851 cc::switches::kEnableTopControlsPositionCalculation, 851 cc::switches::kEnableTopControlsPositionCalculation,
852 cc::switches::kNumRasterThreads, 852 cc::switches::kNumRasterThreads,
853 cc::switches::kShowPropertyChangedRects, 853 cc::switches::kShowPropertyChangedRects,
854 cc::switches::kShowSurfaceDamageRects, 854 cc::switches::kShowSurfaceDamageRects,
855 cc::switches::kShowScreenSpaceRects, 855 cc::switches::kShowScreenSpaceRects,
856 cc::switches::kShowReplicaScreenSpaceRects, 856 cc::switches::kShowReplicaScreenSpaceRects,
857 cc::switches::kShowNonOccludingRects, 857 cc::switches::kShowNonOccludingRects,
858 cc::switches::kShowOccludingRects, 858 cc::switches::kShowOccludingRects,
859 cc::switches::kTraceOverdraw, 859 cc::switches::kTraceOverdraw,
860 cc::switches::kTopControlsHeight, 860 cc::switches::kTopControlsHeight,
861 cc::switches::kTopControlsShowThreshold,
862 cc::switches::kTopControlsHideThreshold,
861 cc::switches::kSlowDownRasterScaleFactor, 863 cc::switches::kSlowDownRasterScaleFactor,
862 cc::switches::kUseCheapnessEstimator, 864 cc::switches::kUseCheapnessEstimator,
863 }; 865 };
864 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, 866 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames,
865 arraysize(kSwitchNames)); 867 arraysize(kSwitchNames));
866 868
867 // Disable databases in incognito mode. 869 // Disable databases in incognito mode.
868 if (GetBrowserContext()->IsOffTheRecord() && 870 if (GetBrowserContext()->IsOffTheRecord() &&
869 !browser_cmd.HasSwitch(switches::kDisableDatabases)) { 871 !browser_cmd.HasSwitch(switches::kDisableDatabases)) {
870 renderer_cmd->AppendSwitch(switches::kDisableDatabases); 872 renderer_cmd->AppendSwitch(switches::kDisableDatabases);
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after
1609 TRACE_EVENT0("renderer_host", 1611 TRACE_EVENT0("renderer_host",
1610 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); 1612 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost");
1611 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; 1613 AcceleratedSurfaceMsg_BufferPresented_Params ack_params;
1612 ack_params.sync_point = 0; 1614 ack_params.sync_point = 0;
1613 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, 1615 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id,
1614 gpu_process_host_id, 1616 gpu_process_host_id,
1615 ack_params); 1617 ack_params);
1616 } 1618 }
1617 1619
1618 } // namespace content 1620 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698