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

Side by Side Diff: cc/debug/debug_colors.cc

Issue 1377823002: Change HUD colors to distinguish status easily. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed typecasting warning. Created 5 years, 2 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/debug/debug_colors.h ('k') | cc/layers/heads_up_display_layer_impl.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 #include "base/macros.h" 5 #include "base/macros.h"
6 6
7 #include "cc/debug/debug_colors.h" 7 #include "cc/debug/debug_colors.h"
8 8
9 #include "cc/trees/layer_tree_impl.h" 9 #include "cc/trees/layer_tree_impl.h"
10 10
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 } 273 }
274 274
275 // Picture borders in transparent blue. 275 // Picture borders in transparent blue.
276 SkColor DebugColors::PictureBorderColor() { 276 SkColor DebugColors::PictureBorderColor() {
277 return SkColorSetARGB(100, 0, 0, 200); 277 return SkColorSetARGB(100, 0, 0, 200);
278 } 278 }
279 279
280 // ======= HUD widget colors ======= 280 // ======= HUD widget colors =======
281 281
282 SkColor DebugColors::HUDBackgroundColor() { 282 SkColor DebugColors::HUDBackgroundColor() {
283 return SkColorSetARGB(215, 17, 17, 17); 283 return SkColorSetARGB(208, 17, 17, 17);
284 } 284 }
285 SkColor DebugColors::HUDSeparatorLineColor() { 285 SkColor DebugColors::HUDSeparatorLineColor() {
286 return SkColorSetARGB(255, 130, 130, 130); 286 return SkColorSetARGB(64, 0, 255, 0);
287 } 287 }
288 SkColor DebugColors::HUDIndicatorLineColor() { 288 SkColor DebugColors::HUDIndicatorLineColor() {
289 return SkColorSetARGB(255, 80, 80, 80); 289 return SK_ColorYELLOW;
290 }
291 SkColor DebugColors::HUDTitleColor() {
292 return SkColorSetARGB(255, 232, 232, 232);
290 } 293 }
291 294
292 SkColor DebugColors::PlatformLayerTreeTextColor() { return SK_ColorRED; } 295 SkColor DebugColors::PlatformLayerTreeTextColor() { return SK_ColorRED; }
293 SkColor DebugColors::FPSDisplayTextAndGraphColor() { return SK_ColorRED; } 296 SkColor DebugColors::FPSDisplayTextAndGraphColor() {
297 return SK_ColorGREEN;
298 }
294 SkColor DebugColors::MemoryDisplayTextColor() { 299 SkColor DebugColors::MemoryDisplayTextColor() {
295 return SkColorSetARGB(255, 220, 220, 220); 300 return SK_ColorCYAN;
296 } 301 }
297 302
298 // Paint time display in green (similar to paint times in the WebInspector) 303 // Paint time display in green (similar to paint times in the WebInspector)
299 SkColor DebugColors::PaintTimeDisplayTextAndGraphColor() { 304 SkColor DebugColors::PaintTimeDisplayTextAndGraphColor() {
300 return SkColorSetRGB(75, 155, 55); 305 return SkColorSetRGB(75, 155, 55);
301 } 306 }
302 307
303 } // namespace cc 308 } // namespace cc
OLDNEW
« no previous file with comments | « cc/debug/debug_colors.h ('k') | cc/layers/heads_up_display_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698