From 77e45a46e337964ff096759f2bf41f63193475b3 Mon Sep 17 00:00:00 2001 From: "msb@chromium.org" Date: Tue, 15 Nov 2011 23:54:41 +0000 Subject: 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 --- base/event_types.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'base') 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 #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 -- cgit v1.1