| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CC_DEBUG_COLORS_H_ | 5 #ifndef CC_DEBUG_COLORS_H_ |
| 6 #define CC_DEBUG_COLORS_H_ | 6 #define CC_DEBUG_COLORS_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "third_party/skia/include/core/SkColor.h" | 9 #include "third_party/skia/include/core/SkColor.h" |
| 10 | 10 |
| 11 namespace cc { | 11 namespace cc { |
| 12 | 12 |
| 13 class LayerTreeImpl; | 13 class LayerTreeImpl; |
| 14 | 14 |
| 15 class DebugColors { | 15 class DebugColors { |
| 16 public: | 16 public: |
| 17 static SkColor TiledContentLayerBorderColor(); | 17 static SkColor TiledContentLayerBorderColor(); |
| 18 static int TiledContentLayerBorderWidth(const LayerTreeImpl* tree_impl); | 18 static int TiledContentLayerBorderWidth(const LayerTreeImpl* tree_impl); |
| 19 | 19 |
| 20 static SkColor ImageLayerBorderColor(); |
| 21 static int ImageLayerBorderWidth(const LayerTreeImpl* tree_impl); |
| 22 |
| 20 static SkColor ContentLayerBorderColor(); | 23 static SkColor ContentLayerBorderColor(); |
| 21 static int ContentLayerBorderWidth(const LayerTreeImpl* tree_impl); | 24 static int ContentLayerBorderWidth(const LayerTreeImpl* tree_impl); |
| 22 | 25 |
| 23 static SkColor MaskingLayerBorderColor(); | 26 static SkColor MaskingLayerBorderColor(); |
| 24 static int MaskingLayerBorderWidth(const LayerTreeImpl* tree_impl); | 27 static int MaskingLayerBorderWidth(const LayerTreeImpl* tree_impl); |
| 25 | 28 |
| 26 static SkColor ContainerLayerBorderColor(); | 29 static SkColor ContainerLayerBorderColor(); |
| 27 static int ContainerLayerBorderWidth(const LayerTreeImpl* tree_impl); | 30 static int ContainerLayerBorderWidth(const LayerTreeImpl* tree_impl); |
| 28 | 31 |
| 29 static SkColor SurfaceBorderColor(); | 32 static SkColor SurfaceBorderColor(); |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 static SkColor PlatformLayerTreeTextColor(); | 88 static SkColor PlatformLayerTreeTextColor(); |
| 86 static SkColor FPSDisplayTextAndGraphColor(); | 89 static SkColor FPSDisplayTextAndGraphColor(); |
| 87 static SkColor PaintTimeDisplayTextAndGraphColor(); | 90 static SkColor PaintTimeDisplayTextAndGraphColor(); |
| 88 | 91 |
| 89 DISALLOW_IMPLICIT_CONSTRUCTORS(DebugColors); | 92 DISALLOW_IMPLICIT_CONSTRUCTORS(DebugColors); |
| 90 }; | 93 }; |
| 91 | 94 |
| 92 } // namespace cc | 95 } // namespace cc |
| 93 | 96 |
| 94 #endif // CC_DEBUG_COLORS_H_ | 97 #endif // CC_DEBUG_COLORS_H_ |
| OLD | NEW |