OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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/trees/layer_tree_impl.h" | 5 #include "cc/trees/layer_tree_impl.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
7 #include <algorithm> | 10 #include <algorithm> |
8 #include <limits> | 11 #include <limits> |
9 #include <set> | 12 #include <set> |
10 | 13 |
11 #include "base/metrics/histogram_macros.h" | 14 #include "base/metrics/histogram_macros.h" |
12 #include "base/timer/elapsed_timer.h" | 15 #include "base/timer/elapsed_timer.h" |
13 #include "base/trace_event/trace_event.h" | 16 #include "base/trace_event/trace_event.h" |
14 #include "base/trace_event/trace_event_argument.h" | 17 #include "base/trace_event/trace_event_argument.h" |
15 #include "cc/animation/animation_host.h" | 18 #include "cc/animation/animation_host.h" |
16 #include "cc/animation/keyframed_animation_curve.h" | 19 #include "cc/animation/keyframed_animation_curve.h" |
(...skipping 1925 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1942 const gfx::BoxF& box, | 1945 const gfx::BoxF& box, |
1943 gfx::BoxF* bounds) const { | 1946 gfx::BoxF* bounds) const { |
1944 *bounds = gfx::BoxF(); | 1947 *bounds = gfx::BoxF(); |
1945 return layer_tree_host_impl_->animation_host() | 1948 return layer_tree_host_impl_->animation_host() |
1946 ? layer_tree_host_impl_->animation_host() | 1949 ? layer_tree_host_impl_->animation_host() |
1947 ->TransformAnimationBoundsForBox(layer->id(), box, bounds) | 1950 ->TransformAnimationBoundsForBox(layer->id(), box, bounds) |
1948 : true; | 1951 : true; |
1949 } | 1952 } |
1950 | 1953 |
1951 } // namespace cc | 1954 } // namespace cc |
OLD | NEW |