diff options
Diffstat (limited to 'base/message_loop.cc')
-rw-r--r-- | base/message_loop.cc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/base/message_loop.cc b/base/message_loop.cc index c7efe32..ca85d6a 100644 --- a/base/message_loop.cc +++ b/base/message_loop.cc @@ -147,13 +147,22 @@ MessageLoop::MessageLoop(Type type) #elif defined(OS_MACOSX) #define MESSAGE_PUMP_UI base::MessagePumpMac::Create() #define MESSAGE_PUMP_IO new base::MessagePumpLibevent() +#elif defined(OS_ANDROID) +#define MESSAGE_PUMP_UI new base::MessagePumpForUI() +#define MESSAGE_PUMP_IO new base::MessagePumpLibevent() +#elif defined(USE_WAYLAND) +#define MESSAGE_PUMP_UI new base::MessagePumpWayland() +#define MESSAGE_PUMP_IO new base::MessagePumpLibevent() +#elif defined(USE_AURA) +#define MESSAGE_PUMP_UI new base::MessagePumpX() +#define MESSAGE_PUMP_IO new base::MessagePumpLibevent() #elif defined(OS_NACL) // Currently NaCl doesn't have a UI or an IO MessageLoop. // TODO(abarth): Figure out if we need these. #define MESSAGE_PUMP_UI NULL #define MESSAGE_PUMP_IO NULL #elif defined(OS_POSIX) // POSIX but not MACOSX. -#define MESSAGE_PUMP_UI new base::MessagePumpForUI() +#define MESSAGE_PUMP_UI new base::MessagePumpGtk() #define MESSAGE_PUMP_IO new base::MessagePumpLibevent() #else #error Not implemented |