| 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
|
|
|