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

Unified Diff: content/renderer/mus/render_widget_mus_connection.h

Issue 2233003003: services/ui: Inject GpuService instance where needed, instead of singleton. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 | « ash/mus/window_manager_application.cc ('k') | content/renderer/mus/render_widget_mus_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/mus/render_widget_mus_connection.h
diff --git a/content/renderer/mus/render_widget_mus_connection.h b/content/renderer/mus/render_widget_mus_connection.h
index b1e77b5822682032ac23088c190d3a524bca86fd..27d5f8224a1cf8f4b9f4281c7a251326971c1996 100644
--- a/content/renderer/mus/render_widget_mus_connection.h
+++ b/content/renderer/mus/render_widget_mus_connection.h
@@ -13,6 +13,10 @@
#include "content/renderer/mus/compositor_mus_connection.h"
#include "services/ui/public/cpp/window_surface.h"
+namespace ui {
+class GpuService;
+}
+
namespace content {
class InputHandlerManager;
@@ -25,7 +29,7 @@ class CONTENT_EXPORT RenderWidgetMusConnection
void Bind(mojo::InterfaceRequest<ui::mojom::WindowTreeClient> request);
// Create a cc output surface.
- std::unique_ptr<cc::OutputSurface> CreateOutputSurface();
+ std::unique_ptr<cc::OutputSurface> CreateOutputSurface(ui::GpuService* gpu);
static RenderWidgetMusConnection* Get(int routing_id);
« no previous file with comments | « ash/mus/window_manager_application.cc ('k') | content/renderer/mus/render_widget_mus_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698