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

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

Issue 17550008: Make IsSolidColor() a property on CC scrollbar layers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add command line flag, remove need for DCHECK(). Created 7 years, 5 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 990 matching lines...) Expand 10 before | Expand all | Expand 10 after
1001 cc::switches::kCompositeToMailbox, 1001 cc::switches::kCompositeToMailbox,
1002 cc::switches::kDisableColorEstimator, 1002 cc::switches::kDisableColorEstimator,
1003 cc::switches::kDisableImplSidePainting, 1003 cc::switches::kDisableImplSidePainting,
1004 cc::switches::kDisableThreadedAnimation, 1004 cc::switches::kDisableThreadedAnimation,
1005 cc::switches::kEnableImplSidePainting, 1005 cc::switches::kEnableImplSidePainting,
1006 cc::switches::kEnablePartialSwap, 1006 cc::switches::kEnablePartialSwap,
1007 cc::switches::kEnablePerTilePainting, 1007 cc::switches::kEnablePerTilePainting,
1008 cc::switches::kEnablePinchVirtualViewport, 1008 cc::switches::kEnablePinchVirtualViewport,
1009 cc::switches::kEnableTopControlsPositionCalculation, 1009 cc::switches::kEnableTopControlsPositionCalculation,
1010 cc::switches::kForceDirectLayerDrawing, 1010 cc::switches::kForceDirectLayerDrawing,
1011 cc::switches::kForceSolidColorScrollbars,
1011 cc::switches::kLowResolutionContentsScaleFactor, 1012 cc::switches::kLowResolutionContentsScaleFactor,
1012 cc::switches::kMaxTilesForInterestArea, 1013 cc::switches::kMaxTilesForInterestArea,
1013 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, 1014 cc::switches::kMaxUnusedResourceMemoryUsagePercentage,
1014 cc::switches::kNumRasterThreads, 1015 cc::switches::kNumRasterThreads,
1015 cc::switches::kShowCompositedLayerBorders, 1016 cc::switches::kShowCompositedLayerBorders,
1016 cc::switches::kShowFPSCounter, 1017 cc::switches::kShowFPSCounter,
1017 cc::switches::kShowNonOccludingRects, 1018 cc::switches::kShowNonOccludingRects,
1018 cc::switches::kShowOccludingRects, 1019 cc::switches::kShowOccludingRects,
1019 cc::switches::kShowPropertyChangedRects, 1020 cc::switches::kShowPropertyChangedRects,
1020 cc::switches::kShowReplicaScreenSpaceRects, 1021 cc::switches::kShowReplicaScreenSpaceRects,
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after
1776 // Skip widgets in other processes. 1777 // Skip widgets in other processes.
1777 if (widgets[i]->GetProcess()->GetID() != GetID()) 1778 if (widgets[i]->GetProcess()->GetID() != GetID())
1778 continue; 1779 continue;
1779 1780
1780 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); 1781 RenderViewHost* rvh = RenderViewHost::From(widgets[i]);
1781 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); 1782 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences());
1782 } 1783 }
1783 } 1784 }
1784 1785
1785 } // namespace content 1786 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698