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

Side by Side Diff: ui/gfx/geometry/mojo/geometry.mojom

Issue 2028573003: Implement gfx::Transform StructTraits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing build file Created 4 years, 6 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/tools/bindings/mojom.gni ('k') | ui/gfx/mojo/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
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 // TODO(beng): should be gfx.mojom;
6 module mojo; 6 module mojo;
7 7
8 struct Point { 8 struct Point {
9 int32 x; 9 int32 x;
10 int32 y; 10 int32 y;
(...skipping 21 matching lines...) Expand all
32 int32 height; 32 int32 height;
33 }; 33 };
34 34
35 struct RectF { 35 struct RectF {
36 float x; 36 float x;
37 float y; 37 float y;
38 float width; 38 float width;
39 float height; 39 float height;
40 }; 40 };
41 41
42 struct Transform {
43 // Row major order.
44 array<float, 16> matrix;
45 };
46
47 struct Insets { 42 struct Insets {
48 int32 top; 43 int32 top;
49 int32 left; 44 int32 left;
50 int32 bottom; 45 int32 bottom;
51 int32 right; 46 int32 right;
52 }; 47 };
53 48
54 struct InsetsF { 49 struct InsetsF {
55 float top; 50 float top;
56 float left; 51 float left;
57 float bottom; 52 float bottom;
58 float right; 53 float right;
59 }; 54 };
OLDNEW
« no previous file with comments | « mojo/public/tools/bindings/mojom.gni ('k') | ui/gfx/mojo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698