Index: services/ui/gpu/interfaces/gpu_main.mojom |
diff --git a/services/ui/gpu/interfaces/gpu_main.mojom b/services/ui/gpu/interfaces/gpu_main.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f0b5284d62ddc71d189138e80f69b11a4a76f851 |
--- /dev/null |
+++ b/services/ui/gpu/interfaces/gpu_main.mojom |
@@ -0,0 +1,20 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+module ui.mojom; |
+ |
+import "cc/ipc/display_compositor.mojom"; |
+import "gpu/ipc/common/gpu_info.mojom"; |
+import "services/ui/gpu/interfaces/gpu_service_internal.mojom"; |
+ |
+// This is the primordial interface used to (re)start the mus-gpu bundle |
+// of services. |
+interface GpuMain { |
+ CreateDisplayCompositor( |
+ cc.mojom.DisplayCompositor& display_compositor, |
+ cc.mojom.DisplayCompositorClient display_compositor_client); |
+ |
+ CreateGpuService(GpuServiceInternal& gpu_service) => |
+ (gpu.mojom.GpuInfo gpu_info); |
+}; |