Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsWindowRoot.cpp File Reference
#include "nsCOMPtr.h"
#include "nsWindowRoot.h"
#include "nsIDOMWindow.h"
#include "nsIDOMDocument.h"
#include "nsIDocument.h"
#include "nsIEventListenerManager.h"
#include "nsIPresShell.h"
#include "nsPresContext.h"
#include "nsLayoutCID.h"
#include "nsContentCID.h"
#include "nsIEventStateManager.h"
#include "nsIPrivateDOMEvent.h"
#include "nsIDOMWindowInternal.h"
#include "nsFocusController.h"
#include "nsString.h"
#include "nsDOMClassInfo.h"

Go to the source code of this file.

Functions

static NS_DEFINE_CID (kEventListenerManagerCID, NS_EVENTLISTENERMANAGER_CID)
 NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO (WindowRoot) NS_INTERFACE_MAP_END NS_IMETHODIMP nsWindowRoot
nsresult NS_NewWindowRoot (nsIDOMWindow *aWindow, nsIChromeEventHandler **aResult)

Function Documentation

static NS_DEFINE_CID ( kEventListenerManagerCID  ,
NS_EVENTLISTENERMANAGER_CID   
) [static]

Definition at line 89 of file nsWindowRoot.cpp.

{
  return AddGroupedEventListener(aType, aListener, aUseCapture, nsnull);
}

Definition at line 323 of file nsWindowRoot.cpp.

{
  *aResult = new nsWindowRoot(aWindow);
  if (!*aResult)
    return NS_ERROR_OUT_OF_MEMORY;
  NS_ADDREF(*aResult);
  return NS_OK;
}

Here is the call graph for this function:

Here is the caller graph for this function: