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 "gpu/ipc/common/gpu_info.mojom"; | 7 import "gpu/ipc/common/gpu_info.mojom"; |
8 import "services/ui/gpu/interfaces/context_lost_reason.mojom"; | 8 import "services/ui/gpu/interfaces/context_lost_reason.mojom"; |
9 import "url/mojo/url.mojom"; | 9 import "url/mojo/url.mojom"; |
10 | 10 |
11 interface GpuServiceHost { | 11 interface GpuHost { |
12 DidInitialize(gpu.mojom.GpuInfo gpu_info); | 12 DidInitialize(gpu.mojom.GpuInfo gpu_info); |
13 DidCreateOffscreenContext(url.mojom.Url url); | 13 DidCreateOffscreenContext(url.mojom.Url url); |
14 DidDestroyOffscreenContext(url.mojom.Url url); | 14 DidDestroyOffscreenContext(url.mojom.Url url); |
15 | 15 |
16 DidDestroyChannel(int32 client_id); | 16 DidDestroyChannel(int32 client_id); |
17 DidLoseContext(bool offscreen, | 17 DidLoseContext(bool offscreen, |
18 ContextLostReason reason, | 18 ContextLostReason reason, |
19 url.mojom.Url active_url); | 19 url.mojom.Url active_url); |
20 | 20 |
21 StoreShaderToDisk(int32 client_id, string key, string shader); | 21 StoreShaderToDisk(int32 client_id, string key, string shader); |
22 }; | 22 }; |
OLD | NEW |