text: Back to index
  nsMenuTimerMediator is a wrapper around an nsMenuFrame which can be safely passed to timers. More...
  #include <nsMenuFrame.h>
  nsMenuTimerMediator is a wrapper around an nsMenuFrame which can be safely passed to timers.
  The class is reference counted unlike the underlying nsMenuFrame, so that it will exist as long as the timer holds a reference to it. The callback is delegated to the contained nsMenuFrame as long as the contained nsMenuFrame has not been destroyed.
  Definition at line 78 of file nsMenuFrame.h.
  Constructs a wrapper around an nsMenuFrame.
  Definition at line 2306 of file nsMenuFrame.cpp.
  : mFrame(aFrame) { NS_ASSERTION(mFrame, "Must have frame"); }
  Definition at line 2312 of file nsMenuFrame.cpp.
  { }
  Clear the pointer to the contained nsMenuFrame.
  This should be called when the contained nsMenuFrame is destroyed.
  Definition at line 2333 of file nsMenuFrame.cpp.
  Definition at line 92 of file nsMenuFrame.h.