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_DEBUG_DEBUG_RECT_HISTORY_H_ | 5 #ifndef CC_DEBUG_DEBUG_RECT_HISTORY_H_ |
6 #define CC_DEBUG_DEBUG_RECT_HISTORY_H_ | 6 #define CC_DEBUG_DEBUG_RECT_HISTORY_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 #include "base/basictypes.h" | 9 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "cc/layers/layer_lists.h" | 11 #include "cc/layers/layer_lists.h" |
12 #include "ui/gfx/geometry/rect.h" | 12 #include "ui/gfx/geometry/rect.h" |
13 | 13 |
14 namespace cc { | 14 namespace cc { |
15 | 15 |
16 class LayerImpl; | 16 class LayerImpl; |
17 class LayerTreeDebugState; | 17 class LayerTreeDebugState; |
18 | 18 |
19 // There are currently six types of debug rects: | 19 // There are currently six types of debug rects: |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 const LayerImplList& render_surface_layer_list); | 96 const LayerImplList& render_surface_layer_list); |
97 | 97 |
98 std::vector<DebugRect> debug_rects_; | 98 std::vector<DebugRect> debug_rects_; |
99 | 99 |
100 DISALLOW_COPY_AND_ASSIGN(DebugRectHistory); | 100 DISALLOW_COPY_AND_ASSIGN(DebugRectHistory); |
101 }; | 101 }; |
102 | 102 |
103 } // namespace cc | 103 } // namespace cc |
104 | 104 |
105 #endif // CC_DEBUG_DEBUG_RECT_HISTORY_H_ | 105 #endif // CC_DEBUG_DEBUG_RECT_HISTORY_H_ |
OLD | NEW |