| 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 <stddef.h> |
| 8 |
| 7 #include "cc/base/math_util.h" | 9 #include "cc/base/math_util.h" |
| 8 #include "cc/layers/layer_impl.h" | 10 #include "cc/layers/layer_impl.h" |
| 9 #include "cc/layers/layer_iterator.h" | 11 #include "cc/layers/layer_iterator.h" |
| 10 #include "cc/layers/layer_utils.h" | 12 #include "cc/layers/layer_utils.h" |
| 11 #include "cc/layers/render_surface_impl.h" | 13 #include "cc/layers/render_surface_impl.h" |
| 12 #include "cc/trees/damage_tracker.h" | 14 #include "cc/trees/damage_tracker.h" |
| 13 #include "cc/trees/layer_tree_host.h" | 15 #include "cc/trees/layer_tree_host.h" |
| 14 #include "cc/trees/layer_tree_host_common.h" | 16 #include "cc/trees/layer_tree_host_common.h" |
| 15 #include "ui/gfx/geometry/rect_conversions.h" | 17 #include "ui/gfx/geometry/rect_conversions.h" |
| 16 | 18 |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 debug_rects_.push_back( | 239 debug_rects_.push_back( |
| 238 DebugRect(ANIMATION_BOUNDS_RECT_TYPE, | 240 DebugRect(ANIMATION_BOUNDS_RECT_TYPE, |
| 239 gfx::ToEnclosingRect(gfx::RectF(inflated_bounds.x(), | 241 gfx::ToEnclosingRect(gfx::RectF(inflated_bounds.x(), |
| 240 inflated_bounds.y(), | 242 inflated_bounds.y(), |
| 241 inflated_bounds.width(), | 243 inflated_bounds.width(), |
| 242 inflated_bounds.height())))); | 244 inflated_bounds.height())))); |
| 243 } | 245 } |
| 244 } | 246 } |
| 245 | 247 |
| 246 } // namespace cc | 248 } // namespace cc |
| OLD | NEW |