Back to index

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

Go to the source code of this file.

Classes

class  nsTreeColFrame

Functions

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

Function Documentation

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

Definition at line 62 of file nsTreeColFrame.cpp.

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

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

Here is the caller graph for this function: