OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 module blink.mojom; | |
6 | |
7 import "cc/ipc/surface_id.mojom"; | |
8 import "cc/ipc/surface_sequence.mojom"; | |
9 | |
10 interface OffscreenCanvasSurfaceService { | |
Ben Goodger (Google)
2016/06/17 00:38:33
Are you using the -Service suffix because this is
| |
11 | |
12 // TODO(619138): Make creation of surface id Async after implementation | |
13 // change on surface_id generator that makes client side be able to generate | |
14 // unique surface_id.id_namespace alone. | |
15 [ Sync ] | |
16 GetSurfaceId() => (cc.mojom.SurfaceId surface_id); | |
17 RequestSurfaceCreation(cc.mojom.SurfaceId surface_id); | |
18 | |
19 Require(cc.mojom.SurfaceId surface_id, cc.mojom.SurfaceSequence sequence); | |
20 Satisfy(cc.mojom.SurfaceSequence sequence); | |
21 }; | |
22 | |
23 | |
OLD | NEW |