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

Side by Side 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: Removed the WaylandDisplay singleton 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 #ifndef UI_WAYLAND_WAYLAND_GEOMETRY_UTILS_H_
2 #define UI_WAYLAND_WAYLAND_GEOMETRY_UTILS_H_
3
4 #include <stdint.h>
5
6 struct Point {
Evan Martin 2011/07/22 21:08:54 I wonder if it's worth reusing our gfx::Rect and g
7 int32_t x, y;
8
9 Point() : x(0), y(0) {};
10 Point(int32_t x, int32_t y) : x(x), y(y) {};
11 };
12
13 struct Rectangle {
14 int32_t x, y, width, height;
15
16 Rectangle() : x(0), y(0), width(0), height(0) {};
17 };
18
19 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698