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

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

Issue 1411663002: cc: Split Proxy to eliminate unnecessary dependencies on the impl side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update perf tests. Created 5 years, 2 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.cc » ('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 #ifndef CC_TEST_FAKE_LAYER_TREE_HOST_H_ 5 #ifndef CC_TEST_FAKE_LAYER_TREE_HOST_H_
6 #define CC_TEST_FAKE_LAYER_TREE_HOST_H_ 6 #define CC_TEST_FAKE_LAYER_TREE_HOST_H_
7 7
8 #include "cc/debug/micro_benchmark_controller.h" 8 #include "cc/debug/micro_benchmark_controller.h"
9 #include "cc/test/fake_impl_proxy.h" 9 #include "cc/test/fake_impl_task_runner_provider.h"
10 #include "cc/test/fake_layer_tree_host_client.h" 10 #include "cc/test/fake_layer_tree_host_client.h"
11 #include "cc/test/fake_layer_tree_host_impl.h" 11 #include "cc/test/fake_layer_tree_host_impl.h"
12 #include "cc/test/test_shared_bitmap_manager.h" 12 #include "cc/test/test_shared_bitmap_manager.h"
13 #include "cc/trees/layer_tree_host.h" 13 #include "cc/trees/layer_tree_host.h"
14 #include "cc/trees/layer_tree_impl.h" 14 #include "cc/trees/layer_tree_impl.h"
15 #include "cc/trees/tree_synchronizer.h" 15 #include "cc/trees/tree_synchronizer.h"
16 16
17 namespace cc { 17 namespace cc {
18 class TestTaskGraphRunner; 18 class TestTaskGraphRunner;
19 19
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 return &micro_benchmark_controller_; 52 return &micro_benchmark_controller_;
53 } 53 }
54 54
55 bool needs_commit() { return needs_commit_; } 55 bool needs_commit() { return needs_commit_; }
56 56
57 protected: 57 protected:
58 FakeLayerTreeHost(FakeLayerTreeHostClient* client, 58 FakeLayerTreeHost(FakeLayerTreeHostClient* client,
59 LayerTreeHost::InitParams* params); 59 LayerTreeHost::InitParams* params);
60 60
61 private: 61 private:
62 FakeImplProxy proxy_; 62 FakeImplTaskRunnerProvider task_runner_provider_;
63 FakeLayerTreeHostClient* client_; 63 FakeLayerTreeHostClient* client_;
64 TestSharedBitmapManager manager_; 64 TestSharedBitmapManager manager_;
65 FakeLayerTreeHostImpl host_impl_; 65 FakeLayerTreeHostImpl host_impl_;
66 bool needs_commit_; 66 bool needs_commit_;
67 }; 67 };
68 68
69 } // namespace cc 69 } // namespace cc
70 70
71 #endif // CC_TEST_FAKE_LAYER_TREE_HOST_H_ 71 #endif // CC_TEST_FAKE_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/test/fake_impl_task_runner_provider.h ('k') | cc/test/fake_layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698