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

Side by Side Diff: cc/debug_colors.h

Issue 11316026: cc: Create cc::DebugColors class to hold all the debugging color/width constants. (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 | « cc/cc.gyp ('k') | 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
(Empty)
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_COLORS_H_
6 #define CC_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 LayerTreeHostImpl;
14
15 class DebugColors {
16 public:
17 static SkColor TiledContentLayerBorderColor();
18 static int TiledContentLayerBorderWidth(const LayerTreeHostImpl* host_impl);
19
20 static SkColor ContentLayerBorderColor();
21 static int ContentLayerBorderWidth(const LayerTreeHostImpl* host_impl);
22
23 static SkColor MaskingLayerBorderColor();
24 static int MaskingLayerBorderWidth(const LayerTreeHostImpl* host_impl);
25
26 static SkColor ContainerLayerBorderColor();
27 static int ContainerLayerBorderWidth(const LayerTreeHostImpl* host_impl);
28
29 static SkColor SurfaceBorderColor();
30 static int SurfaceBorderWidth(const LayerTreeHostImpl* host_impl);
31
32 static SkColor SurfaceReplicaBorderColor();
33 static int SurfaceReplicaBorderWidth(const LayerTreeHostImpl* host_impl);
34
35 static SkColor TileBorderColor();
36 static int TileBorderWidth(const LayerTreeHostImpl* host_impl);
37
38 static SkColor MissingTileBorderColor();
39 static int MissingTileBorderWidth(const LayerTreeHostImpl* host_impl);
40
41 static SkColor CulledTileBorderColor();
42 static int CulledTileBorderWidth(const LayerTreeHostImpl* host_impl);
43
44 static SkColor EvictedTileCheckerboardColor();
45 static SkColor InvalidatedTileCheckerboardColor();
46
47 DISALLOW_IMPLICIT_CONSTRUCTORS(DebugColors);
48 };
49
50 } // namespace cc
51
52 #endif // CC_DEBUG_COLORS_H_
OLDNEW
« no previous file with comments | « cc/cc.gyp ('k') | cc/debug_colors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698