Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions
nsBoxFrame.cpp File Reference
#include "nsBoxLayoutState.h"
#include "nsBoxFrame.h"
#include "nsStyleContext.h"
#include "nsPresContext.h"
#include "nsCOMPtr.h"
#include "nsUnitConversion.h"
#include "nsINameSpaceManager.h"
#include "nsHTMLAtoms.h"
#include "nsXULAtoms.h"
#include "nsIContent.h"
#include "nsSpaceManager.h"
#include "nsHTMLParts.h"
#include "nsIViewManager.h"
#include "nsIView.h"
#include "nsIPresShell.h"
#include "nsFrameNavigator.h"
#include "nsCSSRendering.h"
#include "nsIServiceManager.h"
#include "nsIBoxLayout.h"
#include "nsSprocketLayout.h"
#include "nsIDocument.h"
#include "nsIBindingManager.h"
#include "nsIScrollableFrame.h"
#include "nsWidgetsCID.h"
#include "nsLayoutAtoms.h"
#include "nsCSSAnonBoxes.h"
#include "nsIScrollableView.h"
#include "nsHTMLContainerFrame.h"
#include "nsIWidget.h"
#include "nsIEventStateManager.h"
#include "nsIDOMDocument.h"
#include "nsIDOMElement.h"
#include "nsITheme.h"
#include "nsTransform2D.h"
#include "nsIEventListenerManager.h"
#include "nsIDOMEvent.h"
#include "nsIPrivateDOMEvent.h"
#include "nsContentUtils.h"
#include "nsIURI.h"

Go to the source code of this file.

Defines

#define DEBUG_SPRING_SIZE   8
#define DEBUG_BORDER_SIZE   2
#define COIL_SIZE   8

Functions

static NS_DEFINE_IID (kWidgetCID, NS_CHILD_CID)
nsresult NS_NewBoxFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame, PRBool aIsRoot, nsIBoxLayout *aLayoutManager)

Define Documentation

#define COIL_SIZE   8

Definition at line 118 of file nsBoxFrame.cpp.

Definition at line 117 of file nsBoxFrame.cpp.

Definition at line 116 of file nsBoxFrame.cpp.


Function Documentation

static NS_DEFINE_IID ( kWidgetCID  ,
NS_CHILD_CID   
) [static]
nsresult NS_NewBoxFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame,
PRBool  aIsRoot,
nsIBoxLayout aLayoutManager 
)

Definition at line 132 of file nsBoxFrame.cpp.

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

  if (nsnull == it)
    return NS_ERROR_OUT_OF_MEMORY;

  *aNewFrame = it;

  return NS_OK;
  
} // NS_NewBoxFrame

Here is the caller graph for this function: