Chromium Code Reviews| OLD | NEW |
|---|---|
| (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_ | |
| OLD | NEW |