| Index: blimp/client/test/compositor/test_blimp_embedder_compositor.h
|
| diff --git a/blimp/client/test/compositor/test_blimp_embedder_compositor.h b/blimp/client/test/compositor/test_blimp_embedder_compositor.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ce4c8ecc0c52180b16a8826dc705713b69ccc397
|
| --- /dev/null
|
| +++ b/blimp/client/test/compositor/test_blimp_embedder_compositor.h
|
| @@ -0,0 +1,39 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef BLIMP_CLIENT_TEST_COMPOSITOR_TEST_BLIMP_EMBEDDER_COMPOSITOR_H_
|
| +#define BLIMP_CLIENT_TEST_COMPOSITOR_TEST_BLIMP_EMBEDDER_COMPOSITOR_H_
|
| +
|
| +#include "base/callback.h"
|
| +#include "base/macros.h"
|
| +#include "base/memory/weak_ptr.h"
|
| +#include "blimp/client/support/compositor/blimp_embedder_compositor.h"
|
| +
|
| +class SkBitmap;
|
| +
|
| +namespace cc {
|
| +class CopyOutputResult;
|
| +} // namespace cc
|
| +
|
| +namespace blimp {
|
| +namespace client {
|
| +class CompositorDependencies;
|
| +
|
| +// An implementation of the BlimpEmbedderCompositor that supplies a
|
| +// ContextProvider that is not backed by a platform specific widget. It is not
|
| +// meant to be used to actually display content.
|
| +class TestBlimpEmbedderCompositor : public BlimpEmbedderCompositor {
|
| + public:
|
| + explicit TestBlimpEmbedderCompositor(
|
| + CompositorDependencies* compositor_dependencies);
|
| + ~TestBlimpEmbedderCompositor() override;
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(TestBlimpEmbedderCompositor);
|
| +};
|
| +
|
| +} // namespace client
|
| +} // namespace blimp
|
| +
|
| +#endif // BLIMP_CLIENT_TEST_COMPOSITOR_TEST_BLIMP_EMBEDDER_COMPOSITOR_H_
|
|
|