Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions
nsListBoxBodyFrame.cpp File Reference
#include "nsListBoxBodyFrame.h"
#include "nsListBoxLayout.h"
#include "nsCOMPtr.h"
#include "nsGridRowGroupLayout.h"
#include "nsISupportsArray.h"
#include "nsIServiceManager.h"
#include "nsXULAtoms.h"
#include "nsHTMLAtoms.h"
#include "nsIContent.h"
#include "nsITextContent.h"
#include "nsINameSpaceManager.h"
#include "nsIDocument.h"
#include "nsIBindingManager.h"
#include "nsIDOMEventReceiver.h"
#include "nsIDOMMouseEvent.h"
#include "nsIDOMElement.h"
#include "nsIDOMNodeList.h"
#include "nsCSSFrameConstructor.h"
#include "nsIScrollableFrame.h"
#include "nsIScrollbarFrame.h"
#include "nsIScrollableView.h"
#include "nsStyleContext.h"
#include "nsIRenderingContext.h"
#include "nsIDeviceContext.h"
#include "nsIFontMetrics.h"
#include "nsITimer.h"
#include "nsAutoPtr.h"
#include "nsStyleSet.h"
#include "nsIDOMNSDocument.h"
#include "nsPIBoxObject.h"
#include "nsINodeInfo.h"
#include "nsLayoutUtils.h"
#include "nsPIListBoxObject.h"

Go to the source code of this file.

Classes

class  nsListScrollSmoother

Defines

#define USER_TIME_THRESHOLD   150000
#define TIME_PER_ROW_INITAL   50000
#define SMOOTH_INTERVAL   100

Functions

nsresult NS_NewListBoxBodyFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame, PRBool aIsRoot, nsIBoxLayout *aLayoutManager)

Define Documentation

Definition at line 100 of file nsListBoxBodyFrame.cpp.

Definition at line 96 of file nsListBoxBodyFrame.cpp.

Definition at line 92 of file nsListBoxBodyFrame.cpp.


Function Documentation

nsresult NS_NewListBoxBodyFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame,
PRBool  aIsRoot,
nsIBoxLayout aLayoutManager 
)

Definition at line 1462 of file nsListBoxBodyFrame.cpp.

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

  *aNewFrame = it;
  return NS_OK;
  
}

Here is the caller graph for this function: