summaryrefslogtreecommitdiffstats
path: root/base/message_pump_wayland.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/message_pump_wayland.h')
-rw-r--r--base/message_pump_wayland.h22
1 files changed, 1 insertions, 21 deletions
diff --git a/base/message_pump_wayland.h b/base/message_pump_wayland.h
index 706914a..89c9b8f 100644
--- a/base/message_pump_wayland.h
+++ b/base/message_pump_wayland.h
@@ -10,10 +10,6 @@
#include "base/message_pump_glib.h"
#include "base/message_pump_observer.h"
-typedef struct _GMainContext GMainContext;
-typedef struct _GPollFD GPollFD;
-typedef struct _GSource GSource;
-
namespace base {
namespace wayland {
@@ -41,23 +37,7 @@ class MessagePumpDispatcher {
virtual ~MessagePumpDispatcher() {}
};
-class BASE_EXPORT MessagePumpWayland : public MessagePumpGlib {
-
- public:
- MessagePumpWayland();
- virtual ~MessagePumpWayland();
-
- // Overridden from MessagePumpGlib
- virtual bool RunOnce(GMainContext* context, bool block) OVERRIDE;
- private:
-
- // This is a GLib structure that we can add event sources to.
- GMainContext* context_;
-
- DISALLOW_COPY_AND_ASSIGN(MessagePumpWayland);
-};
-
-typedef MessagePumpWayland MessagePumpForUI;
+typedef MessagePumpGlib MessagePumpForUI;
} // namespace base