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 OffscreenCanvasSurface { |
| 11 // TODO(619138): Make creation of surface id Async after implementation |
| 12 // change on surface_id generator that makes client side be able to generate |
| 13 // unique surface_id.id_namespace alone. |
| 14 [Sync] |
| 15 GetSurfaceId() => (cc.mojom.SurfaceId surface_id); |
| 16 RequestSurfaceCreation(cc.mojom.SurfaceId surface_id); |
| 17 |
| 18 Require(cc.mojom.SurfaceId surface_id, cc.mojom.SurfaceSequence sequence); |
| 19 Satisfy(cc.mojom.SurfaceSequence sequence); |
| 20 }; |
| 21 |
| 22 |
OLD | NEW |