2c35c4aabb7413573d47830ccc7941ac9a15ce14
[platform/framework/web/crosswalk.git] / src / cc / debug / debug_colors.h
1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CC_DEBUG_DEBUG_COLORS_H_
6 #define CC_DEBUG_DEBUG_COLORS_H_
7
8 #include "base/basictypes.h"
9 #include "third_party/skia/include/core/SkColor.h"
10
11 namespace cc {
12
13 class LayerTreeImpl;
14
15 class DebugColors {
16  public:
17   static SkColor TiledContentLayerBorderColor();
18   static int TiledContentLayerBorderWidth(const LayerTreeImpl* tree_impl);
19
20   static SkColor ImageLayerBorderColor();
21   static int ImageLayerBorderWidth(const LayerTreeImpl* tree_impl);
22
23   static SkColor ContentLayerBorderColor();
24   static int ContentLayerBorderWidth(const LayerTreeImpl* tree_impl);
25
26   static SkColor MaskingLayerBorderColor();
27   static int MaskingLayerBorderWidth(const LayerTreeImpl* tree_impl);
28
29   static SkColor ContainerLayerBorderColor();
30   static int ContainerLayerBorderWidth(const LayerTreeImpl* tree_impl);
31
32   static SkColor SurfaceLayerBorderColor();
33   static int SurfaceLayerBorderWidth(const LayerTreeImpl* tree_impl);
34
35   static SkColor SurfaceBorderColor();
36   static int SurfaceBorderWidth(const LayerTreeImpl* tree_impl);
37
38   static SkColor SurfaceReplicaBorderColor();
39   static int SurfaceReplicaBorderWidth(const LayerTreeImpl* tree_impl);
40
41   static SkColor HighResTileBorderColor();
42   static int HighResTileBorderWidth(const LayerTreeImpl* tree_impl);
43
44   static SkColor LowResTileBorderColor();
45   static int LowResTileBorderWidth(const LayerTreeImpl* tree_impl);
46
47   static SkColor ExtraHighResTileBorderColor();
48   static int ExtraHighResTileBorderWidth(const LayerTreeImpl* tree_impl);
49
50   static SkColor ExtraLowResTileBorderColor();
51   static int ExtraLowResTileBorderWidth(const LayerTreeImpl* tree_impl);
52
53   static SkColor MissingTileBorderColor();
54   static int MissingTileBorderWidth(const LayerTreeImpl* tree_impl);
55
56   static SkColor CulledTileBorderColor();
57   static int CulledTileBorderWidth(const LayerTreeImpl* tree_impl);
58
59   static SkColor SolidColorTileBorderColor();
60   static int SolidColorTileBorderWidth(const LayerTreeImpl* tree_impl);
61
62   static SkColor PictureTileBorderColor();
63   static int PictureTileBorderWidth(const LayerTreeImpl* tree_impl);
64
65   static SkColor DirectPictureBorderColor();
66   static int DirectPictureBorderWidth(const LayerTreeImpl* tree_impl);
67
68   static SkColor DefaultCheckerboardColor();
69   static SkColor EvictedTileCheckerboardColor();
70   static SkColor InvalidatedTileCheckerboardColor();
71
72   static SkColor PaintRectBorderColor();
73   static int PaintRectBorderWidth();
74   static SkColor PaintRectFillColor();
75
76   static SkColor PropertyChangedRectBorderColor();
77   static int PropertyChangedRectBorderWidth();
78   static SkColor PropertyChangedRectFillColor();
79
80   static SkColor SurfaceDamageRectBorderColor();
81   static int SurfaceDamageRectBorderWidth();
82   static SkColor SurfaceDamageRectFillColor();
83
84   static SkColor ScreenSpaceLayerRectBorderColor();
85   static int ScreenSpaceLayerRectBorderWidth();
86   static SkColor ScreenSpaceLayerRectFillColor();
87
88   static SkColor ScreenSpaceSurfaceReplicaRectBorderColor();
89   static int ScreenSpaceSurfaceReplicaRectBorderWidth();
90   static SkColor ScreenSpaceSurfaceReplicaRectFillColor();
91
92   static SkColor OccludingRectBorderColor();
93   static int OccludingRectBorderWidth();
94   static SkColor OccludingRectFillColor();
95
96   static SkColor NonOccludingRectBorderColor();
97   static int NonOccludingRectBorderWidth();
98   static SkColor NonOccludingRectFillColor();
99
100   static SkColor TouchEventHandlerRectBorderColor();
101   static int TouchEventHandlerRectBorderWidth();
102   static SkColor TouchEventHandlerRectFillColor();
103
104   static SkColor WheelEventHandlerRectBorderColor();
105   static int WheelEventHandlerRectBorderWidth();
106   static SkColor WheelEventHandlerRectFillColor();
107
108   static SkColor NonFastScrollableRectBorderColor();
109   static int NonFastScrollableRectBorderWidth();
110   static SkColor NonFastScrollableRectFillColor();
111
112   static SkColor LayerAnimationBoundsBorderColor();
113   static int LayerAnimationBoundsBorderWidth();
114   static SkColor LayerAnimationBoundsFillColor();
115
116   static SkColor NonPaintedFillColor();
117   static SkColor MissingPictureFillColor();
118   static SkColor PictureBorderColor();
119
120   static SkColor HUDBackgroundColor();
121   static SkColor HUDSeparatorLineColor();
122   static SkColor HUDIndicatorLineColor();
123
124   static SkColor PlatformLayerTreeTextColor();
125   static SkColor FPSDisplayTextAndGraphColor();
126   static SkColor MemoryDisplayTextColor();
127   static SkColor PaintTimeDisplayTextAndGraphColor();
128
129  private:
130   DISALLOW_IMPLICIT_CONSTRUCTORS(DebugColors);
131 };
132
133 }  // namespace cc
134
135 #endif  // CC_DEBUG_DEBUG_COLORS_H_