diff options
Diffstat (limited to 'base/message_pump_mac.h')
-rw-r--r-- | base/message_pump_mac.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/base/message_pump_mac.h b/base/message_pump_mac.h index 73a28e0..f7e9a83 100644 --- a/base/message_pump_mac.h +++ b/base/message_pump_mac.h @@ -128,6 +128,15 @@ class MessagePumpCFRunLoopBase : public MessagePump { // (weak) Delegate passed as an argument to the innermost Run call. Delegate* delegate_; + // "Delegateless" work flags are set when work is ready to be performed but + // must wait until a delegate is available to process it. This can happen + // when a MessagePumpCFRunLoopBase is instantiated and work arrives without + // any call to Run on the stack. The Run method will check for delegateless + // work on entry and redispatch it as needed once a delegate is available. + bool delegateless_work_; + bool delegateless_delayed_work_; + bool delegateless_idle_work_; + DISALLOW_COPY_AND_ASSIGN(MessagePumpCFRunLoopBase); }; |