Back to index

lightning-sunbird  0.9+nobinonly
Classes | Variables
nsAboutRedirector.cpp File Reference
#include "nsAboutProtocolHandler.h"
#include "nsAboutRedirector.h"
#include "nsNetUtil.h"
#include "plstr.h"
#include "nsIScriptSecurityManager.h"
#include "nsAboutProtocolUtils.h"

Go to the source code of this file.

Classes

struct  RedirEntry

Variables

static RedirEntry kRedirMap []
static const int kRedirTotal = NS_ARRAY_LENGTH(kRedirMap)

Class Documentation

struct RedirEntry

Definition at line 49 of file nsAboutRedirector.cpp.

Class Members
PRBool dropChromePrivs
const char * id
const char * url

Variable Documentation

RedirEntry kRedirMap[] [static]
Initial value:
 {
    { "credits", "http://www.mozilla.org/credits/", PR_TRUE },
    { "mozilla", "chrome://global/content/mozilla.xhtml", PR_TRUE },
    { "plugins", "chrome://global/content/plugins.html", PR_FALSE },
    { "config", "chrome://global/content/config.xul", PR_FALSE },
    { "logo", "chrome://global/content/logo.gif", PR_TRUE },
    { "buildconfig", "chrome://global/content/buildconfig.html", PR_TRUE },
    { "license", "chrome://global/content/license.html", PR_TRUE },
    { "licence", "chrome://global/content/license.html", PR_TRUE },
    { "about", "chrome://global/content/aboutAbout.html", PR_FALSE },
    { "neterror", "chrome://global/content/netError.xhtml", PR_TRUE }
}

Definition at line 62 of file nsAboutRedirector.cpp.

Definition at line 74 of file nsAboutRedirector.cpp.