1// Copyright 2014 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[JavaPackage="org.chromium.mojo.bindings.test.mojom.mojo"] 6module mojo.test; 7 8struct Struct1 { 9 uint8 i; 10}; 11 12struct Struct2 { 13 handle hdl; 14}; 15 16struct Struct3 { 17 Struct1 struct_1; 18}; 19 20struct Struct4 { 21 array<Struct1> data; 22}; 23 24struct Struct5 { 25 array<Struct1, 2> pair; 26}; 27 28struct Struct6 { 29 string str; 30}; 31 32struct StructOfNullables { 33 handle? hdl; 34 Struct1? struct_1; 35 string? str; 36}; 37