Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Functions
nsGlobalWindow.h File Reference
#include "nsCOMPtr.h"
#include "nsAutoPtr.h"
#include "nsWeakReference.h"
#include "nsHashtable.h"
#include "nsDataHashtable.h"
#include "nsDOMWindowList.h"
#include "nsIBaseWindow.h"
#include "nsIBrowserDOMWindow.h"
#include "nsIChromeEventHandler.h"
#include "nsIControllers.h"
#include "nsIObserver.h"
#include "nsIDocShellTreeOwner.h"
#include "nsIDocShellTreeItem.h"
#include "nsIDOMClientInformation.h"
#include "nsIDOMViewCSS.h"
#include "nsIDOMEventReceiver.h"
#include "nsIDOM3EventTarget.h"
#include "nsIDOMNSEventTarget.h"
#include "nsIDOMNavigator.h"
#include "nsIDOMNSLocation.h"
#include "nsIDOMWindowInternal.h"
#include "nsIInterfaceRequestor.h"
#include "nsIInterfaceRequestorUtils.h"
#include "nsIDOMJSWindow.h"
#include "nsIDOMChromeWindow.h"
#include "nsIScriptGlobalObject.h"
#include "nsIScriptContext.h"
#include "nsIScriptObjectPrincipal.h"
#include "nsITimer.h"
#include "nsIWebBrowserChrome.h"
#include "nsPIDOMWindow.h"
#include "nsIScriptSecurityManager.h"
#include "nsIEventListenerManager.h"
#include "nsIDOMDocument.h"
#include "nsIDOMCrypto.h"
#include "nsIDOMPkcs11.h"
#include "nsIPrincipal.h"
#include "nsPluginArray.h"
#include "nsMimeTypeArray.h"
#include "nsIXPCScriptable.h"
#include "nsPoint.h"
#include "nsSize.h"
#include "mozFlushType.h"
#include "prclist.h"
#include "nsIDOMStorage.h"
#include "nsIDOMStorageList.h"
#include "nsIDOMStorageWindow.h"
#include "nsIDOMGCParticipant.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsGlobalWindow
class  nsGlobalChromeWindow
struct  nsTimeout
class  nsNavigator
class  nsLocation

Defines

#define DEFAULT_HOME_PAGE   "www.mozilla.org"
#define PREF_BROWSER_STARTUP_HOMEPAGE   "browser.startup.homepage"

Typedefs

typedef struct nsTimeout

Functions

nsresult NS_NewScriptGlobalObject (PRBool aIsChrome, nsIScriptGlobalObject **aResult)

Define Documentation

#define DEFAULT_HOME_PAGE   "www.mozilla.org"

Definition at line 100 of file nsGlobalWindow.h.

#define PREF_BROWSER_STARTUP_HOMEPAGE   "browser.startup.homepage"

Definition at line 101 of file nsGlobalWindow.h.


Typedef Documentation

typedef struct nsTimeout

Definition at line 110 of file nsGlobalWindow.h.


Function Documentation

Definition at line 7893 of file nsGlobalWindow.cpp.

{
  *aResult = nsnull;

  nsGlobalWindow *global;

  if (aIsChrome) {
    global = new nsGlobalChromeWindow(nsnull);
  } else {
    global = new nsGlobalWindow(nsnull);
  }

  NS_ENSURE_TRUE(global, NS_ERROR_OUT_OF_MEMORY);

  return CallQueryInterface(NS_STATIC_CAST(nsIScriptGlobalObject *, global),
                            aResult);
}

Here is the call graph for this function:

Here is the caller graph for this function: