| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef BLIMP_CLIENT_TEST_COMPOSITOR_TEST_BLIMP_EMBEDDER_COMPOSITOR_H_ | 5 #ifndef BLIMP_CLIENT_TEST_COMPOSITOR_TEST_BLIMP_EMBEDDER_COMPOSITOR_H_ |
| 6 #define BLIMP_CLIENT_TEST_COMPOSITOR_TEST_BLIMP_EMBEDDER_COMPOSITOR_H_ | 6 #define BLIMP_CLIENT_TEST_COMPOSITOR_TEST_BLIMP_EMBEDDER_COMPOSITOR_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| 11 #include "blimp/client/support/compositor/blimp_embedder_compositor.h" | 11 #include "blimp/client/support/compositor/blimp_embedder_compositor.h" |
| 12 | 12 |
| 13 class SkBitmap; | |
| 14 | |
| 15 namespace cc { | |
| 16 class CopyOutputResult; | |
| 17 } // namespace cc | |
| 18 | |
| 19 namespace blimp { | 13 namespace blimp { |
| 20 namespace client { | 14 namespace client { |
| 21 class CompositorDependencies; | 15 class CompositorDependencies; |
| 22 | 16 |
| 23 // An implementation of the BlimpEmbedderCompositor that supplies a | 17 // An implementation of the BlimpEmbedderCompositor that supplies a |
| 24 // ContextProvider that is not backed by a platform specific widget. It is not | 18 // ContextProvider that is not backed by a platform specific widget. It is not |
| 25 // meant to be used to actually display content. | 19 // meant to be used to actually display content. |
| 26 class TestBlimpEmbedderCompositor : public BlimpEmbedderCompositor { | 20 class TestBlimpEmbedderCompositor : public BlimpEmbedderCompositor { |
| 27 public: | 21 public: |
| 28 explicit TestBlimpEmbedderCompositor( | 22 explicit TestBlimpEmbedderCompositor( |
| 29 CompositorDependencies* compositor_dependencies); | 23 CompositorDependencies* compositor_dependencies); |
| 30 ~TestBlimpEmbedderCompositor() override; | 24 ~TestBlimpEmbedderCompositor() override; |
| 31 | 25 |
| 32 private: | 26 private: |
| 33 DISALLOW_COPY_AND_ASSIGN(TestBlimpEmbedderCompositor); | 27 DISALLOW_COPY_AND_ASSIGN(TestBlimpEmbedderCompositor); |
| 34 }; | 28 }; |
| 35 | 29 |
| 36 } // namespace client | 30 } // namespace client |
| 37 } // namespace blimp | 31 } // namespace blimp |
| 38 | 32 |
| 39 #endif // BLIMP_CLIENT_TEST_COMPOSITOR_TEST_BLIMP_EMBEDDER_COMPOSITOR_H_ | 33 #endif // BLIMP_CLIENT_TEST_COMPOSITOR_TEST_BLIMP_EMBEDDER_COMPOSITOR_H_ |
| OLD | NEW |