Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Protected Attributes | Static Protected Attributes
nsNavigator Class Reference

#include <nsGlobalWindow.h>

Inheritance diagram for nsNavigator:
Inheritance graph
[legend]
Collaboration diagram for nsNavigator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsNavigator (nsIDocShell *aDocShell)
virtual ~nsNavigator ()
NS_DECL_ISUPPORTS
NS_DECL_NSIDOMNAVIGATOR
NS_DECL_NSIDOMNAVIGATOR_MOZILLA_1_8_BRANCH
NS_DECL_NSIDOMJSNAVIGATOR
NS_DECL_NSIDOMCLIENTINFORMATION
void 
SetDocShell (nsIDocShell *aDocShell)
nsIDocShellGetDocShell ()
void LoadingNewDocument ()
nsresult RefreshMIMEArray ()
boolean javaEnabled ()
boolean taintEnabled ()
void preference ()
void registerContentHandler (in DOMString mimeType, in DOMString uri, in DOMString title)
 Web Applications 1.0 Browser State: registerContentHandler Allows web services to register themselves as handlers for certain content types.
void registerProtocolHandler (in DOMString protocol, in DOMString uri, in DOMString title)

Public Attributes

readonly attribute DOMString appCodeName
readonly attribute DOMString appName
readonly attribute DOMString appVersion
readonly attribute DOMString language
readonly attribute
nsIDOMMimeTypeArray 
mimeTypes
readonly attribute DOMString platform
readonly attribute DOMString oscpu
readonly attribute DOMString vendor
readonly attribute DOMString vendorSub
readonly attribute DOMString product
readonly attribute DOMString productSub
readonly attribute
nsIDOMPluginArray 
plugins
readonly attribute DOMString securityPolicy
readonly attribute DOMString userAgent
readonly attribute boolean cookieEnabled
readonly attribute boolean onLine
readonly attribute DOMString buildID

Protected Attributes

nsRefPtr< nsMimeTypeArraymMimeTypes
nsRefPtr< nsPluginArraymPlugins
nsIDocShellmDocShell

Static Protected Attributes

static jsval sPrefInternal_id = JSVAL_VOID

Detailed Description

Definition at line 691 of file nsGlobalWindow.h.


Constructor & Destructor Documentation

Definition at line 7915 of file nsGlobalWindow.cpp.

  : mDocShell(aDocShell)
{
}

Definition at line 7920 of file nsGlobalWindow.cpp.


Member Function Documentation

Definition at line 707 of file nsGlobalWindow.h.

  {
    return mDocShell;
  }

Here is the caller graph for this function:

Definition at line 8462 of file nsGlobalWindow.cpp.

{
  // Release these so that they will be recreated for the
  // new document (if requested).  The plugins or mime types
  // arrays may have changed.  See bug 150087.
  mMimeTypes = nsnull;
  mPlugins = nsnull;
}

Definition at line 8472 of file nsGlobalWindow.cpp.

{
  nsresult rv = NS_OK;
  if (mMimeTypes)
    rv = mMimeTypes->Refresh();
  return rv;
}
void nsIDOMClientInformation::registerContentHandler ( in DOMString  mimeType,
in DOMString  uri,
in DOMString  title 
) [inherited]

Web Applications 1.0 Browser State: registerContentHandler Allows web services to register themselves as handlers for certain content types.

http://whatwg.org/specs/web-apps/current-work/

void nsIDOMClientInformation::registerProtocolHandler ( in DOMString  protocol,
in DOMString  uri,
in DOMString  title 
) [inherited]

Definition at line 7946 of file nsGlobalWindow.cpp.

{
  mDocShell = aDocShell;
  if (mPlugins)
    mPlugins->SetDocShell(aDocShell);
}

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

readonly attribute DOMString nsIDOMNavigator::appCodeName [inherited]

Definition at line 45 of file nsIDOMNavigator.idl.

readonly attribute DOMString nsIDOMNavigator::appName [inherited]

Definition at line 46 of file nsIDOMNavigator.idl.

readonly attribute DOMString nsIDOMNavigator::appVersion [inherited]

Definition at line 47 of file nsIDOMNavigator.idl.

Definition at line 84 of file nsIDOMNavigator.idl.

Definition at line 59 of file nsIDOMNavigator.idl.

readonly attribute DOMString nsIDOMNavigator::language [inherited]

Definition at line 48 of file nsIDOMNavigator.idl.

Definition at line 718 of file nsGlobalWindow.h.

Definition at line 49 of file nsIDOMNavigator.idl.

Definition at line 716 of file nsGlobalWindow.h.

Definition at line 717 of file nsGlobalWindow.h.

Definition at line 60 of file nsIDOMNavigator.idl.

readonly attribute DOMString nsIDOMNavigator::oscpu [inherited]

Definition at line 51 of file nsIDOMNavigator.idl.

readonly attribute DOMString nsIDOMNavigator::platform [inherited]

Definition at line 50 of file nsIDOMNavigator.idl.

Definition at line 56 of file nsIDOMNavigator.idl.

readonly attribute DOMString nsIDOMNavigator::product [inherited]

Definition at line 54 of file nsIDOMNavigator.idl.

readonly attribute DOMString nsIDOMNavigator::productSub [inherited]

Definition at line 55 of file nsIDOMNavigator.idl.

readonly attribute DOMString nsIDOMNavigator::securityPolicy [inherited]

Definition at line 57 of file nsIDOMNavigator.idl.

Definition at line 720 of file nsGlobalWindow.h.

readonly attribute DOMString nsIDOMNavigator::userAgent [inherited]

Definition at line 58 of file nsIDOMNavigator.idl.

readonly attribute DOMString nsIDOMNavigator::vendor [inherited]

Definition at line 52 of file nsIDOMNavigator.idl.

readonly attribute DOMString nsIDOMNavigator::vendorSub [inherited]

Definition at line 53 of file nsIDOMNavigator.idl.


The documentation for this class was generated from the following files: