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

Unified Diff: cc/test/fake_layer_tree_host.h

Issue 2650303002: cc: Remove the LayerTreeHost abstraction. (Closed)
Patch Set: missed ui Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/surfaces/surface_reference_owner.h ('k') | cc/test/fake_layer_tree_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_layer_tree_host.h
diff --git a/cc/test/fake_layer_tree_host.h b/cc/test/fake_layer_tree_host.h
index 81e498ea0f62105d970e0ac037ac5bfa7023f950..2aa30c67dd9dc9f94966ce64f1a492f57019079e 100644
--- a/cc/test/fake_layer_tree_host.h
+++ b/cc/test/fake_layer_tree_host.h
@@ -9,7 +9,7 @@
#include "cc/test/fake_impl_task_runner_provider.h"
#include "cc/test/fake_layer_tree_host_client.h"
#include "cc/test/fake_layer_tree_host_impl.h"
-#include "cc/trees/layer_tree_host_in_process.h"
+#include "cc/trees/layer_tree_host.h"
#include "cc/trees/layer_tree_impl.h"
#include "cc/trees/tree_synchronizer.h"
@@ -18,7 +18,7 @@ namespace cc {
class MutatorHost;
class TestTaskGraphRunner;
-class FakeLayerTreeHost : public LayerTreeHostInProcess {
+class FakeLayerTreeHost : public LayerTreeHost {
public:
static std::unique_ptr<FakeLayerTreeHost> Create(
FakeLayerTreeHostClient* client,
@@ -65,14 +65,14 @@ class FakeLayerTreeHost : public LayerTreeHostInProcess {
LayerTreeImpl* active_tree() { return host_impl_.active_tree(); }
LayerTreeImpl* pending_tree() { return host_impl_.pending_tree(); }
- using LayerTreeHostInProcess::ScheduleMicroBenchmark;
- using LayerTreeHostInProcess::SendMessageToMicroBenchmark;
- using LayerTreeHostInProcess::InitializeSingleThreaded;
- using LayerTreeHostInProcess::InitializeForTesting;
- using LayerTreeHostInProcess::RecordGpuRasterizationHistogram;
- using LayerTreeHostInProcess::SetUIResourceManagerForTesting;
+ using LayerTreeHost::ScheduleMicroBenchmark;
+ using LayerTreeHost::SendMessageToMicroBenchmark;
+ using LayerTreeHost::InitializeSingleThreaded;
+ using LayerTreeHost::InitializeForTesting;
+ using LayerTreeHost::RecordGpuRasterizationHistogram;
+ using LayerTreeHost::SetUIResourceManagerForTesting;
- void UpdateLayers() { LayerTreeHostInProcess::UpdateLayers(); }
+ void UpdateLayers() { LayerTreeHost::UpdateLayers(); }
MicroBenchmarkController* GetMicroBenchmarkController() {
return &micro_benchmark_controller_;
@@ -82,7 +82,7 @@ class FakeLayerTreeHost : public LayerTreeHostInProcess {
void reset_needs_commit() { needs_commit_ = false; }
FakeLayerTreeHost(FakeLayerTreeHostClient* client,
- LayerTreeHostInProcess::InitParams* params,
+ LayerTreeHost::InitParams* params,
CompositorMode mode);
private:
« no previous file with comments | « cc/surfaces/surface_reference_owner.h ('k') | cc/test/fake_layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698