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

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

Issue 2032643002: Implement cc::SharedQuadState StructTraits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed StructTraits + added unittest 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/render_pass_id.mojom"; 8 import "cc/ipc/render_pass_id.mojom";
9 import "cc/ipc/returned_resource.mojom"; 9 import "cc/ipc/returned_resource.mojom";
10 import "cc/ipc/shared_quad_state.mojom";
10 import "cc/ipc/surface_id.mojom"; 11 import "cc/ipc/surface_id.mojom";
11 import "cc/ipc/transferable_resource.mojom"; 12 import "cc/ipc/transferable_resource.mojom";
12 13
13 interface TraitsTestService { 14 interface TraitsTestService {
14 EchoBeginFrameArgs(BeginFrameArgs b) => (BeginFrameArgs pass); 15 EchoBeginFrameArgs(BeginFrameArgs b) => (BeginFrameArgs pass);
15 EchoRenderPassId(RenderPassId r) => (RenderPassId pass); 16 EchoRenderPassId(RenderPassId r) => (RenderPassId pass);
16 EchoReturnedResource(ReturnedResource r) => (ReturnedResource r); 17 EchoReturnedResource(ReturnedResource r) => (ReturnedResource pass);
18 [Sync]
19 EchoSharedQuadState(SharedQuadState s) => (SharedQuadState pass);
17 EchoSurfaceId(SurfaceId s) => (SurfaceId pass); 20 EchoSurfaceId(SurfaceId s) => (SurfaceId pass);
18 EchoTransferableResource(TransferableResource t) => 21 EchoTransferableResource(TransferableResource t) =>
19 (TransferableResource pass); 22 (TransferableResource pass);
20 }; 23 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698