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

Unified Diff: services/ui/surfaces/display_compositor.h

Issue 2280723004: services/ui: Remove unwanted gpu dependency from services/ui/surfaces. (Closed)
Patch Set: . Created 4 years, 4 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 | « services/ui/surfaces/direct_output_surface_ozone.cc ('k') | services/ui/surfaces/display_compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/surfaces/display_compositor.h
diff --git a/services/ui/surfaces/display_compositor.h b/services/ui/surfaces/display_compositor.h
index dfeed0d7cfeaedd7f7d57839ecdfb2e5707392ed..7aa0a5a89740e564baaf54dcf2a3b94dccede351 100644
--- a/services/ui/surfaces/display_compositor.h
+++ b/services/ui/surfaces/display_compositor.h
@@ -17,6 +17,10 @@ namespace cc {
class Display;
}
+namespace gpu {
+class GpuChannelHost;
+}
+
namespace ui {
// TODO(fsamuel): This should become a mojo interface for the mus-gpu split.
@@ -29,6 +33,7 @@ class DisplayCompositor : public cc::SurfaceFactoryClient,
public:
DisplayCompositor(scoped_refptr<base::SingleThreadTaskRunner> task_runner,
gfx::AcceleratedWidget widget,
+ scoped_refptr<gpu::GpuChannelHost> gpu_channel,
const scoped_refptr<SurfacesState>& surfaces_state);
~DisplayCompositor() override;
« no previous file with comments | « services/ui/surfaces/direct_output_surface_ozone.cc ('k') | services/ui/surfaces/display_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698