| 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 #include "blimp/client/test/compositor/test_blimp_embedder_compositor.h" | |
| 6 | |
| 7 #include <memory> | |
| 8 | |
| 9 #include "base/synchronization/waitable_event.h" | |
| 10 #include "blimp/client/public/compositor/compositor_dependencies.h" | |
| 11 #include "blimp/client/support/compositor/blimp_context_provider.h" | |
| 12 #include "cc/layers/layer.h" | |
| 13 #include "cc/output/copy_output_request.h" | |
| 14 #include "cc/output/copy_output_result.h" | |
| 15 #include "gpu/ipc/common/surface_handle.h" | |
| 16 #include "third_party/skia/include/core/SkBitmap.h" | |
| 17 #include "ui/gfx/native_widget_types.h" | |
| 18 | |
| 19 namespace blimp { | |
| 20 namespace client { | |
| 21 | |
| 22 TestBlimpEmbedderCompositor::TestBlimpEmbedderCompositor( | |
| 23 CompositorDependencies* compositor_dependencies) | |
| 24 : BlimpEmbedderCompositor(compositor_dependencies) { | |
| 25 SetContextProvider(BlimpContextProvider::Create( | |
| 26 gpu::kNullSurfaceHandle, | |
| 27 compositor_dependencies->GetGpuMemoryBufferManager())); | |
| 28 } | |
| 29 | |
| 30 TestBlimpEmbedderCompositor::~TestBlimpEmbedderCompositor() = default; | |
| 31 | |
| 32 } // namespace client | |
| 33 } // namespace blimp | |
| OLD | NEW |