| 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.mojom"; | 8 import "cc/ipc/compositor_frame.mojom"; |
| 9 import "cc/ipc/compositor_frame_metadata.mojom"; | 9 import "cc/ipc/compositor_frame_metadata.mojom"; |
| 10 import "cc/ipc/copy_output_request.mojom"; | 10 import "cc/ipc/copy_output_request.mojom"; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 import "cc/ipc/texture_mailbox.mojom"; | 22 import "cc/ipc/texture_mailbox.mojom"; |
| 23 import "cc/ipc/transferable_resource.mojom"; | 23 import "cc/ipc/transferable_resource.mojom"; |
| 24 | 24 |
| 25 // All functions on this interface echo their arguments to test StructTraits | 25 // All functions on this interface echo their arguments to test StructTraits |
| 26 // serialization and deserialization. | 26 // serialization and deserialization. |
| 27 interface TraitsTestService { | 27 interface TraitsTestService { |
| 28 [Sync] | 28 [Sync] |
| 29 EchoBeginFrameArgs(BeginFrameArgs b) => (BeginFrameArgs pass); | 29 EchoBeginFrameArgs(BeginFrameArgs b) => (BeginFrameArgs pass); |
| 30 | 30 |
| 31 [Sync] | 31 [Sync] |
| 32 EchoBeginFrameAck(BeginFrameAck b) => (BeginFrameAck pass); |
| 33 |
| 34 [Sync] |
| 32 EchoCompositorFrame(CompositorFrame c) => (CompositorFrame pass); | 35 EchoCompositorFrame(CompositorFrame c) => (CompositorFrame pass); |
| 33 | 36 |
| 34 [Sync] | 37 [Sync] |
| 35 EchoCompositorFrameMetadata(CompositorFrameMetadata c) => | 38 EchoCompositorFrameMetadata(CompositorFrameMetadata c) => |
| 36 (CompositorFrameMetadata pass); | 39 (CompositorFrameMetadata pass); |
| 37 | 40 |
| 38 [Sync] | 41 [Sync] |
| 39 EchoCopyOutputRequest(CopyOutputRequest c) => (CopyOutputRequest pass); | 42 EchoCopyOutputRequest(CopyOutputRequest c) => (CopyOutputRequest pass); |
| 40 | 43 |
| 41 [Sync] | 44 [Sync] |
| (...skipping 27 matching lines...) Expand all Loading... |
| 69 EchoSurfaceSequence(SurfaceSequence s) => (SurfaceSequence pass); | 72 EchoSurfaceSequence(SurfaceSequence s) => (SurfaceSequence pass); |
| 70 | 73 |
| 71 [Sync] | 74 [Sync] |
| 72 EchoTextureMailbox(TextureMailbox t) => | 75 EchoTextureMailbox(TextureMailbox t) => |
| 73 (TextureMailbox pass); | 76 (TextureMailbox pass); |
| 74 | 77 |
| 75 [Sync] | 78 [Sync] |
| 76 EchoTransferableResource(TransferableResource t) => | 79 EchoTransferableResource(TransferableResource t) => |
| 77 (TransferableResource pass); | 80 (TransferableResource pass); |
| 78 }; | 81 }; |
| OLD | NEW |