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

Unified Diff: services/ui/gpu/gpu_main.h

Issue 2559113002: mus/gpu: Introduce the GpuServiceHost mojom interface. (Closed)
Patch Set: . Created 4 years 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 | « mojo/public/tools/bindings/chromium_bindings_configuration.gni ('k') | services/ui/gpu/gpu_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/gpu/gpu_main.h
diff --git a/services/ui/gpu/gpu_main.h b/services/ui/gpu/gpu_main.h
index 6eb2eb842a020b25cbdc53c1f9b89eacf7d1b356..bd03dde2b1f434ac8ee4747f30a18935c12ce669 100644
--- a/services/ui/gpu/gpu_main.h
+++ b/services/ui/gpu/gpu_main.h
@@ -28,7 +28,7 @@ class GpuMain : public gpu::GpuSandboxHelper, public mojom::GpuMain {
// mojom::GpuMain implementation:
void CreateGpuService(mojom::GpuServiceInternalRequest request,
- const CreateGpuServiceCallback& callback) override;
+ mojom::GpuServiceHostPtr gpu_host) override;
void CreateDisplayCompositor(
cc::mojom::DisplayCompositorRequest request,
cc::mojom::DisplayCompositorClientPtr client) override;
@@ -50,10 +50,9 @@ class GpuMain : public gpu::GpuSandboxHelper, public mojom::GpuMain {
mojom::GpuServiceInternalPtrInfo gpu_service_info,
cc::mojom::DisplayCompositorRequest request,
cc::mojom::DisplayCompositorClientPtrInfo client_info);
- void CreateGpuServiceOnGpuThread(
- mojom::GpuServiceInternalRequest request,
- scoped_refptr<base::SingleThreadTaskRunner> origin_runner,
- const CreateGpuServiceCallback& callback);
+ void CreateGpuServiceOnGpuThread(mojom::GpuServiceInternalRequest request,
+ mojom::GpuServiceHostPtrInfo gpu_host_info);
+ void BindGpuInternalOnGpuThread(mojom::GpuServiceInternalRequest request);
void TearDownOnCompositorThread();
void TearDownOnGpuThread();
« no previous file with comments | « mojo/public/tools/bindings/chromium_bindings_configuration.gni ('k') | services/ui/gpu/gpu_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698