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

Side by Side Diff: cc/debug_colors.h

Issue 11280012: cc: Move the HUD debug colors into the cc::DebugColors class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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
« no previous file with comments | « no previous file | cc/debug_colors.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 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 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 #ifndef CC_DEBUG_COLORS_H_ 5 #ifndef CC_DEBUG_COLORS_H_
6 #define CC_DEBUG_COLORS_H_ 6 #define CC_DEBUG_COLORS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "third_party/skia/include/core/SkColor.h" 9 #include "third_party/skia/include/core/SkColor.h"
10 10
(...skipping 26 matching lines...) Expand all
37 37
38 static SkColor MissingTileBorderColor(); 38 static SkColor MissingTileBorderColor();
39 static int MissingTileBorderWidth(const LayerTreeHostImpl* host_impl); 39 static int MissingTileBorderWidth(const LayerTreeHostImpl* host_impl);
40 40
41 static SkColor CulledTileBorderColor(); 41 static SkColor CulledTileBorderColor();
42 static int CulledTileBorderWidth(const LayerTreeHostImpl* host_impl); 42 static int CulledTileBorderWidth(const LayerTreeHostImpl* host_impl);
43 43
44 static SkColor EvictedTileCheckerboardColor(); 44 static SkColor EvictedTileCheckerboardColor();
45 static SkColor InvalidatedTileCheckerboardColor(); 45 static SkColor InvalidatedTileCheckerboardColor();
46 46
47 static SkColor PaintRectBorderColor();
48 static int PaintRectBorderWidth(const LayerTreeHostImpl* host_impl);
49 static SkColor PaintRectFillColor();
50
51 static SkColor PropertyChangedRectBorderColor();
52 static int PropertyChangedRectBorderWidth(const LayerTreeHostImpl* host_impl);
53 static SkColor PropertyChangedRectFillColor();
54
55 static SkColor SurfaceDamageRectBorderColor();
56 static int SurfaceDamageRectBorderWidth(const LayerTreeHostImpl* host_impl);
57 static SkColor SurfaceDamageRectFillColor();
58
59 static SkColor ScreenSpaceLayerRectBorderColor();
60 static int ScreenSpaceLayerRectBorderWidth(const LayerTreeHostImpl* host_impl) ;
61 static SkColor ScreenSpaceLayerRectFillColor();
62
63 static SkColor ScreenSpaceSurfaceReplicaRectBorderColor();
64 static int ScreenSpaceSurfaceReplicaRectBorderWidth(const LayerTreeHostImpl* h ost_impl);
65 static SkColor ScreenSpaceSurfaceReplicaRectFillColor();
66
67 static SkColor OccludingRectBorderColor();
68 static int OccludingRectBorderWidth(const LayerTreeHostImpl* host_impl);
69 static SkColor OccludingRectFillColor();
70
71 static SkColor NonOccludingRectBorderColor();
72 static int NonOccludingRectBorderWidth(const LayerTreeHostImpl* host_impl);
73 static SkColor NonOccludingRectFillColor();
74
47 DISALLOW_IMPLICIT_CONSTRUCTORS(DebugColors); 75 DISALLOW_IMPLICIT_CONSTRUCTORS(DebugColors);
48 }; 76 };
49 77
50 } // namespace cc 78 } // namespace cc
51 79
52 #endif // CC_DEBUG_COLORS_H_ 80 #endif // CC_DEBUG_COLORS_H_
OLDNEW
« no previous file with comments | « no previous file | cc/debug_colors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698