| 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/macros.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_collections.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: |
| 20 // | 20 // |
| 21 // - Paint rects (update rects): regions of a layer that needed to be | 21 // - Paint rects (update rects): regions of a layer that needed to be |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 const LayerImplList& render_surface_layer_list); | 95 const LayerImplList& render_surface_layer_list); |
| 96 | 96 |
| 97 std::vector<DebugRect> debug_rects_; | 97 std::vector<DebugRect> debug_rects_; |
| 98 | 98 |
| 99 DISALLOW_COPY_AND_ASSIGN(DebugRectHistory); | 99 DISALLOW_COPY_AND_ASSIGN(DebugRectHistory); |
| 100 }; | 100 }; |
| 101 | 101 |
| 102 } // namespace cc | 102 } // namespace cc |
| 103 | 103 |
| 104 #endif // CC_DEBUG_DEBUG_RECT_HISTORY_H_ | 104 #endif // CC_DEBUG_DEBUG_RECT_HISTORY_H_ |
| OLD | NEW |