OLD | NEW |
| (Empty) |
1 // Copyright 2016 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 BLIMP_CLIENT_TEST_COMPOSITOR_TEST_BLIMP_EMBEDDER_COMPOSITOR_H_ | |
6 #define BLIMP_CLIENT_TEST_COMPOSITOR_TEST_BLIMP_EMBEDDER_COMPOSITOR_H_ | |
7 | |
8 #include "base/callback.h" | |
9 #include "base/macros.h" | |
10 #include "base/memory/weak_ptr.h" | |
11 #include "blimp/client/support/compositor/blimp_embedder_compositor.h" | |
12 | |
13 namespace blimp { | |
14 namespace client { | |
15 class CompositorDependencies; | |
16 | |
17 // An implementation of the BlimpEmbedderCompositor that supplies a | |
18 // ContextProvider that is not backed by a platform specific widget. It is not | |
19 // meant to be used to actually display content. | |
20 class TestBlimpEmbedderCompositor : public BlimpEmbedderCompositor { | |
21 public: | |
22 explicit TestBlimpEmbedderCompositor( | |
23 CompositorDependencies* compositor_dependencies); | |
24 ~TestBlimpEmbedderCompositor() override; | |
25 | |
26 private: | |
27 DISALLOW_COPY_AND_ASSIGN(TestBlimpEmbedderCompositor); | |
28 }; | |
29 | |
30 } // namespace client | |
31 } // namespace blimp | |
32 | |
33 #endif // BLIMP_CLIENT_TEST_COMPOSITOR_TEST_BLIMP_EMBEDDER_COMPOSITOR_H_ | |
OLD | NEW |