Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions
nsIPrivateDOMEvent.h File Reference
#include "nsISupports.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsIPrivateDOMEvent

Defines

#define NS_IPRIVATEDOMEVENT_IID

Functions

nsresult NS_NewDOMEvent (nsIDOMEvent **aInstancePtrResult, nsPresContext *aPresContext, nsEvent *aEvent)
nsresult NS_NewDOMUIEvent (nsIDOMEvent **aInstancePtrResult, nsPresContext *aPresContext, class nsGUIEvent *aEvent)
nsresult NS_NewDOMMouseEvent (nsIDOMEvent **aInstancePtrResult, nsPresContext *aPresContext, class nsInputEvent *aEvent)
nsresult NS_NewDOMKeyboardEvent (nsIDOMEvent **aInstancePtrResult, nsPresContext *aPresContext, class nsKeyEvent *aEvent)
nsresult NS_NewDOMMutationEvent (nsIDOMEvent **aResult, nsPresContext *aPresContext, class nsMutationEvent *aEvent)
nsresult NS_NewDOMPopupBlockedEvent (nsIDOMEvent **aResult, nsPresContext *aPresContext, class nsPopupBlockedEvent *aEvent)
nsresult NS_NewDOMTextEvent (nsIDOMEvent **aResult, nsPresContext *aPresContext, class nsTextEvent *aEvent)
nsresult NS_NewDOMBeforeUnloadEvent (nsIDOMEvent **aResult, nsPresContext *aPresContext, class nsBeforePageUnloadEvent *aEvent)
nsresult NS_NewDOMPageTransitionEvent (nsIDOMEvent **aResult, nsPresContext *aPresContext, class nsPageTransitionEvent *aEvent)
nsresult NS_NewDOMXULCommandEvent (nsIDOMEvent **aResult, nsPresContext *aPresContext, class nsXULCommandEvent *aEvent)

Define Documentation

Value:
{ /* 25e6626c-8e54-409b-87b5-2beceaac399e */ \
0x25e6626c, 0x8e54, 0x409b, \
{0x87, 0xb5, 0x2b, 0xec, 0xea, 0xac, 0x39, 0x9e} }

Definition at line 48 of file nsIPrivateDOMEvent.h.


Function Documentation

nsresult NS_NewDOMBeforeUnloadEvent ( nsIDOMEvent **  aResult,
nsPresContext aPresContext,
class nsBeforePageUnloadEvent aEvent 
)

Definition at line 88 of file nsDOMBeforeUnloadEvent.cpp.

{
  nsDOMBeforeUnloadEvent* it =
    new nsDOMBeforeUnloadEvent(aPresContext, aEvent);
  if (!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:

nsresult NS_NewDOMEvent ( nsIDOMEvent **  aInstancePtrResult,
nsPresContext aPresContext,
nsEvent aEvent 
)

Definition at line 1308 of file nsDOMEvent.cpp.

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

nsresult NS_NewDOMKeyboardEvent ( nsIDOMEvent **  aInstancePtrResult,
nsPresContext aPresContext,
class nsKeyEvent aEvent 
)

Definition at line 190 of file nsDOMKeyboardEvent.cpp.

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

nsresult NS_NewDOMMouseEvent ( nsIDOMEvent **  aInstancePtrResult,
nsPresContext aPresContext,
class nsInputEvent aEvent 
)

Definition at line 284 of file nsDOMMouseEvent.cpp.

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

nsresult NS_NewDOMMutationEvent ( nsIDOMEvent **  aResult,
nsPresContext aPresContext,
class nsMutationEvent aEvent 
)

Definition at line 146 of file nsDOMMutationEvent.cpp.

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

nsresult NS_NewDOMPageTransitionEvent ( nsIDOMEvent **  aResult,
nsPresContext aPresContext,
class nsPageTransitionEvent aEvent 
)

Definition at line 85 of file nsDOMPageTransitionEvent.cpp.

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

nsresult NS_NewDOMPopupBlockedEvent ( nsIDOMEvent **  aResult,
nsPresContext aPresContext,
class 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:

nsresult NS_NewDOMTextEvent ( nsIDOMEvent **  aResult,
nsPresContext aPresContext,
class nsTextEvent aEvent 
)

Definition at line 131 of file nsDOMTextEvent.cpp.

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

nsresult NS_NewDOMUIEvent ( nsIDOMEvent **  aInstancePtrResult,
nsPresContext aPresContext,
class 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:

nsresult NS_NewDOMXULCommandEvent ( nsIDOMEvent **  aResult,
nsPresContext aPresContext,
class nsXULCommandEvent aEvent 
)

Definition at line 138 of file nsDOMXULCommandEvent.cpp.

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