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

Unified Diff: services/ui/surfaces/surfaces_context_provider.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/display_compositor.cc ('k') | services/ui/surfaces/surfaces_context_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/surfaces/surfaces_context_provider.h
diff --git a/services/ui/surfaces/surfaces_context_provider.h b/services/ui/surfaces/surfaces_context_provider.h
index 207d3db32cbfe1168a547e85b783dce95b297662..6746750e8f4a8e030fa47a60527da8df0ecb0fd3 100644
--- a/services/ui/surfaces/surfaces_context_provider.h
+++ b/services/ui/surfaces/surfaces_context_provider.h
@@ -18,6 +18,7 @@
namespace gpu {
class CommandBufferProxyImpl;
+class GpuChannelHost;
struct GpuProcessHostedCALayerTreeParamsMac;
class TransferBuffer;
@@ -41,7 +42,8 @@ class SurfacesContextProviderDelegate;
class SurfacesContextProvider : public cc::ContextProvider,
public base::NonThreadSafe {
public:
- explicit SurfacesContextProvider(gfx::AcceleratedWidget widget);
+ SurfacesContextProvider(gfx::AcceleratedWidget widget,
+ scoped_refptr<gpu::GpuChannelHost> gpu_channel);
void SetDelegate(SurfacesContextProviderDelegate* delegate);
« no previous file with comments | « services/ui/surfaces/display_compositor.cc ('k') | services/ui/surfaces/surfaces_context_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698