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