Back to index

lightning-sunbird  0.9+nobinonly
Functions | Variables
nsGfxButtonControlFrame.cpp File Reference
#include "nsGfxButtonControlFrame.h"
#include "nsIButton.h"
#include "nsWidgetsCID.h"
#include "nsIFontMetrics.h"
#include "nsFormControlFrame.h"
#include "nsIFormControl.h"
#include "nsISupportsArray.h"
#include "nsINameSpaceManager.h"
#include "nsIServiceManager.h"
#include "nsIDOMNode.h"
#include "nsLayoutAtoms.h"
#include "nsReflowPath.h"
#include "nsAutoPtr.h"
#include "nsStyleSet.h"
#include "nsContentUtils.h"
#include "nsGUIEvent.h"
#include "nsNodeInfoManager.h"
#include "nsIDOMHTMLInputElement.h"

Go to the source code of this file.

Functions

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

Variables

const nscoord kSuggestedNotSet = -1

Function Documentation

nsresult NS_NewGfxButtonControlFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 71 of file nsGfxButtonControlFrame.cpp.

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

Here is the caller graph for this function:


Variable Documentation

Definition at line 62 of file nsGfxButtonControlFrame.cpp.