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

Unified Diff: ui/wayland/wayland_geometry_utils.h

Issue 7457023: Adding a Wayland basic toolkit (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: More comments and Chrome style formatting Created 9 years, 5 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: ui/wayland/wayland_geometry_utils.h
diff --git a/ui/wayland/wayland_geometry_utils.h b/ui/wayland/wayland_geometry_utils.h
new file mode 100644
index 0000000000000000000000000000000000000000..b019d0b6a61ea98fd115ff3670f7e2ae59f5fa4e
--- /dev/null
+++ b/ui/wayland/wayland_geometry_utils.h
@@ -0,0 +1,19 @@
+#ifndef WAYLAND_GEOMETRY_UTILS_H_
+#define WAYLAND_GEOMETRY_UTILS_H_
+
+#include <stdint.h>
+
+struct Point {
+ int32_t x, y;
+
+ Point() : x(0), y(0) {};
+ Point(int32_t x, int32_t y) : x(x), y(y) {};
+};
+
+struct Rectangle {
+ int32_t x, y, width, height;
+
+ Rectangle() : x(0), y(0), width(0), height(0) {};
+};
+
+#endif

Powered by Google App Engine
This is Rietveld 408576698