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.test_structs"] 6module mojo.test; 7 8struct Rect { 9 int32 x; 10 int32 y; 11 int32 width; 12 int32 height; 13}; 14 15// A copy of Rect that can be typemapped. Arrays of Rect are currently used, 16// which do not support typemapping. 17struct TypemappedRect { 18 int32 x; 19 int32 y; 20 int32 width; 21 int32 height; 22}; 23