Fix build break
[chromium-blink-merge.git] / ui / compositor / test / test_compositor_host.h
blob67e7606c0616126f0635f27c46a5f3b13f003dce
1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef UI_COMPOSITOR_TEST_TEST_COMPOSITOR_HOST_H_
6 #define UI_COMPOSITOR_TEST_TEST_COMPOSITOR_HOST_H_
8 namespace gfx {
9 class Rect;
12 namespace ui {
14 class Compositor;
16 class TestCompositorHost {
17 public:
18 virtual ~TestCompositorHost() {}
20 // Creates a new TestCompositorHost. The caller owns the returned value.
21 static TestCompositorHost* Create(const gfx::Rect& bounds);
23 // Shows the TestCompositorHost.
24 virtual void Show() = 0;
26 virtual Compositor* GetCompositor() = 0;
29 } // namespace ui
31 #endif // UI_COMPOSITOR_TEST_TEST_COMPOSITOR_HOST_H_