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

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: Make color setting work properly. 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,
1021 cc::switches::kShowScreenSpaceRects, 1022 cc::switches::kShowScreenSpaceRects,
1022 cc::switches::kShowSurfaceDamageRects, 1023 cc::switches::kShowSurfaceDamageRects,
1023 cc::switches::kSlowDownRasterScaleFactor, 1024 cc::switches::kSlowDownRasterScaleFactor,
1025 cc::switches::kSolidColorScrollbarColor,
1026 cc::switches::kSolidColorScrollbarThickness,
1024 cc::switches::kStrictLayerPropertyChangeChecking, 1027 cc::switches::kStrictLayerPropertyChangeChecking,
1025 cc::switches::kTopControlsHeight, 1028 cc::switches::kTopControlsHeight,
1026 cc::switches::kTopControlsHideThreshold, 1029 cc::switches::kTopControlsHideThreshold,
1027 cc::switches::kTopControlsShowThreshold, 1030 cc::switches::kTopControlsShowThreshold,
1028 cc::switches::kTraceOverdraw, 1031 cc::switches::kTraceOverdraw,
1029 cc::switches::kUseMapImage, 1032 cc::switches::kUseMapImage,
1030 }; 1033 };
1031 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, 1034 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames,
1032 arraysize(kSwitchNames)); 1035 arraysize(kSwitchNames));
1033 1036
(...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after
1776 // Skip widgets in other processes. 1779 // Skip widgets in other processes.
1777 if (widgets[i]->GetProcess()->GetID() != GetID()) 1780 if (widgets[i]->GetProcess()->GetID() != GetID())
1778 continue; 1781 continue;
1779 1782
1780 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); 1783 RenderViewHost* rvh = RenderViewHost::From(widgets[i]);
1781 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); 1784 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences());
1782 } 1785 }
1783 } 1786 }
1784 1787
1785 } // namespace content 1788 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698