Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions
nsTableColGroupFrame.cpp File Reference
#include "nsTableColGroupFrame.h"
#include "nsTableColFrame.h"
#include "nsTableFrame.h"
#include "nsIDOMHTMLTableColElement.h"
#include "nsReflowPath.h"
#include "nsStyleContext.h"
#include "nsStyleConsts.h"
#include "nsPresContext.h"
#include "nsHTMLParts.h"
#include "nsHTMLAtoms.h"
#include "nsCOMPtr.h"
#include "nsCSSRendering.h"
#include "nsIPresShell.h"
#include "nsLayoutAtoms.h"

Go to the source code of this file.

Defines

#define COL_GROUP_TYPE_BITS   0xC0000000
#define COL_GROUP_TYPE_OFFSET   30

Functions

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

Define Documentation

#define COL_GROUP_TYPE_BITS   0xC0000000

Definition at line 52 of file nsTableColGroupFrame.cpp.

Definition at line 53 of file nsTableColGroupFrame.cpp.


Function Documentation

nsresult NS_NewTableColGroupFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)
Parameters:
aResultthe new object is returned in this out-param
Returns:
NS_OK if the frame was properly allocated, otherwise an error code

Definition at line 586 of file nsTableColGroupFrame.cpp.

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

Here is the caller graph for this function: