diff options
Diffstat (limited to 'cc/test/fake_layer_tree_host.h')
-rw-r--r-- | cc/test/fake_layer_tree_host.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/cc/test/fake_layer_tree_host.h b/cc/test/fake_layer_tree_host.h index b0b9cde..11fe0d2 100644 --- a/cc/test/fake_layer_tree_host.h +++ b/cc/test/fake_layer_tree_host.h @@ -15,6 +15,7 @@ #include "cc/trees/tree_synchronizer.h" namespace cc { +class ImageSerializationProcessor; class TestTaskGraphRunner; class FakeLayerTreeHost : public LayerTreeHost { @@ -31,7 +32,18 @@ class FakeLayerTreeHost : public LayerTreeHost { TestTaskGraphRunner* task_graph_runner, const LayerTreeSettings& settings, CompositorMode mode); - + static scoped_ptr<FakeLayerTreeHost> Create( + FakeLayerTreeHostClient* client, + TestTaskGraphRunner* task_graph_runner, + const LayerTreeSettings& settings, + CompositorMode mode, + InitParams params); + static scoped_ptr<FakeLayerTreeHost> Create( + FakeLayerTreeHostClient* client, + TestTaskGraphRunner* task_graph_runner, + const LayerTreeSettings& settings, + CompositorMode mode, + ImageSerializationProcessor* image_serialization_processor); ~FakeLayerTreeHost() override; const RendererCapabilities& GetRendererCapabilities() const override; |