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

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: Final fixes. 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') | no next file with comments »
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..4df748b71042abc411b79f586a7d130c58dc17bf 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(int step);
static int PaintRectBorderWidth();
- static SkColor PaintRectFillColor();
+ static SkColor PaintRectFillColor(int step);
static SkColor PropertyChangedRectBorderColor();
static int PropertyChangedRectBorderWidth();
« no previous file with comments | « no previous file | cc/debug/debug_colors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698