Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsDeckFrame.cpp File Reference
#include "nsDeckFrame.h"
#include "nsStyleContext.h"
#include "nsPresContext.h"
#include "nsIContent.h"
#include "nsCOMPtr.h"
#include "nsUnitConversion.h"
#include "nsINameSpaceManager.h"
#include "nsXULAtoms.h"
#include "nsHTMLParts.h"
#include "nsIPresShell.h"
#include "nsCSSRendering.h"
#include "nsIViewManager.h"
#include "nsBoxLayoutState.h"
#include "nsStackLayout.h"

Go to the source code of this file.

Functions

nsresult NS_NewDeckFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame, nsIBoxLayout *aLayoutManager)

Function Documentation

nsresult NS_NewDeckFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame,
nsIBoxLayout aLayoutManager 
)

Definition at line 61 of file nsDeckFrame.cpp.

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

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

Here is the caller graph for this function: