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

Unified Diff: cc/debug/debug_colors.h

Issue 2748263002: Move cc::DisplayItemList and related classes into cc/paint/ (Closed)
Patch Set: none Created 3 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 side-by-side diff with in-line comments
Download patch
Index: cc/debug/debug_colors.h
diff --git a/cc/debug/debug_colors.h b/cc/debug/debug_colors.h
index 154766fdafab0dd2f915d2ca8c425a7b77dd5369..f68868db926161c758c35d81ab1439e6494a8b53 100644
--- a/cc/debug/debug_colors.h
+++ b/cc/debug/debug_colors.h
@@ -10,57 +10,55 @@
namespace cc {
-class LayerTreeImpl;
-
class DebugColors {
public:
static SkColor TiledContentLayerBorderColor();
- static int TiledContentLayerBorderWidth(const LayerTreeImpl* tree_impl);
enne (OOO) 2017/03/16 00:51:15 This is nice cleanup.
chrishtr 2017/03/16 02:00:35 cool thanks
+ static int TiledContentLayerBorderWidth(float device_scale_factor);
static SkColor ImageLayerBorderColor();
- static int ImageLayerBorderWidth(const LayerTreeImpl* tree_impl);
+ static int ImageLayerBorderWidth(float device_scale_factor);
static SkColor ContentLayerBorderColor();
- static int ContentLayerBorderWidth(const LayerTreeImpl* tree_impl);
+ static int ContentLayerBorderWidth(float device_scale_factor);
static SkColor MaskingLayerBorderColor();
- static int MaskingLayerBorderWidth(const LayerTreeImpl* tree_impl);
+ static int MaskingLayerBorderWidth(float device_scale_factor);
static SkColor ContainerLayerBorderColor();
- static int ContainerLayerBorderWidth(const LayerTreeImpl* tree_impl);
+ static int ContainerLayerBorderWidth(float device_scale_factor);
static SkColor SurfaceLayerBorderColor();
- static int SurfaceLayerBorderWidth(const LayerTreeImpl* tree_impl);
+ static int SurfaceLayerBorderWidth(float device_scale_factor);
static SkColor SurfaceBorderColor();
- static int SurfaceBorderWidth(const LayerTreeImpl* tree_impl);
+ static int SurfaceBorderWidth(float device_scale_factor);
static SkColor HighResTileBorderColor();
- static int HighResTileBorderWidth(const LayerTreeImpl* tree_impl);
+ static int HighResTileBorderWidth(float device_scale_factor);
static SkColor LowResTileBorderColor();
- static int LowResTileBorderWidth(const LayerTreeImpl* tree_impl);
+ static int LowResTileBorderWidth(float device_scale_factor);
static SkColor ExtraHighResTileBorderColor();
- static int ExtraHighResTileBorderWidth(const LayerTreeImpl* tree_impl);
+ static int ExtraHighResTileBorderWidth(float device_scale_factor);
static SkColor ExtraLowResTileBorderColor();
- static int ExtraLowResTileBorderWidth(const LayerTreeImpl* tree_impl);
+ static int ExtraLowResTileBorderWidth(float device_scale_factor);
static SkColor MissingTileBorderColor();
- static int MissingTileBorderWidth(const LayerTreeImpl* tree_impl);
+ static int MissingTileBorderWidth(float device_scale_factor);
static SkColor SolidColorTileBorderColor();
- static int SolidColorTileBorderWidth(const LayerTreeImpl* tree_impl);
+ static int SolidColorTileBorderWidth(float device_scale_factor);
static SkColor OOMTileBorderColor();
- static int OOMTileBorderWidth(const LayerTreeImpl* tree_impl);
+ static int OOMTileBorderWidth(float device_scale_factor);
static SkColor DirectPictureBorderColor();
- static int DirectPictureBorderWidth(const LayerTreeImpl* tree_impl);
+ static int DirectPictureBorderWidth(float device_scale_factor);
static SkColor CompressedTileBorderColor();
- static int CompressedTileBorderWidth(const LayerTreeImpl* tree_impl);
+ static int CompressedTileBorderWidth(float device_scale_factor);
static SkColor DefaultCheckerboardColor();
static SkColor EvictedTileCheckerboardColor();

Powered by Google App Engine
This is Rietveld 408576698