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

Side by Side Diff: ui/compositor/test/test_compositor_host.h

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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 unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #ifndef UI_COMPOSITOR_TEST_TEST_COMPOSITOR_HOST_H_
6 #define UI_COMPOSITOR_TEST_TEST_COMPOSITOR_HOST_H_
7
8 namespace gfx {
9 class Rect;
10 }
11
12 namespace ui {
13
14 class Compositor;
15 class ContextFactory;
16
17 class TestCompositorHost {
18 public:
19 virtual ~TestCompositorHost() {}
20
21 // Creates a new TestCompositorHost. The caller owns the returned value.
22 static TestCompositorHost* Create(const gfx::Rect& bounds,
23 ui::ContextFactory* context_factory);
24
25 // Shows the TestCompositorHost.
26 virtual void Show() = 0;
27
28 virtual Compositor* GetCompositor() = 0;
29 };
30
31 } // namespace ui
32
33 #endif // UI_COMPOSITOR_TEST_TEST_COMPOSITOR_HOST_H_
OLDNEW
« no previous file with comments | « ui/compositor/test/layer_animator_test_controller.cc ('k') | ui/compositor/test/test_compositor_host_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698