Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 [JavaPackage="org.chromium.mojo.bindings.test"] | 5 [JavaPackage="org.chromium.mojo.bindings.test.test_structs"] |
| 6 module test_structs { | 6 module test_structs { |
| 7 | 7 |
| 8 struct Rect { | 8 struct Rect { |
| 9 int32 x; | 9 int32 x; |
| 10 int32 y; | 10 int32 y; |
| 11 int32 width; | 11 int32 width; |
| 12 int32 height; | 12 int32 height; |
| 13 }; | 13 }; |
| 14 | 14 |
| 15 struct NamedRegion { | 15 struct NamedRegion { |
| 16 string name; | 16 string name; |
| 17 Rect[] rects; | 17 Rect[] rects; |
| 18 }; | 18 }; |
| 19 | 19 |
| 20 } | 20 } |
| OLD | NEW |