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

Unified Diff: base/event_types.h

Issue 17265006: wayland patch for inspection Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | « base/base.gypi ('k') | base/wayland/wayland_event.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/event_types.h
diff --git a/base/event_types.h b/base/event_types.h
index af586e46ec9cc807d0dad0b9cf8b9943b8541fb7..2a692648af615d86abb6d03d4459c26b5473e9a8 100644
--- a/base/event_types.h
+++ b/base/event_types.h
@@ -9,6 +9,12 @@
#if defined(OS_WIN)
#include <windows.h>
+#elif defined(USE_WAYLAND)
+namespace base {
+namespace wayland {
+union WaylandEvent;
+}
+}
#elif defined(USE_X11)
typedef union _XEvent XEvent;
#elif defined(OS_MACOSX)
@@ -24,6 +30,8 @@ namespace base {
// Cross platform typedefs for native event types.
#if defined(OS_WIN)
typedef MSG NativeEvent;
+#elif defined(USE_WAYLAND)
+typedef wayland::WaylandEvent* NativeEvent;
#elif defined(USE_X11)
typedef XEvent* NativeEvent;
#elif defined(OS_MACOSX)
« no previous file with comments | « base/base.gypi ('k') | base/wayland/wayland_event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698