Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsDOMPopupBlockedEvent.cpp File Reference
#include "nsDOMPopupBlockedEvent.h"
#include "nsIURI.h"
#include "nsContentUtils.h"
#include "nsIWebNavigation.h"
#include "nsIInterfaceRequestorUtils.h"

Go to the source code of this file.

Functions

nsresult NS_NewDOMPopupBlockedEvent (nsIDOMEvent **aInstancePtrResult, nsPresContext *aPresContext, nsPopupBlockedEvent *aEvent)

Function Documentation

nsresult NS_NewDOMPopupBlockedEvent ( nsIDOMEvent **  aInstancePtrResult,
nsPresContext aPresContext,
nsPopupBlockedEvent aEvent 
)

Definition at line 205 of file nsDOMPopupBlockedEvent.cpp.

{
  nsDOMPopupBlockedEvent* it = new nsDOMPopupBlockedEvent(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: