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

Unified Diff: blimp/client/public/compositor/compositor_dependencies.h

Issue 2624903006: Remove all blimp client code. (Closed)
Patch Set: Update buildbot configuration Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « blimp/client/public/blimp_client_context_delegate.h ('k') | blimp/client/public/contents/blimp_contents.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/public/compositor/compositor_dependencies.h
diff --git a/blimp/client/public/compositor/compositor_dependencies.h b/blimp/client/public/compositor/compositor_dependencies.h
deleted file mode 100644
index 22207ac6dd3ab2f9ee3000d4a574fead1b9e37af..0000000000000000000000000000000000000000
--- a/blimp/client/public/compositor/compositor_dependencies.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// 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_PUBLIC_COMPOSITOR_COMPOSITOR_DEPENDENCIES_H_
-#define BLIMP_CLIENT_PUBLIC_COMPOSITOR_COMPOSITOR_DEPENDENCIES_H_
-
-#include "base/callback.h"
-#include "base/memory/ptr_util.h"
-#include "cc/surfaces/frame_sink_id.h"
-
-namespace cc {
-class ContextProvider;
-class SurfaceManager;
-} // namespace cc
-
-namespace gpu {
-class GpuMemoryBufferManager;
-} // namespace gpu
-
-namespace blimp {
-namespace client {
-
-// A set of compositor dependencies that must be provided by the embedder. This
-// is expected to outlive all BlimpContents instances.
-class CompositorDependencies {
- public:
- using ContextProviderCallback = base::Callback<void(
- const scoped_refptr<cc::ContextProvider>& compositor_context_provider,
- const scoped_refptr<cc::ContextProvider>& worker_context_provider)>;
-
- virtual ~CompositorDependencies() = default;
-
- // Settings used to create all BlimpCompositor instances.
- virtual gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() = 0;
- virtual cc::SurfaceManager* GetSurfaceManager() = 0;
- virtual cc::FrameSinkId AllocateFrameSinkId() = 0;
-
- // This call may return synchronously if the ContextProvider has already been
- // created.
- virtual void GetContextProviders(const ContextProviderCallback& callback) = 0;
-};
-
-} // namespace client
-} // namespace blimp
-
-#endif // BLIMP_CLIENT_PUBLIC_COMPOSITOR_COMPOSITOR_DEPENDENCIES_H_
« no previous file with comments | « blimp/client/public/blimp_client_context_delegate.h ('k') | blimp/client/public/contents/blimp_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698