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 class SkBitmap; |
| 14 |
| 15 namespace cc { |
| 16 class CopyOutputResult; |
| 17 } // namespace cc |
| 18 |
| 19 namespace blimp { |
| 20 namespace client { |
| 21 class CompositorDependencies; |
| 22 |
| 23 // An implementation of the BlimpEmbedderCompositor that supplies a |
| 24 // ContextProvider that is not backed by a platform specific widget. It is not |
| 25 // meant to be used to actually display content. |
| 26 class TestBlimpEmbedderCompositor : public BlimpEmbedderCompositor { |
| 27 public: |
| 28 explicit TestBlimpEmbedderCompositor( |
| 29 CompositorDependencies* compositor_dependencies); |
| 30 ~TestBlimpEmbedderCompositor() override; |
| 31 |
| 32 private: |
| 33 DISALLOW_COPY_AND_ASSIGN(TestBlimpEmbedderCompositor); |
| 34 }; |
| 35 |
| 36 } // namespace client |
| 37 } // namespace blimp |
| 38 |
| 39 #endif // BLIMP_CLIENT_TEST_COMPOSITOR_TEST_BLIMP_EMBEDDER_COMPOSITOR_H_ |
OLD | NEW |