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

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

Issue 558343004: Compositor bindings for mojo html_viewer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo_view_manager_surface
Patch Set: Add missing m/s/p/cpp/v_m -> m/s/p/cpp/surfaces dep in GN Created 6 years, 3 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
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 { 12 struct PointF {
13 float x; 13 float x;
14 float y; 14 float y;
15 }; 15 };
16 16
17 struct Size { 17 struct Size {
18 int32 width; 18 int32 width;
19 int32 height; 19 int32 height;
20 }; 20 };
21 21
22 struct Rect { 22 struct Rect {
23 int32 x; 23 int32 x;
24 int32 y; 24 int32 y;
25 int32 width; 25 int32 width;
26 int32 height; 26 int32 height;
27 }; 27 };
28 28
29 struct RectF {
30 float x;
31 float y;
32 float width;
33 float height;
34 };
35
29 struct Transform { 36 struct Transform {
30 // Row major order. 37 // Row major order.
31 float[16]? matrix; 38 float[16]? matrix;
32 }; 39 };
33 40
34 } 41 }
OLDNEW
« no previous file with comments | « mojo/services/public/cpp/view_manager/BUILD.gn ('k') | mojo/services/public/interfaces/surfaces/quads.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698