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..f7bebb05e8bf1e5ea00f772c485da5f93c7a317f |
--- /dev/null |
+++ b/ui/wayland/wayland_geometry_utils.h |
@@ -0,0 +1,19 @@ |
+#ifndef UI_WAYLAND_WAYLAND_GEOMETRY_UTILS_H_ |
+#define UI_WAYLAND_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 // UI_WAYLAND_WAYLAND_GEOMETRY_UTILS_H_ |