#ifndef UI_COMPOSITOR_TEST_TEST_COMPOSITOR_HOST_H_
#define UI_COMPOSITOR_TEST_TEST_COMPOSITOR_HOST_H_
namespace cc {
class LayerTreeHost;
}
namespace gfx {
class Rect;
}
namespace ui {
class Compositor;
class ContextFactory;
class TestCompositorHost {
public:
virtual ~TestCompositorHost() {}
static TestCompositorHost* Create(const gfx::Rect& bounds,
ui::ContextFactory* context_factory);
virtual void Show() = 0;
virtual Compositor* GetCompositor() = 0;
cc::LayerTreeHost* GetLayerTreeHost();
};
}
#endif