Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Side by Side Diff: cc/tiles/tile_manager_unittest.cc

Issue 2748263002: Move cc::DisplayItemList and related classes into cc/paint/ (Closed)
Patch Set: Merge branch 'master' into ccpaint Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/tiles/tile_manager_settings.h ('k') | cc/tiles/tile_priority.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <stddef.h> 5 #include <stddef.h>
6 #include <stdint.h> 6 #include <stdint.h>
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
11 #include "base/run_loop.h" 11 #include "base/run_loop.h"
12 #include "base/test/test_simple_task_runner.h" 12 #include "base/test/test_simple_task_runner.h"
13 #include "base/threading/thread_task_runner_handle.h" 13 #include "base/threading/thread_task_runner_handle.h"
14 #include "cc/playback/raster_source.h" 14 #include "cc/layers/recording_source.h"
15 #include "cc/playback/recording_source.h"
16 #include "cc/raster/raster_buffer.h" 15 #include "cc/raster/raster_buffer.h"
16 #include "cc/raster/raster_source.h"
17 #include "cc/raster/synchronous_task_graph_runner.h" 17 #include "cc/raster/synchronous_task_graph_runner.h"
18 #include "cc/resources/resource_pool.h" 18 #include "cc/resources/resource_pool.h"
19 #include "cc/test/begin_frame_args_test.h" 19 #include "cc/test/begin_frame_args_test.h"
20 #include "cc/test/fake_compositor_frame_sink.h" 20 #include "cc/test/fake_compositor_frame_sink.h"
21 #include "cc/test/fake_compositor_frame_sink_client.h" 21 #include "cc/test/fake_compositor_frame_sink_client.h"
22 #include "cc/test/fake_impl_task_runner_provider.h" 22 #include "cc/test/fake_impl_task_runner_provider.h"
23 #include "cc/test/fake_layer_tree_host_impl.h" 23 #include "cc/test/fake_layer_tree_host_impl.h"
24 #include "cc/test/fake_picture_layer_impl.h" 24 #include "cc/test/fake_picture_layer_impl.h"
25 #include "cc/test/fake_picture_layer_tiling_client.h" 25 #include "cc/test/fake_picture_layer_tiling_client.h"
26 #include "cc/test/fake_raster_source.h" 26 #include "cc/test/fake_raster_source.h"
(...skipping 2352 matching lines...) Expand 10 before | Expand all | Expand 10 after
2379 // a part of raster tasks, the test should fail. 2379 // a part of raster tasks, the test should fail.
2380 host_impl()->tile_manager()->PrepareTiles(host_impl()->global_tile_state()); 2380 host_impl()->tile_manager()->PrepareTiles(host_impl()->global_tile_state());
2381 EXPECT_TRUE(host_impl()->tile_manager()->HasScheduledTileTasksForTesting()); 2381 EXPECT_TRUE(host_impl()->tile_manager()->HasScheduledTileTasksForTesting());
2382 static_cast<SynchronousTaskGraphRunner*>(task_graph_runner())->RunUntilIdle(); 2382 static_cast<SynchronousTaskGraphRunner*>(task_graph_runner())->RunUntilIdle();
2383 base::RunLoop().RunUntilIdle(); 2383 base::RunLoop().RunUntilIdle();
2384 EXPECT_FALSE(host_impl()->tile_manager()->HasScheduledTileTasksForTesting()); 2384 EXPECT_FALSE(host_impl()->tile_manager()->HasScheduledTileTasksForTesting());
2385 } 2385 }
2386 2386
2387 } // namespace 2387 } // namespace
2388 } // namespace cc 2388 } // namespace cc
OLDNEW
« no previous file with comments | « cc/tiles/tile_manager_settings.h ('k') | cc/tiles/tile_priority.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698