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

Side by Side Diff: blimp/client/support/compositor/compositor_dependencies_impl.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 unified diff | Download patch
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 #ifndef BLIMP_CLIENT_SUPPORT_COMPOSITOR_COMPOSITOR_DEPENDENCIES_IMPL_H_
6 #define BLIMP_CLIENT_SUPPORT_COMPOSITOR_COMPOSITOR_DEPENDENCIES_IMPL_H_
7
8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h"
10 #include "blimp/client/public/compositor/compositor_dependencies.h"
11
12 namespace blimp {
13 namespace client {
14
15 class BlimpGpuMemoryBufferManager;
16
17 class CompositorDependenciesImpl : public CompositorDependencies {
18 public:
19 CompositorDependenciesImpl();
20 ~CompositorDependenciesImpl() override;
21
22 // CompositorDependencies implementation.
23 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override;
24 cc::SurfaceManager* GetSurfaceManager() override;
25 cc::FrameSinkId AllocateFrameSinkId() override;
26 void GetContextProviders(const ContextProviderCallback& callback) override;
27
28 private:
29 std::unique_ptr<BlimpGpuMemoryBufferManager> gpu_memory_buffer_manager_;
30 std::unique_ptr<cc::SurfaceManager> surface_manager_;
31 uint32_t next_surface_id_;
32
33 DISALLOW_COPY_AND_ASSIGN(CompositorDependenciesImpl);
34 };
35
36 } // namespace client
37 } // namespace blimp
38
39 #endif // BLIMP_CLIENT_SUPPORT_COMPOSITOR_COMPOSITOR_DEPENDENCIES_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698