| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 module ui.mojom; | 5 module ui.mojom; |
| 6 | 6 |
| 7 import "cc/ipc/display_compositor.mojom"; | 7 import "cc/ipc/display_compositor.mojom"; |
| 8 import "gpu/ipc/common/gpu_info.mojom"; | 8 import "services/ui/gpu/interfaces/gpu_service_host.mojom"; |
| 9 import "services/ui/gpu/interfaces/gpu_service_internal.mojom"; | 9 import "services/ui/gpu/interfaces/gpu_service_internal.mojom"; |
| 10 | 10 |
| 11 // This is the primordial interface used to (re)start the mus-gpu bundle | 11 // This is the primordial interface used to (re)start the mus-gpu bundle |
| 12 // of services. | 12 // of services. |
| 13 interface GpuMain { | 13 interface GpuMain { |
| 14 CreateDisplayCompositor( | 14 CreateDisplayCompositor( |
| 15 cc.mojom.DisplayCompositor& display_compositor, | 15 cc.mojom.DisplayCompositor& display_compositor, |
| 16 cc.mojom.DisplayCompositorClient display_compositor_client); | 16 cc.mojom.DisplayCompositorClient display_compositor_client); |
| 17 | 17 |
| 18 CreateGpuService(GpuServiceInternal& gpu_service) => | 18 CreateGpuService(GpuServiceInternal& gpu_service, |
| 19 (gpu.mojom.GpuInfo gpu_info); | 19 GpuServiceHost gpu_host); |
| 20 }; | 20 }; |
| OLD | NEW |