Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Side by Side Diff: cc/debug_colors.h

Issue 12326022: Efficiently handle image layer scaling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix win warnings Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/cc.gyp ('k') | cc/debug_colors.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 static SkColor PlatformLayerTreeTextColor(); 91 static SkColor PlatformLayerTreeTextColor();
89 static SkColor FPSDisplayTextAndGraphColor(); 92 static SkColor FPSDisplayTextAndGraphColor();
90 static SkColor PaintTimeDisplayTextAndGraphColor(); 93 static SkColor PaintTimeDisplayTextAndGraphColor();
91 94
92 DISALLOW_IMPLICIT_CONSTRUCTORS(DebugColors); 95 DISALLOW_IMPLICIT_CONSTRUCTORS(DebugColors);
93 }; 96 };
94 97
95 } // namespace cc 98 } // namespace cc
96 99
97 #endif // CC_DEBUG_COLORS_H_ 100 #endif // CC_DEBUG_COLORS_H_
OLDNEW
« no previous file with comments | « cc/cc.gyp ('k') | cc/debug_colors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698