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

Side by Side Diff: ui/gfx/mojo/traits_test_service.mojom

Issue 2298003002: gfx: Struct traits for GpuMemoryBufferHandle. (Closed)
Patch Set: . Created 4 years, 3 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 | « ui/gfx/mojo/struct_traits_unittest.cc ('k') | ui/gfx/native_pixmap_handle.h » ('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 gfx.mojom; 5 module gfx.mojom;
6 6
7 import "ui/gfx/mojo/accelerated_widget.mojom"; 7 import "ui/gfx/mojo/accelerated_widget.mojom";
8 import "ui/gfx/mojo/buffer_types.mojom";
8 import "ui/gfx/mojo/selection_bound.mojom"; 9 import "ui/gfx/mojo/selection_bound.mojom";
9 import "ui/gfx/mojo/transform.mojom"; 10 import "ui/gfx/mojo/transform.mojom";
10 11
11 // All functions on this interface echo their arguments to test StructTraits 12 // All functions on this interface echo their arguments to test StructTraits
12 // serialization and deserialization. 13 // serialization and deserialization.
13 interface TraitsTestService { 14 interface TraitsTestService {
14 [Sync] 15 [Sync]
15 EchoAcceleratedWidget(AcceleratedWidget w) => (AcceleratedWidget pass); 16 EchoAcceleratedWidget(AcceleratedWidget w) => (AcceleratedWidget pass);
16 17
17 [Sync] 18 [Sync]
18 EchoSelectionBound(SelectionBound s) => (SelectionBound pass); 19 EchoSelectionBound(SelectionBound s) => (SelectionBound pass);
19 20
20 [Sync] 21 [Sync]
21 EchoTransform(Transform t) => (Transform pass); 22 EchoTransform(Transform t) => (Transform pass);
23
24 [Sync]
25 EchoGpuMemoryBufferHandle(GpuMemoryBufferHandle g)
26 => (GpuMemoryBufferHandle pass);
22 }; 27 };
OLDNEW
« no previous file with comments | « ui/gfx/mojo/struct_traits_unittest.cc ('k') | ui/gfx/native_pixmap_handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698