Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsGfxCheckboxControlFrame.cpp File Reference
#include "nsGfxCheckboxControlFrame.h"
#include "nsICheckButton.h"
#include "nsHTMLAtoms.h"
#include "nsHTMLParts.h"
#include "nsIFormControl.h"
#include "nsIContent.h"
#include "nsIComponentManager.h"
#include "nsIPresShell.h"
#include "nsIDocument.h"
#include "nsCSSRendering.h"
#include "nsIServiceManager.h"
#include "nsIDOMNode.h"
#include "nsIDOMHTMLInputElement.h"
#include "nsITheme.h"
#include "imgIRequest.h"

Go to the source code of this file.

Functions

nsresult NS_NewGfxCheckboxControlFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)

Function Documentation

nsresult NS_NewGfxCheckboxControlFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 61 of file nsGfxCheckboxControlFrame.cpp.

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

Here is the caller graph for this function: