Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsListBoxBodyFrame.h File Reference
#include "nsCOMPtr.h"
#include "nsBoxFrame.h"
#include "nsIListBoxObject.h"
#include "nsIScrollbarMediator.h"
#include "nsIReflowCallback.h"
#include "nsPresContext.h"
#include "nsBoxLayoutState.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsListBoxBodyFrame

Functions

nsresult NS_NewListBoxBodyFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame, PRBool aIsRoot=PR_FALSE, nsIBoxLayout *aLayoutManager=nsnull)

Function Documentation

nsresult NS_NewListBoxBodyFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame,
PRBool  aIsRoot = PR_FALSE,
nsIBoxLayout aLayoutManager = nsnull 
)

Definition at line 1462 of file nsListBoxBodyFrame.cpp.

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

  *aNewFrame = it;
  return NS_OK;
  
}

Here is the caller graph for this function: