Chromium Code Reviews| 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_preferences.mojom"; | 8 import "gpu/ipc/common/gpu_preferences.mojom"; |
| 9 import "services/ui/gpu/interfaces/gpu_host.mojom"; | 9 import "services/ui/gpu/interfaces/gpu_host.mojom"; |
| 10 import "services/ui/gpu/interfaces/gpu_service.mojom"; | 10 import "services/ui/gpu/interfaces/gpu_service.mojom"; |
| 11 | 11 |
| 12 // This is the primordial interface used to (re)start the mus-gpu bundle | 12 // This is the primordial interface used to (re)start the mus-gpu bundle |
| 13 // of services. | 13 // of services. |
| 14 interface GpuMain { | 14 interface GpuMain { |
| 15 CreateDisplayCompositor( | 15 CreateDisplayCompositor( |
| 16 cc.mojom.DisplayCompositor& display_compositor, | 16 cc.mojom.DisplayCompositor& display_compositor, |
| 17 cc.mojom.DisplayCompositorClient display_compositor_client); | 17 cc.mojom.DisplayCompositorClient display_compositor_client); |
| 18 | 18 |
| 19 CreateGpuService(GpuService& gpu_service, | 19 CreateGpuService(GpuService& gpu_service, |
| 20 GpuHost gpu_host, | 20 GpuHost gpu_host, |
| 21 gpu.mojom.GpuPreferences preferences); | 21 gpu.mojom.GpuPreferences preferences, |
| 22 handle<shared_buffer> activity_flags); | |
|
sadrul
2017/03/16 04:40:32
The new param needs to be optional (the reason for
ericrk
2017/03/16 21:25:23
Ah, thanks!
| |
| 22 }; | 23 }; |
| OLD | NEW |