Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions | Variables
nsSplitterFrame.cpp File Reference
#include "nsSplitterFrame.h"
#include "nsXULAtoms.h"
#include "nsHTMLAtoms.h"
#include "nsISupportsArray.h"
#include "nsIDOMElement.h"
#include "nsIDOMXULElement.h"
#include "nsIDOMDocument.h"
#include "nsPresContext.h"
#include "nsIDocument.h"
#include "nsINameSpaceManager.h"
#include "nsScrollbarButtonFrame.h"
#include "nsIDOMMouseListener.h"
#include "nsIDOMMouseMotionListener.h"
#include "nsIDOMEventReceiver.h"
#include "nsIView.h"
#include "nsIViewManager.h"
#include "nsIScrollableView.h"
#include "nsIDOMMouseEvent.h"
#include "nsIPresShell.h"
#include "nsFrameNavigator.h"
#include "nsHTMLParts.h"
#include "nsILookAndFeel.h"
#include "nsStyleContext.h"
#include "nsWidgetsCID.h"
#include "nsBoxLayoutState.h"
#include "nsIXBLService.h"
#include "nsIServiceManager.h"
#include "nsHTMLContainerFrame.h"
#include "nsINodeInfo.h"
#include "nsGUIEvent.h"
#include "nsAutoPtr.h"
#include "nsContentCID.h"
#include "nsStyleSet.h"

Go to the source code of this file.

Classes

class  nsSplitterInfo
class  nsSplitterFrameInner

Functions

nsresult NS_NewSplitterFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)
static nsIBox * GetChildBoxForContent (nsIBox *aParentBox, nsIContent *aContent)

Variables

PRInt32 realTimeDrag

Class Documentation

class nsSplitterInfo

Definition at line 84 of file nsSplitterFrame.cpp.

Collaboration diagram for nsSplitterInfo:
Class Members
nscoord changed
nsCOMPtr< nsIContent > childElem
nscoord current
PRInt32 flex
PRInt32 index
nscoord max
nscoord min

Function Documentation

static nsIBox* GetChildBoxForContent ( nsIBox *  aParentBox,
nsIContent aContent 
) [static]

Definition at line 1033 of file nsSplitterFrame.cpp.

{
  nsIBox* childBox = nsnull;
  aParentBox->GetChildBox(&childBox); 

  while (nsnull != childBox) {
    if (childBox->GetContent() == aContent) {
      return childBox;
    }
    childBox->GetNextBox(&childBox);
  }
  return nsnull;
}

Here is the caller graph for this function:

nsresult NS_NewSplitterFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 231 of file nsSplitterFrame.cpp.

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

  *aNewFrame = it;
  return NS_OK;
  
} // NS_NewSplitterFrame

Here is the caller graph for this function:


Variable Documentation

Definition at line 82 of file nsSplitterFrame.cpp.