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

Unified Diff: cc/test/fake_layer_tree_host.h

Issue 2340143002: cc: Rename LayerTreeHost to LayerTreeHostInProcess. (Closed)
Patch Set: comment fix Created 4 years, 3 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/layers/texture_layer_unittest.cc ('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 11355ed19d86436e8d931a6d7e516acaaa7dea7e..57090ac7a9f2cf770891d4006f3f36e1c8fcd07c 100644
--- a/cc/test/fake_layer_tree_host.h
+++ b/cc/test/fake_layer_tree_host.h
@@ -10,7 +10,7 @@
#include "cc/test/fake_layer_tree_host_client.h"
#include "cc/test/fake_layer_tree_host_impl.h"
#include "cc/test/test_shared_bitmap_manager.h"
-#include "cc/trees/layer_tree_host.h"
+#include "cc/trees/layer_tree_host_in_process.h"
#include "cc/trees/layer_tree_impl.h"
#include "cc/trees/tree_synchronizer.h"
@@ -18,7 +18,7 @@ namespace cc {
class ImageSerializationProcessor;
class TestTaskGraphRunner;
-class FakeLayerTreeHost : public LayerTreeHost {
+class FakeLayerTreeHost : public LayerTreeHostInProcess {
public:
static std::unique_ptr<FakeLayerTreeHost> Create(
FakeLayerTreeHostClient* client,
@@ -67,15 +67,15 @@ class FakeLayerTreeHost : public LayerTreeHost {
LayerTreeImpl* active_tree() { return host_impl_.active_tree(); }
LayerTreeImpl* pending_tree() { return host_impl_.pending_tree(); }
- using LayerTreeHost::ScheduleMicroBenchmark;
- using LayerTreeHost::SendMessageToMicroBenchmark;
- using LayerTreeHost::InitializeSingleThreaded;
- using LayerTreeHost::InitializeForTesting;
- using LayerTreeHost::InitializePictureCacheForTesting;
- using LayerTreeHost::RecordGpuRasterizationHistogram;
- using LayerTreeHost::SetUIResourceManagerForTesting;
+ using LayerTreeHostInProcess::ScheduleMicroBenchmark;
+ using LayerTreeHostInProcess::SendMessageToMicroBenchmark;
+ using LayerTreeHostInProcess::InitializeSingleThreaded;
+ using LayerTreeHostInProcess::InitializeForTesting;
+ using LayerTreeHostInProcess::InitializePictureCacheForTesting;
+ using LayerTreeHostInProcess::RecordGpuRasterizationHistogram;
+ using LayerTreeHostInProcess::SetUIResourceManagerForTesting;
- void UpdateLayers() { LayerTreeHost::UpdateLayers(); }
+ void UpdateLayers() { LayerTreeHostInProcess::UpdateLayers(); }
MicroBenchmarkController* GetMicroBenchmarkController() {
return &micro_benchmark_controller_;
@@ -84,7 +84,7 @@ class FakeLayerTreeHost : public LayerTreeHost {
bool needs_commit() { return needs_commit_; }
FakeLayerTreeHost(FakeLayerTreeHostClient* client,
- LayerTreeHost::InitParams* params,
+ LayerTreeHostInProcess::InitParams* params,
CompositorMode mode);
private:
« no previous file with comments | « cc/layers/texture_layer_unittest.cc ('k') | cc/test/fake_layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698