| Index: cc/test/layer_tree_test.h
|
| diff --git a/cc/test/layer_tree_test.h b/cc/test/layer_tree_test.h
|
| index 8f38dda4999dd8648aac24224560414e7a49b2e8..b29eaa70b31b4e5a73e217b42a4daa30d7bc9e46 100644
|
| --- a/cc/test/layer_tree_test.h
|
| +++ b/cc/test/layer_tree_test.h
|
| @@ -97,6 +97,42 @@ class TestHooks : public AnimationDelegate {
|
| virtual scoped_ptr<OutputSurface> CreateOutputSurface(bool fallback) = 0;
|
| };
|
|
|
| +class PseudoSyncingLayerTreeHostImpl : public LayerTreeHostImpl {
|
| + public:
|
| + static scoped_ptr<LayerTreeHostImpl> Create(
|
| + const LayerTreeSettings& settings,
|
| + LayerTreeHostImplClient* client,
|
| + Proxy* proxy,
|
| + RenderingStatsInstrumentation* rendering_stats_instrumentation,
|
| + SharedBitmapManager* manager,
|
| + int id) {
|
| + return make_scoped_ptr(static_cast<LayerTreeHostImpl*>(
|
| + new PseudoSyncingLayerTreeHostImpl(settings,
|
| + client,
|
| + proxy,
|
| + rendering_stats_instrumentation,
|
| + manager,
|
| + id)));
|
| + }
|
| +
|
| + virtual bool IsTesting() OVERRIDE;
|
| +
|
| + protected:
|
| + PseudoSyncingLayerTreeHostImpl(
|
| + const LayerTreeSettings& settings,
|
| + LayerTreeHostImplClient* client,
|
| + Proxy* proxy,
|
| + RenderingStatsInstrumentation* rendering_stats_instrumentation,
|
| + SharedBitmapManager* manager,
|
| + int id)
|
| + : LayerTreeHostImpl(settings,
|
| + client,
|
| + proxy,
|
| + rendering_stats_instrumentation,
|
| + manager,
|
| + id) {}
|
| +};
|
| +
|
| class BeginTask;
|
| class LayerTreeHostClientForTesting;
|
| class TimeoutTask;
|
|
|