Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsDOMUIEvent.cpp File Reference
#include "nsCOMPtr.h"
#include "nsDOMUIEvent.h"
#include "nsIPresShell.h"
#include "nsIInterfaceRequestorUtils.h"
#include "nsIDOMWindowInternal.h"
#include "nsIDOMNode.h"
#include "nsIContent.h"
#include "nsContentUtils.h"
#include "nsIViewManager.h"
#include "nsIScrollableView.h"
#include "nsIWidget.h"
#include "nsIEventStateManager.h"
#include "nsIFrame.h"

Go to the source code of this file.

Functions

nsresult NS_NewDOMUIEvent (nsIDOMEvent **aInstancePtrResult, nsPresContext *aPresContext, nsGUIEvent *aEvent)

Function Documentation

nsresult NS_NewDOMUIEvent ( nsIDOMEvent **  aInstancePtrResult,
nsPresContext aPresContext,
nsGUIEvent aEvent 
)

Definition at line 518 of file nsDOMUIEvent.cpp.

{
  nsDOMUIEvent* it = new nsDOMUIEvent(aPresContext, aEvent);
  if (nsnull == it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }

  return CallQueryInterface(it, aInstancePtrResult);
}

Here is the call graph for this function:

Here is the caller graph for this function: