| 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 #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 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 ScopedPtrVector<ScopedResource> resources_; | 125 ScopedPtrVector<ScopedResource> resources_; |
| 126 scoped_ptr<SkCanvas> hud_canvas_; | 126 scoped_ptr<SkCanvas> hud_canvas_; |
| 127 | 127 |
| 128 skia::RefPtr<SkTypeface> typeface_; | 128 skia::RefPtr<SkTypeface> typeface_; |
| 129 | 129 |
| 130 Graph fps_graph_; | 130 Graph fps_graph_; |
| 131 Graph paint_time_graph_; | 131 Graph paint_time_graph_; |
| 132 MemoryHistory::Entry memory_entry_; | 132 MemoryHistory::Entry memory_entry_; |
| 133 int fade_step_; | 133 int fade_step_; |
| 134 std::vector<DebugRect> paint_rects_; | 134 std::vector<DebugRect> paint_rects_; |
| 135 // TODO(kouhei) |
| 136 int fade_step_f_; |
| 137 std::vector<DebugRect> first_paint_rects_; |
| 135 | 138 |
| 136 base::TimeTicks time_of_last_graph_update_; | 139 base::TimeTicks time_of_last_graph_update_; |
| 137 | 140 |
| 138 DISALLOW_COPY_AND_ASSIGN(HeadsUpDisplayLayerImpl); | 141 DISALLOW_COPY_AND_ASSIGN(HeadsUpDisplayLayerImpl); |
| 139 }; | 142 }; |
| 140 | 143 |
| 141 } // namespace cc | 144 } // namespace cc |
| 142 | 145 |
| 143 #endif // CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_ | 146 #endif // CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_ |
| OLD | NEW |