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 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 | 111 |
112 scoped_ptr<ScopedResource> hud_resource_; | 112 scoped_ptr<ScopedResource> hud_resource_; |
113 scoped_ptr<SkCanvas> hud_canvas_; | 113 scoped_ptr<SkCanvas> hud_canvas_; |
114 | 114 |
115 skia::RefPtr<SkTypeface> typeface_; | 115 skia::RefPtr<SkTypeface> typeface_; |
116 | 116 |
117 Graph fps_graph_; | 117 Graph fps_graph_; |
118 Graph paint_time_graph_; | 118 Graph paint_time_graph_; |
119 MemoryHistory::Entry memory_entry_; | 119 MemoryHistory::Entry memory_entry_; |
120 | 120 |
121 base::TimeTicks time_of_last_graph_update_; | 121 gfx::FrameTime time_of_last_graph_update_; |
122 | 122 |
123 DISALLOW_COPY_AND_ASSIGN(HeadsUpDisplayLayerImpl); | 123 DISALLOW_COPY_AND_ASSIGN(HeadsUpDisplayLayerImpl); |
124 }; | 124 }; |
125 | 125 |
126 } // namespace cc | 126 } // namespace cc |
127 | 127 |
128 #endif // CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_ | 128 #endif // CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_ |
OLD | NEW |