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_DEBUG_COLORS_H_ | 5 #ifndef CC_DEBUG_DEBUG_COLORS_H_ |
6 #define CC_DEBUG_DEBUG_COLORS_H_ | 6 #define CC_DEBUG_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 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 | 49 |
50 static SkColor ExtraLowResTileBorderColor(); | 50 static SkColor ExtraLowResTileBorderColor(); |
51 static int ExtraLowResTileBorderWidth(const LayerTreeImpl* tree_impl); | 51 static int ExtraLowResTileBorderWidth(const LayerTreeImpl* tree_impl); |
52 | 52 |
53 static SkColor MissingTileBorderColor(); | 53 static SkColor MissingTileBorderColor(); |
54 static int MissingTileBorderWidth(const LayerTreeImpl* tree_impl); | 54 static int MissingTileBorderWidth(const LayerTreeImpl* tree_impl); |
55 | 55 |
56 static SkColor SolidColorTileBorderColor(); | 56 static SkColor SolidColorTileBorderColor(); |
57 static int SolidColorTileBorderWidth(const LayerTreeImpl* tree_impl); | 57 static int SolidColorTileBorderWidth(const LayerTreeImpl* tree_impl); |
58 | 58 |
59 static SkColor OOMTileBorderColor(); | 59 static SkColor PictureTileBorderColor(); |
60 static int OOMTileBorderWidth(const LayerTreeImpl* tree_impl); | 60 static int PictureTileBorderWidth(const LayerTreeImpl* tree_impl); |
61 | 61 |
62 static SkColor DirectPictureBorderColor(); | 62 static SkColor DirectPictureBorderColor(); |
63 static int DirectPictureBorderWidth(const LayerTreeImpl* tree_impl); | 63 static int DirectPictureBorderWidth(const LayerTreeImpl* tree_impl); |
64 | 64 |
65 static SkColor DefaultCheckerboardColor(); | 65 static SkColor DefaultCheckerboardColor(); |
66 static SkColor EvictedTileCheckerboardColor(); | 66 static SkColor EvictedTileCheckerboardColor(); |
67 static SkColor InvalidatedTileCheckerboardColor(); | 67 static SkColor InvalidatedTileCheckerboardColor(); |
68 | 68 |
69 static const int kFadeSteps = 50; | 69 static const int kFadeSteps = 50; |
70 static SkColor PaintRectBorderColor(int step); | 70 static SkColor PaintRectBorderColor(int step); |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 static SkColor MemoryDisplayTextColor(); | 121 static SkColor MemoryDisplayTextColor(); |
122 static SkColor PaintTimeDisplayTextAndGraphColor(); | 122 static SkColor PaintTimeDisplayTextAndGraphColor(); |
123 | 123 |
124 private: | 124 private: |
125 DISALLOW_IMPLICIT_CONSTRUCTORS(DebugColors); | 125 DISALLOW_IMPLICIT_CONSTRUCTORS(DebugColors); |
126 }; | 126 }; |
127 | 127 |
128 } // namespace cc | 128 } // namespace cc |
129 | 129 |
130 #endif // CC_DEBUG_DEBUG_COLORS_H_ | 130 #endif // CC_DEBUG_DEBUG_COLORS_H_ |
OLD | NEW |