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

Side by Side Diff: cc/test/fake_layer_tree_host.cc

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 years, 7 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/test/fake_impl_task_runner_provider.h ('k') | cc/test/fake_layer_tree_host_impl.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 "cc/test/fake_layer_tree_host.h" 5 #include "cc/test/fake_layer_tree_host.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "base/single_thread_task_runner.h"
8 #include "base/threading/thread_task_runner_handle.h" 9 #include "base/threading/thread_task_runner_handle.h"
9 #include "cc/animation/animation_host.h" 10 #include "cc/animation/animation_host.h"
10 #include "cc/layers/layer.h" 11 #include "cc/layers/layer.h"
11 #include "cc/test/test_task_graph_runner.h" 12 #include "cc/test/test_task_graph_runner.h"
12 #include "cc/trees/mutator_host.h" 13 #include "cc/trees/mutator_host.h"
13 14
14 namespace cc { 15 namespace cc {
15 16
16 FakeLayerTreeHost::FakeLayerTreeHost(FakeLayerTreeHostClient* client, 17 FakeLayerTreeHost::FakeLayerTreeHost(FakeLayerTreeHostClient* client,
17 LayerTreeHost::InitParams* params, 18 LayerTreeHost::InitParams* params,
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 TreeSynchronizer::PushLayerProperties(root_layer()->layer_tree_host(), 96 TreeSynchronizer::PushLayerProperties(root_layer()->layer_tree_host(),
96 pending_tree()); 97 pending_tree());
97 mutator_host()->PushPropertiesTo(host_impl_.mutator_host()); 98 mutator_host()->PushPropertiesTo(host_impl_.mutator_host());
98 99
99 pending_tree()->property_trees()->scroll_tree.PushScrollUpdatesFromMainThread( 100 pending_tree()->property_trees()->scroll_tree.PushScrollUpdatesFromMainThread(
100 property_trees(), pending_tree()); 101 property_trees(), pending_tree());
101 return pending_tree()->root_layer_for_testing(); 102 return pending_tree()->root_layer_for_testing();
102 } 103 }
103 104
104 } // namespace cc 105 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/fake_impl_task_runner_provider.h ('k') | cc/test/fake_layer_tree_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698