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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: mojo/services/public/interfaces/geometry/geometry.mojom
diff --git a/mojo/services/public/interfaces/geometry/geometry.mojom b/mojo/services/public/interfaces/geometry/geometry.mojom
index 62cedddf16ba1ba3c1335dc5d5cb9d4c2fc6fe7c..ab68c8e61ce279c8915824a775fe1c8f3ccccea4 100644
--- a/mojo/services/public/interfaces/geometry/geometry.mojom
+++ b/mojo/services/public/interfaces/geometry/geometry.mojom
@@ -9,6 +9,11 @@ struct Point {
int32 y;
};
+struct PointF {
+ float x;
+ float y;
+};
+
struct Size {
int32 width;
int32 height;
@@ -21,4 +26,9 @@ struct Rect {
int32 height;
};
+struct Transform {
+ // Should have exactly 16 entries.
+ float[] matrix;
+};
+
}

Powered by Google App Engine
This is Rietveld 408576698