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

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

Issue 2047573005: Implement cc::FilterOperations StructTraits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Plumb cc::FilterOperations to mus Created 4 years, 6 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_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/render_pass_id.mojom"; 11 import "cc/ipc/render_pass_id.mojom";
11 import "cc/ipc/returned_resource.mojom"; 12 import "cc/ipc/returned_resource.mojom";
12 import "cc/ipc/selection.mojom"; 13 import "cc/ipc/selection.mojom";
13 import "cc/ipc/shared_quad_state.mojom"; 14 import "cc/ipc/shared_quad_state.mojom";
14 import "cc/ipc/surface_id.mojom"; 15 import "cc/ipc/surface_id.mojom";
15 import "cc/ipc/transferable_resource.mojom"; 16 import "cc/ipc/transferable_resource.mojom";
16 17
17 // All functions on this interface echo their arguments to test StructTraits 18 // All functions on this interface echo their arguments to test StructTraits
18 // serialization and deserialization. 19 // serialization and deserialization.
19 interface TraitsTestService { 20 interface TraitsTestService {
20 [Sync] 21 [Sync]
21 EchoBeginFrameArgs(BeginFrameArgs b) => (BeginFrameArgs pass); 22 EchoBeginFrameArgs(BeginFrameArgs b) => (BeginFrameArgs pass);
22 23
23 [Sync] 24 [Sync]
24 EchoCompositorFrameMetadata(CompositorFrameMetadata c) => 25 EchoCompositorFrameMetadata(CompositorFrameMetadata c) =>
25 (CompositorFrameMetadata pass); 26 (CompositorFrameMetadata pass);
26 27
27 [Sync] 28 [Sync]
28 EchoFilterOperation(FilterOperation f) => (FilterOperation pass); 29 EchoFilterOperation(FilterOperation f) => (FilterOperation pass);
29 30
30 [Sync] 31 [Sync]
32 EchoFilterOperations(FilterOperations f) => (FilterOperations pass);
33
34 [Sync]
31 EchoRenderPassId(RenderPassId r) => (RenderPassId pass); 35 EchoRenderPassId(RenderPassId r) => (RenderPassId pass);
32 36
33 [Sync] 37 [Sync]
34 EchoReturnedResource(ReturnedResource r) => (ReturnedResource pass); 38 EchoReturnedResource(ReturnedResource r) => (ReturnedResource pass);
35 39
36 [Sync] 40 [Sync]
37 EchoSelection(Selection s) => (Selection pass); 41 EchoSelection(Selection s) => (Selection pass);
38 42
39 [Sync] 43 [Sync]
40 EchoSharedQuadState(SharedQuadState s) => (SharedQuadState pass); 44 EchoSharedQuadState(SharedQuadState s) => (SharedQuadState pass);
41 45
42 [Sync] 46 [Sync]
43 EchoSurfaceId(SurfaceId s) => (SurfaceId pass); 47 EchoSurfaceId(SurfaceId s) => (SurfaceId pass);
44 48
45 [Sync] 49 [Sync]
46 EchoTransferableResource(TransferableResource t) => 50 EchoTransferableResource(TransferableResource t) =>
47 (TransferableResource pass); 51 (TransferableResource pass);
48 }; 52 };
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