| OLD | NEW |
| 1 // Copyright 2010 The Chromium Authors. All rights reserved. | 1 // Copyright 2010 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/layers/layer.h" | 5 #include "cc/layers/layer.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <algorithm> | 10 #include <algorithm> |
| 11 | 11 |
| 12 #include "base/atomic_sequence_num.h" | 12 #include "base/atomic_sequence_num.h" |
| 13 #include "base/location.h" | 13 #include "base/location.h" |
| 14 #include "base/metrics/histogram.h" | 14 #include "base/metrics/histogram.h" |
| 15 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
| 16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
| 17 #include "base/trace_event/trace_event.h" | 17 #include "base/trace_event/trace_event.h" |
| 18 #include "cc/animation/animation.h" | 18 #include "cc/animation/animation.h" |
| 19 #include "cc/animation/animation_events.h" | |
| 20 #include "cc/animation/animation_registrar.h" | 19 #include "cc/animation/animation_registrar.h" |
| 21 #include "cc/animation/keyframed_animation_curve.h" | 20 #include "cc/animation/keyframed_animation_curve.h" |
| 22 #include "cc/animation/layer_animation_controller.h" | 21 #include "cc/animation/layer_animation_controller.h" |
| 23 #include "cc/animation/mutable_properties.h" | 22 #include "cc/animation/mutable_properties.h" |
| 24 #include "cc/base/simple_enclosed_region.h" | 23 #include "cc/base/simple_enclosed_region.h" |
| 25 #include "cc/debug/frame_viewer_instrumentation.h" | 24 #include "cc/debug/frame_viewer_instrumentation.h" |
| 26 #include "cc/layers/layer_client.h" | 25 #include "cc/layers/layer_client.h" |
| 27 #include "cc/layers/layer_impl.h" | 26 #include "cc/layers/layer_impl.h" |
| 28 #include "cc/layers/layer_proto_converter.h" | 27 #include "cc/layers/layer_proto_converter.h" |
| 29 #include "cc/layers/layer_settings.h" | 28 #include "cc/layers/layer_settings.h" |
| (...skipping 2012 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2042 this, layer_tree_host_->property_trees()->transform_tree); | 2041 this, layer_tree_host_->property_trees()->transform_tree); |
| 2043 } | 2042 } |
| 2044 | 2043 |
| 2045 gfx::Transform Layer::screen_space_transform() const { | 2044 gfx::Transform Layer::screen_space_transform() const { |
| 2046 DCHECK_NE(transform_tree_index_, -1); | 2045 DCHECK_NE(transform_tree_index_, -1); |
| 2047 return ScreenSpaceTransformFromPropertyTrees( | 2046 return ScreenSpaceTransformFromPropertyTrees( |
| 2048 this, layer_tree_host_->property_trees()->transform_tree); | 2047 this, layer_tree_host_->property_trees()->transform_tree); |
| 2049 } | 2048 } |
| 2050 | 2049 |
| 2051 } // namespace cc | 2050 } // namespace cc |
| OLD | NEW |