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

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 "third_party/skia/include/core/SkColor.h"
9
10 namespace cc {
11
12 class LayerTreeHostImpl;
13
14 class DebugColors {
15 public:
16 static SkColor kTiledContentLayerBorderColor();
tfarina 2012/11/15 21:06:10 was the use of 'k' prefix intentional?
danakj 2012/11/15 21:11:34 oh.. i had made them constants before. I'll fix th
17 static int kTiledContentLayerBorderWidth(const LayerTreeHostImpl* hostImpl );
tfarina 2012/11/15 21:06:10 if this were to follow chromium style then three m
18
19 static SkColor kContentLayerBorderColor();
20 static int kContentLayerBorderWidth(const LayerTreeHostImpl* hostImpl);
21
22 static SkColor kMaskingLayerBorderColor();
23 static int kMaskingLayerBorderWidth(const LayerTreeHostImpl* hostImpl);
24
25 static SkColor kContainerLayerBorderColor();
26 static int kContainerLayerBorderWidth(const LayerTreeHostImpl* hostImpl);
27
28 static SkColor kSurfaceBorderColor();
29 static SkColor kSurfaceBorderWidth(const LayerTreeHostImpl* hostImpl);
30
31 static SkColor kSurfaceReplicaBorderColor();
32 static SkColor kSurfaceReplicaBorderWidth(const LayerTreeHostImpl* hostImpl);
33
34 static SkColor kTileBorderColor();
35 static int kTileBorderWidth(const LayerTreeHostImpl* hostImpl);
36
37 static SkColor kMissingTileBorderColor();
38 static int kMissingTileBorderWidth(const LayerTreeHostImpl* hostImpl);
39
40 static SkColor kCulledTileBorderColor();
41 static int kCulledTileBorderWidth(const LayerTreeHostImpl* hostImpl);
42
43 static SkColor kEvictedTileCheckerboardColor();
44 static SkColor kInvalidatedTileCheckerboardColor();
45 };
tfarina 2012/11/15 21:06:10 DISALLOW_IMPLICIT_CONSTRUCTORS
danakj 2012/11/15 21:11:34 ah.. fancy.
46
47 } // namespace cc
48
49 #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