Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsListItemFrame.h File Reference
#include "nsBoxFrame.h"
#include "nsGridRowLeafFrame.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsListItemFrame

Functions

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

Function Documentation

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

Definition at line 104 of file nsListItemFrame.cpp.

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

  *aNewFrame = it;
  return NS_OK;
  
} // NS_NewListItemFrame

Here is the caller graph for this function: