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

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

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

Powered by Google App Engine
This is Rietveld 408576698