Back to index

lightning-sunbird  0.9+nobinonly
Classes | Typedefs | Functions
nsXTFXULDisplayFrame.cpp File Reference
#include "nsBoxFrame.h"
#include "nsIDOMElement.h"
#include "nsIXTFVisualWrapperPrivate.h"
#include "nsIAnonymousContentCreator.h"
#include "nsXTFFrameUtils.h"

Go to the source code of this file.

Classes

class  nsXTFXULDisplayFrame

Typedefs

typedef nsBoxFrame nsXTFXULDisplayFrameBase

Functions

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

Typedef Documentation

Definition at line 45 of file nsXTFXULDisplayFrame.cpp.


Function Documentation

nsresult NS_NewXTFXULDisplayFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 85 of file nsXTFXULDisplayFrame.cpp.

{
  nsXTFXULDisplayFrame* it = new (aPresShell) nsXTFXULDisplayFrame(aPresShell);
  if (nsnull == it)
    return NS_ERROR_OUT_OF_MEMORY;

  *aNewFrame = it;

  return NS_OK;
}