XPCOM:nsIThreadManager: Difference between revisions

Line 154: Line 154:
   void onProcessNextEvent(in nsIThreadInternal thread,
   void onProcessNextEvent(in nsIThreadInternal thread,
                           in boolean mayWait);
                           in boolean mayWait);
};
=== nsIThreadEventFilter ===
[scriptable, uuid(...)]
interface nsIThreadEventFilter : nsISupports {
  /**
    * This method is called to determine whether or not an event may be accepted
    * by a "nested" event queue (see nsIThreadInternal::PushEventQueue).
    *
    * WARNING: This method must not make any calls on the thread object.
    */
  [notxpcom] boolean AcceptEvent(in nsIRunnable event);
  };
  };


272

edits