diff options
Diffstat (limited to 'base/message_pump_x.h')
-rw-r--r-- | base/message_pump_x.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/base/message_pump_x.h b/base/message_pump_x.h index 62597a2..e6bb71c 100644 --- a/base/message_pump_x.h +++ b/base/message_pump_x.h @@ -45,6 +45,9 @@ class BASE_EXPORT MessagePumpX : public MessagePumpGlib { MessagePumpX(); virtual ~MessagePumpX(); + // Overridden from MessagePumpGlib: + virtual bool RunOnce(GMainContext* context, bool block) OVERRIDE; + // Returns default X Display. static Display* GetDefaultXDisplay(); @@ -54,10 +57,6 @@ class BASE_EXPORT MessagePumpX : public MessagePumpGlib { // Sets the default dispatcher to process native events. static void SetDefaultDispatcher(MessagePumpDispatcher* dispatcher); - // Internal function. Called by the glib source dispatch function. Processes - // all available X events. - gboolean DispatchXEvents(); - private: // Initializes the glib event source for X. void InitXSource(); |