| 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 #include "cc/debug/debug_rect_history.h" | 5 #include "cc/debug/debug_rect_history.h" |
| 6 | 6 |
| 7 #include "cc/base/math_util.h" | 7 #include "cc/base/math_util.h" |
| 8 #include "cc/layers/layer_impl.h" | 8 #include "cc/layers/layer_impl.h" |
| 9 #include "cc/layers/layer_iterator.h" |
| 9 #include "cc/layers/layer_utils.h" | 10 #include "cc/layers/layer_utils.h" |
| 10 #include "cc/layers/render_surface_impl.h" | 11 #include "cc/layers/render_surface_impl.h" |
| 11 #include "cc/trees/damage_tracker.h" | 12 #include "cc/trees/damage_tracker.h" |
| 12 #include "cc/trees/layer_tree_host.h" | 13 #include "cc/trees/layer_tree_host.h" |
| 13 #include "cc/trees/layer_tree_host_common.h" | 14 #include "cc/trees/layer_tree_host_common.h" |
| 14 | 15 |
| 15 namespace cc { | 16 namespace cc { |
| 16 | 17 |
| 17 // static | 18 // static |
| 18 scoped_ptr<DebugRectHistory> DebugRectHistory::Create() { | 19 scoped_ptr<DebugRectHistory> DebugRectHistory::Create() { |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 | 255 |
| 255 debug_rects_.push_back(DebugRect(ANIMATION_BOUNDS_RECT_TYPE, | 256 debug_rects_.push_back(DebugRect(ANIMATION_BOUNDS_RECT_TYPE, |
| 256 gfx::RectF(inflated_bounds.x(), | 257 gfx::RectF(inflated_bounds.x(), |
| 257 inflated_bounds.y(), | 258 inflated_bounds.y(), |
| 258 inflated_bounds.width(), | 259 inflated_bounds.width(), |
| 259 inflated_bounds.height()))); | 260 inflated_bounds.height()))); |
| 260 } | 261 } |
| 261 } | 262 } |
| 262 | 263 |
| 263 } // namespace cc | 264 } // namespace cc |
| OLD | NEW |