OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <stdint.h> | 5 #include <stdint.h> |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/location.h" | 10 #include "base/location.h" |
11 #include "base/single_thread_task_runner.h" | 11 #include "base/single_thread_task_runner.h" |
12 #include "base/threading/thread_task_runner_handle.h" | 12 #include "base/threading/thread_task_runner_handle.h" |
13 #include "cc/layers/solid_color_layer.h" | 13 #include "cc/layers/solid_color_layer.h" |
14 #include "cc/layers/surface_layer.h" | 14 #include "cc/layers/surface_layer.h" |
| 15 #include "cc/output/compositor_frame.h" |
15 #include "cc/test/fake_impl_task_runner_provider.h" | 16 #include "cc/test/fake_impl_task_runner_provider.h" |
16 #include "cc/test/fake_layer_tree_host.h" | 17 #include "cc/test/fake_layer_tree_host.h" |
17 #include "cc/test/fake_layer_tree_host_client.h" | 18 #include "cc/test/fake_layer_tree_host_client.h" |
18 #include "cc/test/fake_layer_tree_host_impl.h" | 19 #include "cc/test/fake_layer_tree_host_impl.h" |
19 #include "cc/test/fake_output_surface.h" | 20 #include "cc/test/fake_output_surface.h" |
20 #include "cc/test/layer_tree_test.h" | 21 #include "cc/test/layer_tree_test.h" |
21 #include "cc/test/test_task_graph_runner.h" | 22 #include "cc/test/test_task_graph_runner.h" |
22 #include "cc/trees/layer_tree_host.h" | 23 #include "cc/trees/layer_tree_host.h" |
23 #include "testing/gmock/include/gmock/gmock.h" | 24 #include "testing/gmock/include/gmock/gmock.h" |
24 #include "testing/gtest/include/gtest/gtest.h" | 25 #include "testing/gtest/include/gtest/gtest.h" |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 // Sequence should have been satisfied with the callback. | 255 // Sequence should have been satisfied with the callback. |
255 EXPECT_TRUE(satisfied_sequence_ == | 256 EXPECT_TRUE(satisfied_sequence_ == |
256 SurfaceSequence(kArbitraryFrameSinkId, 1u)); | 257 SurfaceSequence(kArbitraryFrameSinkId, 1u)); |
257 } | 258 } |
258 }; | 259 }; |
259 | 260 |
260 MULTI_THREAD_TEST_F(SurfaceLayerSwapPromiseWithoutDraw); | 261 MULTI_THREAD_TEST_F(SurfaceLayerSwapPromiseWithoutDraw); |
261 | 262 |
262 } // namespace | 263 } // namespace |
263 } // namespace cc | 264 } // namespace cc |
OLD | NEW |