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

Side by Side Diff: mojo/public/interfaces/bindings/tests/test_data_view.mojom

Issue 2165233003: Mojo C++ bindings: provide data view for all object types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 4 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 | « mojo/public/interfaces/bindings/tests/OWNERS ('k') | mojo/public/tools/bindings/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 module mojo.test.data_view;
6
7 enum TestEnum {
8 VALUE_0,
9 VALUE_1
10 };
11
12 interface TestInterface {
13 [Sync]
14 Echo(int32 value) => (int32 out_value);
15 };
16
17 struct NestedStruct {
18 int32 f_int32;
19 };
20
21 [Native]
22 struct TestNativeStruct;
23
24 union TestUnion {
25 bool f_bool;
26 int32 f_int32;
27 };
28
29 struct TestStruct {
30 string f_string;
31 NestedStruct? f_struct;
32 TestNativeStruct? f_native_struct;
33 array<bool> f_bool_array;
34 array<int32> f_int32_array;
35 array<TestEnum> f_enum_array;
36 array<TestInterface> f_interface_array;
37 array<array<int32>> f_nested_array;
38 array<NestedStruct> f_struct_array;
39 array<TestUnion> f_union_array;
40 map<string, int32> f_map;
41 };
OLDNEW
« no previous file with comments | « mojo/public/interfaces/bindings/tests/OWNERS ('k') | mojo/public/tools/bindings/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698