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

Side by Side Diff: cc/layers/heads_up_display_layer_impl.h

Issue 121223002: DevTools: Change paint rectangles' colors in compositor to shades of green. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Made colors closer in hue space. Created 6 years, 10 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
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 #ifndef CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_ 5 #ifndef CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_
6 #define CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_ 6 #define CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 DebugRectHistory* debug_rect_history) const; 112 DebugRectHistory* debug_rect_history) const;
113 113
114 scoped_ptr<ScopedResource> hud_resource_; 114 scoped_ptr<ScopedResource> hud_resource_;
115 scoped_ptr<SkCanvas> hud_canvas_; 115 scoped_ptr<SkCanvas> hud_canvas_;
116 116
117 skia::RefPtr<SkTypeface> typeface_; 117 skia::RefPtr<SkTypeface> typeface_;
118 118
119 Graph fps_graph_; 119 Graph fps_graph_;
120 Graph paint_time_graph_; 120 Graph paint_time_graph_;
121 MemoryHistory::Entry memory_entry_; 121 MemoryHistory::Entry memory_entry_;
122 mutable int current_paint_rect_color_;
danakj 2014/02/10 16:11:12 why mutable?
122 123
123 base::TimeTicks time_of_last_graph_update_; 124 base::TimeTicks time_of_last_graph_update_;
124 125
125 DISALLOW_COPY_AND_ASSIGN(HeadsUpDisplayLayerImpl); 126 DISALLOW_COPY_AND_ASSIGN(HeadsUpDisplayLayerImpl);
126 }; 127 };
127 128
128 } // namespace cc 129 } // namespace cc
129 130
130 #endif // CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_ 131 #endif // CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698