Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions
nsMathMLmactionFrame.cpp File Reference
#include "nsCOMPtr.h"
#include "nsFrame.h"
#include "nsPresContext.h"
#include "nsUnitConversion.h"
#include "nsStyleContext.h"
#include "nsStyleConsts.h"
#include "nsINameSpaceManager.h"
#include "nsIRenderingContext.h"
#include "nsIFontMetrics.h"
#include "nsCSSRendering.h"
#include "prprf.h"
#include "nsIDocShellTreeItem.h"
#include "nsIDocShellTreeOwner.h"
#include "nsIWebBrowserChrome.h"
#include "nsIInterfaceRequestor.h"
#include "nsIInterfaceRequestorUtils.h"
#include "nsIDOMElement.h"
#include "nsIDOMEventReceiver.h"
#include "nsIDOMMouseListener.h"
#include "nsMathMLmactionFrame.h"
#include "nsAutoPtr.h"
#include "nsStyleSet.h"

Go to the source code of this file.

Defines

#define NS_MATHML_ACTION_TYPE_NONE   0
#define NS_MATHML_ACTION_TYPE_TOGGLE   1
#define NS_MATHML_ACTION_TYPE_STATUSLINE   2
#define NS_MATHML_ACTION_TYPE_TOOLTIP   3
#define NS_MATHML_ACTION_TYPE_RESTYLE   4

Functions

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

Define Documentation

Definition at line 69 of file nsMathMLmactionFrame.cpp.

Definition at line 73 of file nsMathMLmactionFrame.cpp.

Definition at line 71 of file nsMathMLmactionFrame.cpp.

Definition at line 70 of file nsMathMLmactionFrame.cpp.

Definition at line 72 of file nsMathMLmactionFrame.cpp.


Function Documentation

nsresult NS_NewMathMLmactionFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 80 of file nsMathMLmactionFrame.cpp.

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