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 cc.mojom; | 5 module cc.mojom; |
6 | 6 |
7 import "cc/ipc/begin_frame_args.mojom"; | 7 import "cc/ipc/begin_frame_args.mojom"; |
8 import "cc/ipc/render_pass_id.mojom"; | 8 import "cc/ipc/render_pass_id.mojom"; |
9 import "cc/ipc/returned_resource.mojom"; | 9 import "cc/ipc/returned_resource.mojom"; |
10 import "cc/ipc/shared_quad_state.mojom"; | 10 import "cc/ipc/shared_quad_state.mojom"; |
11 import "cc/ipc/surface_id.mojom"; | 11 import "cc/ipc/surface_id.mojom"; |
| 12 import "cc/ipc/surface_sequence.mojom"; |
12 import "cc/ipc/transferable_resource.mojom"; | 13 import "cc/ipc/transferable_resource.mojom"; |
13 | 14 |
14 // All functions on this interface echo their arguments to test StructTraits | 15 // All functions on this interface echo their arguments to test StructTraits |
15 // serialization and deserialization. | 16 // serialization and deserialization. |
16 interface TraitsTestService { | 17 interface TraitsTestService { |
17 [Sync] | 18 [Sync] |
18 EchoBeginFrameArgs(BeginFrameArgs b) => (BeginFrameArgs pass); | 19 EchoBeginFrameArgs(BeginFrameArgs b) => (BeginFrameArgs pass); |
19 | 20 |
20 [Sync] | 21 [Sync] |
21 EchoRenderPassId(RenderPassId r) => (RenderPassId pass); | 22 EchoRenderPassId(RenderPassId r) => (RenderPassId pass); |
22 | 23 |
23 | 24 |
24 [Sync] | 25 [Sync] |
25 EchoReturnedResource(ReturnedResource r) => (ReturnedResource pass); | 26 EchoReturnedResource(ReturnedResource r) => (ReturnedResource pass); |
26 | 27 |
27 [Sync] | 28 [Sync] |
28 EchoSharedQuadState(SharedQuadState s) => (SharedQuadState pass); | 29 EchoSharedQuadState(SharedQuadState s) => (SharedQuadState pass); |
29 | 30 |
30 [Sync] | 31 [Sync] |
31 EchoSurfaceId(SurfaceId s) => (SurfaceId pass); | 32 EchoSurfaceId(SurfaceId s) => (SurfaceId pass); |
32 | 33 |
33 [Sync] | 34 [Sync] |
| 35 EchoSurfaceSequence(SurfaceSequence s) => (SurfaceSequence pass); |
| 36 |
| 37 [Sync] |
34 EchoTransferableResource(TransferableResource t) => | 38 EchoTransferableResource(TransferableResource t) => |
35 (TransferableResource pass); | 39 (TransferableResource pass); |
36 }; | 40 }; |
OLD | NEW |