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/test/layer_tree_test.h" | 5 #include "cc/test/layer_tree_test.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/location.h" | 8 #include "base/location.h" |
9 #include "base/memory/ptr_util.h" | 9 #include "base/memory/ptr_util.h" |
10 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
11 #include "base/thread_task_runner_handle.h" | 11 #include "base/threading/thread_task_runner_handle.h" |
12 #include "cc/animation/animation.h" | 12 #include "cc/animation/animation.h" |
13 #include "cc/animation/animation_host.h" | 13 #include "cc/animation/animation_host.h" |
14 #include "cc/animation/element_animations.h" | 14 #include "cc/animation/element_animations.h" |
15 #include "cc/animation/timing_function.h" | 15 #include "cc/animation/timing_function.h" |
16 #include "cc/base/switches.h" | 16 #include "cc/base/switches.h" |
17 #include "cc/input/input_handler.h" | 17 #include "cc/input/input_handler.h" |
18 #include "cc/layers/layer.h" | 18 #include "cc/layers/layer.h" |
19 #include "cc/layers/layer_impl.h" | 19 #include "cc/layers/layer_impl.h" |
20 #include "cc/proto/compositor_message_to_impl.pb.h" | 20 #include "cc/proto/compositor_message_to_impl.pb.h" |
21 #include "cc/test/animation_test_common.h" | 21 #include "cc/test/animation_test_common.h" |
(...skipping 1006 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1028 | 1028 |
1029 RemoteChannelImplForTest* LayerTreeTest::GetRemoteChannelImplForTest() const { | 1029 RemoteChannelImplForTest* LayerTreeTest::GetRemoteChannelImplForTest() const { |
1030 DCHECK(IsRemoteTest()); | 1030 DCHECK(IsRemoteTest()); |
1031 DCHECK(remote_client_layer_tree_host_); | 1031 DCHECK(remote_client_layer_tree_host_); |
1032 | 1032 |
1033 return static_cast<RemoteChannelImplForTest*>( | 1033 return static_cast<RemoteChannelImplForTest*>( |
1034 remote_client_layer_tree_host_->proxy()); | 1034 remote_client_layer_tree_host_->proxy()); |
1035 } | 1035 } |
1036 | 1036 |
1037 } // namespace cc | 1037 } // namespace cc |
OLD | NEW |