Chromium Code Reviews| Index: cc/debug_colors.h |
| diff --git a/cc/debug_colors.h b/cc/debug_colors.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..40b73b2de2e8ceb3fd476375403cd2c28d55ffd1 |
| --- /dev/null |
| +++ b/cc/debug_colors.h |
| @@ -0,0 +1,49 @@ |
| +// Copyright 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CC_DEBUG_COLORS_H_ |
| +#define CC_DEBUG_COLORS_H_ |
| + |
| +#include "third_party/skia/include/core/SkColor.h" |
| + |
| +namespace cc { |
| + |
| +class LayerTreeHostImpl; |
| + |
| +class DebugColors { |
| + public: |
| + 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
|
| + static int kTiledContentLayerBorderWidth(const LayerTreeHostImpl* hostImpl); |
|
tfarina
2012/11/15 21:06:10
if this were to follow chromium style then three m
|
| + |
| + static SkColor kContentLayerBorderColor(); |
| + static int kContentLayerBorderWidth(const LayerTreeHostImpl* hostImpl); |
| + |
| + static SkColor kMaskingLayerBorderColor(); |
| + static int kMaskingLayerBorderWidth(const LayerTreeHostImpl* hostImpl); |
| + |
| + static SkColor kContainerLayerBorderColor(); |
| + static int kContainerLayerBorderWidth(const LayerTreeHostImpl* hostImpl); |
| + |
| + static SkColor kSurfaceBorderColor(); |
| + static SkColor kSurfaceBorderWidth(const LayerTreeHostImpl* hostImpl); |
| + |
| + static SkColor kSurfaceReplicaBorderColor(); |
| + static SkColor kSurfaceReplicaBorderWidth(const LayerTreeHostImpl* hostImpl); |
| + |
| + static SkColor kTileBorderColor(); |
| + static int kTileBorderWidth(const LayerTreeHostImpl* hostImpl); |
| + |
| + static SkColor kMissingTileBorderColor(); |
| + static int kMissingTileBorderWidth(const LayerTreeHostImpl* hostImpl); |
| + |
| + static SkColor kCulledTileBorderColor(); |
| + static int kCulledTileBorderWidth(const LayerTreeHostImpl* hostImpl); |
| + |
| + static SkColor kEvictedTileCheckerboardColor(); |
| + static SkColor kInvalidatedTileCheckerboardColor(); |
| +}; |
|
tfarina
2012/11/15 21:06:10
DISALLOW_IMPLICIT_CONSTRUCTORS
danakj
2012/11/15 21:11:34
ah.. fancy.
|
| + |
| +} // namespace cc |
| + |
| +#endif // CC_DEBUG_COLORS_H_ |