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

Unified Diff: ui/gfx/geometry/mojo/geometry.mojom

Issue 2033583002: Implement gfx::Vector2d and gfx::Vector2dF StructTraits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary deps Created 4 years, 7 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
« no previous file with comments | « no previous file | ui/gfx/geometry/mojo/geometry.typemap » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/geometry/mojo/geometry.mojom
diff --git a/ui/gfx/geometry/mojo/geometry.mojom b/ui/gfx/geometry/mojo/geometry.mojom
index 3475cfa944c606c7660dc32056cd52e4f97ba72d..97143866da2019a1923c6bf06bffcd5f206b5fa7 100644
--- a/ui/gfx/geometry/mojo/geometry.mojom
+++ b/ui/gfx/geometry/mojo/geometry.mojom
@@ -51,3 +51,13 @@ struct InsetsF {
float bottom;
float right;
};
+
+struct Vector2d {
+ int32 x;
+ int32 y;
+};
+
+struct Vector2dF {
+ float x;
+ float y;
+};
« no previous file with comments | « no previous file | ui/gfx/geometry/mojo/geometry.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698