Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsPopupSetFrame.h File Reference
#include "prtypes.h"
#include "nsIAtom.h"
#include "nsCOMPtr.h"
#include "nsIPopupSetFrame.h"
#include "nsBoxFrame.h"
#include "nsFrameList.h"
#include "nsIMenuParent.h"
#include "nsITimer.h"
#include "nsISupportsArray.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nsPopupFrameList
class  nsPopupSetFrame

Functions

nsresult NS_NewPopupSetFrame (nsIPresShell *aPresShell, nsIFrame **aResult)

Function Documentation

nsresult NS_NewPopupSetFrame ( nsIPresShell aPresShell,
nsIFrame **  aResult 
)

Definition at line 117 of file nsPopupSetFrame.cpp.

{
  NS_PRECONDITION(aNewFrame, "null OUT ptr");
  if (nsnull == aNewFrame) {
    return NS_ERROR_NULL_POINTER;
  }
  nsPopupSetFrame* it = new (aPresShell) nsPopupSetFrame (aPresShell);
  if ( !it )
    return NS_ERROR_OUT_OF_MEMORY;
  *aNewFrame = it;
  return NS_OK;
}

Here is the caller graph for this function: