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

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

Issue 2537343004: Add SurfaceReference class. (Closed)
Patch Set: Fix nit. Created 4 years 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
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/filter_operation.mojom"; 10 import "cc/ipc/filter_operation.mojom";
11 import "cc/ipc/filter_operations.mojom"; 11 import "cc/ipc/filter_operations.mojom";
12 import "cc/ipc/quads.mojom"; 12 import "cc/ipc/quads.mojom";
13 import "cc/ipc/render_pass.mojom"; 13 import "cc/ipc/render_pass.mojom";
14 import "cc/ipc/render_pass_id.mojom"; 14 import "cc/ipc/render_pass_id.mojom";
15 import "cc/ipc/returned_resource.mojom"; 15 import "cc/ipc/returned_resource.mojom";
16 import "cc/ipc/selection.mojom"; 16 import "cc/ipc/selection.mojom";
17 import "cc/ipc/shared_quad_state.mojom"; 17 import "cc/ipc/shared_quad_state.mojom";
18 import "cc/ipc/surface_id.mojom"; 18 import "cc/ipc/surface_id.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/transferable_resource.mojom"; 21 import "cc/ipc/transferable_resource.mojom";
21 22
22 // All functions on this interface echo their arguments to test StructTraits 23 // All functions on this interface echo their arguments to test StructTraits
23 // serialization and deserialization. 24 // serialization and deserialization.
24 interface TraitsTestService { 25 interface TraitsTestService {
25 [Sync] 26 [Sync]
26 EchoBeginFrameArgs(BeginFrameArgs b) => (BeginFrameArgs pass); 27 EchoBeginFrameArgs(BeginFrameArgs b) => (BeginFrameArgs pass);
27 28
28 [Sync] 29 [Sync]
(...skipping 21 matching lines...) Expand all
50 [Sync] 51 [Sync]
51 EchoSelection(Selection s) => (Selection pass); 52 EchoSelection(Selection s) => (Selection pass);
52 53
53 [Sync] 54 [Sync]
54 EchoSharedQuadState(SharedQuadState s) => (SharedQuadState pass); 55 EchoSharedQuadState(SharedQuadState s) => (SharedQuadState pass);
55 56
56 [Sync] 57 [Sync]
57 EchoSurfaceId(SurfaceId s) => (SurfaceId pass); 58 EchoSurfaceId(SurfaceId s) => (SurfaceId pass);
58 59
59 [Sync] 60 [Sync]
61 EchoSurfaceReference(SurfaceReference s) => (SurfaceReference ref);
vmpstr 2016/12/02 19:33:35 What are the variable names here? The rest of the
kylechar 2016/12/02 20:16:23 They're the variable names that get used in the au
62
63 [Sync]
60 EchoSurfaceSequence(SurfaceSequence s) => (SurfaceSequence pass); 64 EchoSurfaceSequence(SurfaceSequence s) => (SurfaceSequence pass);
61 65
62 [Sync] 66 [Sync]
63 EchoTransferableResource(TransferableResource t) => 67 EchoTransferableResource(TransferableResource t) =>
64 (TransferableResource pass); 68 (TransferableResource pass);
65 }; 69 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698