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

Side by Side Diff: mojo/services/public/interfaces/geometry/geometry.mojom

Issue 342543002: Mojom interface for Surfaces service (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
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 module mojo { 5 module mojo {
6 6
7 struct Point { 7 struct Point {
8 int32 x; 8 int32 x;
9 int32 y; 9 int32 y;
10 }; 10 };
11 11
12 struct PointF {
13 float x;
14 float y;
15 };
16
12 struct Size { 17 struct Size {
13 int32 width; 18 int32 width;
14 int32 height; 19 int32 height;
15 }; 20 };
16 21
17 struct Rect { 22 struct Rect {
18 int32 x; 23 int32 x;
19 int32 y; 24 int32 y;
20 int32 width; 25 int32 width;
21 int32 height; 26 int32 height;
22 }; 27 };
23 28
29 struct Transform {
30 // Should have exactly 16 entries.
31 float[] matrix;
32 };
33
24 } 34 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698