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

Side by Side Diff: blimp/client/test/compositor/test_blimp_embedder_compositor.cc

Issue 2320923002: Add a full Blimp integration test. (Closed)
Patch Set: Fix build break with chrome embedder Created 4 years, 3 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
« no previous file with comments | « blimp/client/test/compositor/test_blimp_embedder_compositor.h ('k') | blimp/engine/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 "third_party/skia/include/core/SkBitmap.h"
16 #include "ui/gfx/native_widget_types.h"
17
18 namespace blimp {
19 namespace client {
20
21 TestBlimpEmbedderCompositor::TestBlimpEmbedderCompositor(
22 CompositorDependencies* compositor_dependencies)
23 : BlimpEmbedderCompositor(compositor_dependencies) {
24 SetContextProvider(BlimpContextProvider::Create(
25 gfx::kNullAcceleratedWidget,
26 compositor_dependencies->GetGpuMemoryBufferManager()));
27 }
28
29 TestBlimpEmbedderCompositor::~TestBlimpEmbedderCompositor() = default;
30
31 } // namespace client
32 } // namespace blimp
OLDNEW
« no previous file with comments | « blimp/client/test/compositor/test_blimp_embedder_compositor.h ('k') | blimp/engine/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698