summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authormsb@chromium.org <msb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-15 23:54:41 +0000
committermsb@chromium.org <msb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-15 23:54:41 +0000
commit77e45a46e337964ff096759f2bf41f63193475b3 (patch)
tree4df6f78e52d574b954e03f0fb59ddd71bf86461a /base
parentc9243403a007312cb241411e1cbabff210474b99 (diff)
downloadchromium_src-77e45a46e337964ff096759f2bf41f63193475b3.zip
chromium_src-77e45a46e337964ff096759f2bf41f63193475b3.tar.gz
chromium_src-77e45a46e337964ff096759f2bf41f63193475b3.tar.bz2
wayland: forward declare WaylandEvent
Don't pollute the namespace with defines from C header files and forward declare WaylandEvent. BUG=102903 TEST=compiles Change-Id: I5cd50c04361d4d053bdf8c193071a4c7808c51d7 R=oshima@chromium.org,dnicoara@chromium.org,mark@chromium.org Review URL: http://codereview.chromium.org/8572030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110211 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/event_types.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/base/event_types.h b/base/event_types.h
index f916234..a1b78f6 100644
--- a/base/event_types.h
+++ b/base/event_types.h
@@ -11,7 +11,11 @@
#if defined(OS_WIN)
#include <windows.h>
#elif defined(USE_WAYLAND)
-#include "base/wayland/wayland_event.h"
+namespace base {
+namespace wayland {
+union WaylandEvent;
+}
+}
#elif defined(USE_X11)
typedef union _XEvent XEvent;
#endif