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/compositor_frame_metadata.mojom"; | 8 import "cc/ipc/compositor_frame_metadata.mojom"; |
9 import "cc/ipc/filter_operation.mojom"; | 9 import "cc/ipc/filter_operation.mojom"; |
10 import "cc/ipc/filter_operations.mojom"; | 10 import "cc/ipc/filter_operations.mojom"; |
11 import "cc/ipc/quads.mojom"; | 11 import "cc/ipc/quads.mojom"; |
| 12 import "cc/ipc/render_pass.mojom"; |
12 import "cc/ipc/render_pass_id.mojom"; | 13 import "cc/ipc/render_pass_id.mojom"; |
13 import "cc/ipc/returned_resource.mojom"; | 14 import "cc/ipc/returned_resource.mojom"; |
14 import "cc/ipc/selection.mojom"; | 15 import "cc/ipc/selection.mojom"; |
15 import "cc/ipc/shared_quad_state.mojom"; | 16 import "cc/ipc/shared_quad_state.mojom"; |
16 import "cc/ipc/surface_id.mojom"; | 17 import "cc/ipc/surface_id.mojom"; |
17 import "cc/ipc/surface_sequence.mojom"; | 18 import "cc/ipc/surface_sequence.mojom"; |
18 import "cc/ipc/transferable_resource.mojom"; | 19 import "cc/ipc/transferable_resource.mojom"; |
19 | 20 |
20 // All functions on this interface echo their arguments to test StructTraits | 21 // All functions on this interface echo their arguments to test StructTraits |
21 // serialization and deserialization. | 22 // serialization and deserialization. |
22 interface TraitsTestService { | 23 interface TraitsTestService { |
23 [Sync] | 24 [Sync] |
24 EchoBeginFrameArgs(BeginFrameArgs b) => (BeginFrameArgs pass); | 25 EchoBeginFrameArgs(BeginFrameArgs b) => (BeginFrameArgs pass); |
25 | 26 |
26 [Sync] | 27 [Sync] |
27 EchoCompositorFrameMetadata(CompositorFrameMetadata c) => | 28 EchoCompositorFrameMetadata(CompositorFrameMetadata c) => |
28 (CompositorFrameMetadata pass); | 29 (CompositorFrameMetadata pass); |
29 | 30 |
30 [Sync] | 31 [Sync] |
31 EchoFilterOperation(FilterOperation f) => (FilterOperation pass); | 32 EchoFilterOperation(FilterOperation f) => (FilterOperation pass); |
32 | 33 |
33 [Sync] | 34 [Sync] |
34 EchoFilterOperations(FilterOperations f) => (FilterOperations pass); | 35 EchoFilterOperations(FilterOperations f) => (FilterOperations pass); |
35 | 36 |
36 [Sync] | 37 [Sync] |
37 EchoQuadList(QuadList q) => (QuadList pass); | 38 EchoQuadList(QuadList q) => (QuadList pass); |
38 | 39 |
39 [Sync] | 40 [Sync] |
| 41 EchoRenderPass(RenderPass r) => (RenderPass pass); |
| 42 |
| 43 [Sync] |
40 EchoRenderPassId(RenderPassId r) => (RenderPassId pass); | 44 EchoRenderPassId(RenderPassId r) => (RenderPassId pass); |
41 | 45 |
42 [Sync] | 46 [Sync] |
43 EchoReturnedResource(ReturnedResource r) => (ReturnedResource pass); | 47 EchoReturnedResource(ReturnedResource r) => (ReturnedResource pass); |
44 | 48 |
45 [Sync] | 49 [Sync] |
46 EchoSelection(Selection s) => (Selection pass); | 50 EchoSelection(Selection s) => (Selection pass); |
47 | 51 |
48 [Sync] | 52 [Sync] |
49 EchoSharedQuadState(SharedQuadState s) => (SharedQuadState pass); | 53 EchoSharedQuadState(SharedQuadState s) => (SharedQuadState pass); |
50 | 54 |
51 [Sync] | 55 [Sync] |
52 EchoSurfaceId(SurfaceId s) => (SurfaceId pass); | 56 EchoSurfaceId(SurfaceId s) => (SurfaceId pass); |
53 | 57 |
54 [Sync] | 58 [Sync] |
55 EchoSurfaceSequence(SurfaceSequence s) => (SurfaceSequence pass); | 59 EchoSurfaceSequence(SurfaceSequence s) => (SurfaceSequence pass); |
56 | 60 |
57 [Sync] | 61 [Sync] |
58 EchoTransferableResource(TransferableResource t) => | 62 EchoTransferableResource(TransferableResource t) => |
59 (TransferableResource pass); | 63 (TransferableResource pass); |
60 }; | 64 }; |
OLD | NEW |