mozilla::browser Namespace Reference

Classes

struct  RedirEntry
 
class  AboutRedirector
 

Functions

static nsCAutoString GetAboutModuleName (nsIURI *aURI)
 

Variables

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

Function Documentation

static nsCAutoString mozilla::browser::GetAboutModuleName ( nsIURI *  aURI)
static

Definition at line 102 of file AboutRedirector.cpp.

Variable Documentation

RedirEntry mozilla::browser::kRedirMap[]
static
Initial value:
= {
{ "certerror", "chrome://browser/content/certerror/aboutCertError.xhtml",
nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
nsIAboutModule::ALLOW_SCRIPT },
{ "feeds", "chrome://browser/content/feeds/subscribe.xhtml",
nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
nsIAboutModule::ALLOW_SCRIPT },
{ "privatebrowsing", "chrome://browser/content/aboutPrivateBrowsing.xhtml",
nsIAboutModule::ALLOW_SCRIPT },
{ "rights",
"chrome://global/content/aboutRights-unbranded.xhtml",
nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
nsIAboutModule::ALLOW_SCRIPT },
{ "robots", "chrome://browser/content/aboutRobots.xhtml",
nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
nsIAboutModule::ALLOW_SCRIPT },
{ "sessionrestore", "chrome://browser/content/aboutSessionRestore.xhtml",
nsIAboutModule::ALLOW_SCRIPT },
{ "support", "chrome://browser/content/aboutSupport.xhtml",
nsIAboutModule::ALLOW_SCRIPT },
}

Definition at line 69 of file AboutRedirector.cpp.

const int mozilla::browser::kRedirTotal = NS_ARRAY_LENGTH(kRedirMap)
static

Definition at line 99 of file AboutRedirector.cpp.