Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsLegendFrame.cpp File Reference
#include "nsLegendFrame.h"
#include "nsIDOMNode.h"
#include "nsIDOMHTMLLegendElement.h"
#include "nsCSSRendering.h"
#include "nsIContent.h"
#include "nsIFrame.h"
#include "nsISupports.h"
#include "nsIAtom.h"
#include "nsGenericHTMLElement.h"
#include "nsHTMLParts.h"
#include "nsHTMLAtoms.h"
#include "nsLayoutAtoms.h"
#include "nsStyleConsts.h"
#include "nsFont.h"
#include "nsFormControlFrame.h"

Go to the source code of this file.

Functions

static NS_DEFINE_IID (kLegendFrameCID, NS_LEGEND_FRAME_CID)
nsresult NS_NewLegendFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)

Function Documentation

static NS_DEFINE_IID ( kLegendFrameCID  ,
NS_LEGEND_FRAME_CID   
) [static]
nsresult NS_NewLegendFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 59 of file nsLegendFrame.cpp.

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

Here is the caller graph for this function: