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_host_common.h" | 5 #include "cc/trees/layer_tree_host_common.h" |
6 | 6 |
7 #include "cc/animation/layer_animation_controller.h" | 7 #include "cc/animation/layer_animation_controller.h" |
8 #include "cc/base/math_util.h" | 8 #include "cc/base/math_util.h" |
9 #include "cc/base/thread.h" | |
10 #include "cc/layers/content_layer.h" | 9 #include "cc/layers/content_layer.h" |
11 #include "cc/layers/content_layer_client.h" | 10 #include "cc/layers/content_layer_client.h" |
12 #include "cc/layers/heads_up_display_layer_impl.h" | 11 #include "cc/layers/heads_up_display_layer_impl.h" |
13 #include "cc/layers/layer.h" | 12 #include "cc/layers/layer.h" |
14 #include "cc/layers/layer_impl.h" | 13 #include "cc/layers/layer_impl.h" |
15 #include "cc/layers/render_surface.h" | 14 #include "cc/layers/render_surface.h" |
16 #include "cc/layers/render_surface_impl.h" | 15 #include "cc/layers/render_surface_impl.h" |
17 #include "cc/test/animation_test_common.h" | 16 #include "cc/test/animation_test_common.h" |
18 #include "cc/test/fake_impl_proxy.h" | 17 #include "cc/test/fake_impl_proxy.h" |
19 #include "cc/test/fake_layer_tree_host_impl.h" | 18 #include "cc/test/fake_layer_tree_host_impl.h" |
(...skipping 7876 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7896 EXPECT_EQ(can_use_lcd_text_, child_->can_use_lcd_text()); | 7895 EXPECT_EQ(can_use_lcd_text_, child_->can_use_lcd_text()); |
7897 EXPECT_EQ(can_use_lcd_text_, grand_child_->can_use_lcd_text()); | 7896 EXPECT_EQ(can_use_lcd_text_, grand_child_->can_use_lcd_text()); |
7898 } | 7897 } |
7899 | 7898 |
7900 INSTANTIATE_TEST_CASE_P(LayerTreeHostCommonTest, | 7899 INSTANTIATE_TEST_CASE_P(LayerTreeHostCommonTest, |
7901 LCDTextTest, | 7900 LCDTextTest, |
7902 testing::Combine(testing::Bool(), testing::Bool())); | 7901 testing::Combine(testing::Bool(), testing::Bool())); |
7903 | 7902 |
7904 } // namespace | 7903 } // namespace |
7905 } // namespace cc | 7904 } // namespace cc |
OLD | NEW |