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 "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_ |
OLD | NEW |