| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 // TODO(beng): should be gfx.mojom; |
| 5 module mojo; | 6 module mojo; |
| 6 | 7 |
| 7 struct Point { | 8 struct Point { |
| 8 int32 x; | 9 int32 x; |
| 9 int32 y; | 10 int32 y; |
| 10 }; | 11 }; |
| 11 | 12 |
| 12 struct PointF { | 13 struct PointF { |
| 13 float x; | 14 float x; |
| 14 float y; | 15 float y; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 37 // Row major order. | 38 // Row major order. |
| 38 array<float, 16> matrix; | 39 array<float, 16> matrix; |
| 39 }; | 40 }; |
| 40 | 41 |
| 41 struct Insets { | 42 struct Insets { |
| 42 int32 top; | 43 int32 top; |
| 43 int32 left; | 44 int32 left; |
| 44 int32 bottom; | 45 int32 bottom; |
| 45 int32 right; | 46 int32 right; |
| 46 }; | 47 }; |
| OLD | NEW |