OLD | NEW |
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 Loading... |
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 |
OLD | NEW |