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

Unified Diff: cc/debug/debug_colors.h

Issue 187343007: Adding fading effect for paint rectangles in HUD. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Uploading same set once again. Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/debug/debug_colors.cc » ('j') | cc/debug/debug_colors.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/debug_colors.h
diff --git a/cc/debug/debug_colors.h b/cc/debug/debug_colors.h
index 2c35c4aabb7413573d47830ccc7941ac9a15ce14..4ab6b27da4655aa013db20b9a02643bc05297987 100644
--- a/cc/debug/debug_colors.h
+++ b/cc/debug/debug_colors.h
@@ -69,9 +69,10 @@ class DebugColors {
static SkColor EvictedTileCheckerboardColor();
static SkColor InvalidatedTileCheckerboardColor();
- static SkColor PaintRectBorderColor();
+ static const int kFadeSteps = 50;
+ static SkColor PaintRectBorderColor(const int step);
caseq 2014/03/06 11:48:37 no need for const here. also, unsigned perhaps?
static int PaintRectBorderWidth();
- static SkColor PaintRectFillColor();
+ static SkColor PaintRectFillColor(const int step);
caseq 2014/03/06 11:48:37 ditto
static SkColor PropertyChangedRectBorderColor();
static int PropertyChangedRectBorderWidth();
« no previous file with comments | « no previous file | cc/debug/debug_colors.cc » ('j') | cc/debug/debug_colors.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698