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

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: Changed int to unsigned. Removed const where it's needless. 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..96de7565ae18d21805e5c9969595ceb5cfde654f 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;
caseq 2014/03/06 12:40:04 why is this still signed?
danakj 2014/03/06 19:03:21 Chromium style guide says to use signed ints and D
+ static SkColor PaintRectBorderColor(unsigned step);
danakj 2014/03/06 19:03:21 so these should really be int, sorry.
static int PaintRectBorderWidth();
- static SkColor PaintRectFillColor();
+ static SkColor PaintRectFillColor(unsigned step);
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