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/layer_tree_host_common.h" | 5 #include "cc/layer_tree_host_common.h" |
6 | 6 |
| 7 #include "cc/base/math_util.h" |
| 8 #include "cc/base/thread.h" |
7 #include "cc/content_layer.h" | 9 #include "cc/content_layer.h" |
8 #include "cc/content_layer_client.h" | 10 #include "cc/content_layer_client.h" |
9 #include "cc/heads_up_display_layer_impl.h" | 11 #include "cc/heads_up_display_layer_impl.h" |
10 #include "cc/layer.h" | 12 #include "cc/layer.h" |
11 #include "cc/layer_animation_controller.h" | 13 #include "cc/layer_animation_controller.h" |
12 #include "cc/layer_impl.h" | 14 #include "cc/layer_impl.h" |
13 #include "cc/layer_tree_impl.h" | 15 #include "cc/layer_tree_impl.h" |
14 #include "cc/math_util.h" | |
15 #include "cc/proxy.h" | 16 #include "cc/proxy.h" |
16 #include "cc/single_thread_proxy.h" | 17 #include "cc/single_thread_proxy.h" |
17 #include "cc/test/animation_test_common.h" | 18 #include "cc/test/animation_test_common.h" |
18 #include "cc/test/fake_impl_proxy.h" | 19 #include "cc/test/fake_impl_proxy.h" |
19 #include "cc/test/fake_layer_tree_host_impl.h" | 20 #include "cc/test/fake_layer_tree_host_impl.h" |
20 #include "cc/test/geometry_test_utils.h" | 21 #include "cc/test/geometry_test_utils.h" |
21 #include "cc/thread.h" | |
22 #include "testing/gmock/include/gmock/gmock.h" | 22 #include "testing/gmock/include/gmock/gmock.h" |
23 #include "testing/gtest/include/gtest/gtest.h" | 23 #include "testing/gtest/include/gtest/gtest.h" |
24 #include "ui/gfx/quad_f.h" | 24 #include "ui/gfx/quad_f.h" |
25 #include "ui/gfx/size_conversions.h" | 25 #include "ui/gfx/size_conversions.h" |
26 #include "ui/gfx/transform.h" | 26 #include "ui/gfx/transform.h" |
27 | 27 |
28 namespace cc { | 28 namespace cc { |
29 namespace { | 29 namespace { |
30 | 30 |
31 template<typename LayerType> | 31 template<typename LayerType> |
(...skipping 5110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5142 EXPECT_EQ(m_canUseLCDText, m_grandChild->can_use_lcd_text()); | 5142 EXPECT_EQ(m_canUseLCDText, m_grandChild->can_use_lcd_text()); |
5143 } | 5143 } |
5144 | 5144 |
5145 INSTANTIATE_TEST_CASE_P(LayerTreeHostCommonTest, | 5145 INSTANTIATE_TEST_CASE_P(LayerTreeHostCommonTest, |
5146 LCDTextTest, | 5146 LCDTextTest, |
5147 testing::Combine(testing::Bool(), | 5147 testing::Combine(testing::Bool(), |
5148 testing::Bool())); | 5148 testing::Bool())); |
5149 | 5149 |
5150 } // namespace | 5150 } // namespace |
5151 } // namespace cc | 5151 } // namespace cc |
OLD | NEW |