Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(381)

Side by Side Diff: cc/ipc/traits_test_service.mojom

Issue 2655963006: Implemented StructTraits for cc::CopyOutputRequest (Closed)
Patch Set: c Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/ipc/struct_traits_unittest.cc ('k') | cc/ipc/typemaps.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/filter_operation.mojom"; 11 import "cc/ipc/filter_operation.mojom";
11 import "cc/ipc/filter_operations.mojom"; 12 import "cc/ipc/filter_operations.mojom";
12 import "cc/ipc/quads.mojom"; 13 import "cc/ipc/quads.mojom";
13 import "cc/ipc/render_pass.mojom"; 14 import "cc/ipc/render_pass.mojom";
14 import "cc/ipc/returned_resource.mojom"; 15 import "cc/ipc/returned_resource.mojom";
15 import "cc/ipc/selection.mojom"; 16 import "cc/ipc/selection.mojom";
16 import "cc/ipc/shared_quad_state.mojom"; 17 import "cc/ipc/shared_quad_state.mojom";
17 import "cc/ipc/surface_id.mojom"; 18 import "cc/ipc/surface_id.mojom";
18 import "cc/ipc/surface_reference.mojom"; 19 import "cc/ipc/surface_reference.mojom";
19 import "cc/ipc/surface_sequence.mojom"; 20 import "cc/ipc/surface_sequence.mojom";
20 import "cc/ipc/texture_mailbox.mojom"; 21 import "cc/ipc/texture_mailbox.mojom";
21 import "cc/ipc/transferable_resource.mojom"; 22 import "cc/ipc/transferable_resource.mojom";
22 23
23 // All functions on this interface echo their arguments to test StructTraits 24 // All functions on this interface echo their arguments to test StructTraits
24 // serialization and deserialization. 25 // serialization and deserialization.
25 interface TraitsTestService { 26 interface TraitsTestService {
26 [Sync] 27 [Sync]
27 EchoBeginFrameArgs(BeginFrameArgs b) => (BeginFrameArgs pass); 28 EchoBeginFrameArgs(BeginFrameArgs b) => (BeginFrameArgs pass);
28 29
29 [Sync] 30 [Sync]
30 EchoCompositorFrame(CompositorFrame c) => (CompositorFrame pass); 31 EchoCompositorFrame(CompositorFrame c) => (CompositorFrame pass);
31 32
32 [Sync] 33 [Sync]
33 EchoCompositorFrameMetadata(CompositorFrameMetadata c) => 34 EchoCompositorFrameMetadata(CompositorFrameMetadata c) =>
34 (CompositorFrameMetadata pass); 35 (CompositorFrameMetadata pass);
35 36
36 [Sync] 37 [Sync]
38 EchoCopyOutputRequest(CopyOutputRequest c) =>
39 (CopyOutputRequest pass);
40
41 [Sync]
37 EchoFilterOperation(FilterOperation f) => (FilterOperation pass); 42 EchoFilterOperation(FilterOperation f) => (FilterOperation pass);
38 43
39 [Sync] 44 [Sync]
40 EchoFilterOperations(FilterOperations f) => (FilterOperations pass); 45 EchoFilterOperations(FilterOperations f) => (FilterOperations pass);
41 46
42 [Sync] 47 [Sync]
43 EchoRenderPass(RenderPass r) => (RenderPass pass); 48 EchoRenderPass(RenderPass r) => (RenderPass pass);
44 49
45 [Sync] 50 [Sync]
46 EchoReturnedResource(ReturnedResource r) => (ReturnedResource pass); 51 EchoReturnedResource(ReturnedResource r) => (ReturnedResource pass);
(...skipping 14 matching lines...) Expand all
61 EchoSurfaceSequence(SurfaceSequence s) => (SurfaceSequence pass); 66 EchoSurfaceSequence(SurfaceSequence s) => (SurfaceSequence pass);
62 67
63 [Sync] 68 [Sync]
64 EchoTextureMailbox(TextureMailbox t) => 69 EchoTextureMailbox(TextureMailbox t) =>
65 (TextureMailbox pass); 70 (TextureMailbox pass);
66 71
67 [Sync] 72 [Sync]
68 EchoTransferableResource(TransferableResource t) => 73 EchoTransferableResource(TransferableResource t) =>
69 (TransferableResource pass); 74 (TransferableResource pass);
70 }; 75 };
OLDNEW
« no previous file with comments | « cc/ipc/struct_traits_unittest.cc ('k') | cc/ipc/typemaps.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698