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