Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions | Variables
nsMsgContentPolicy.cpp File Reference
#include "nsMsgContentPolicy.h"
#include "nsIServiceManager.h"
#include "nsIDocShellTreeItem.h"
#include "nsIPrefService.h"
#include "nsIPrefBranch2.h"
#include "nsIURI.h"
#include "nsCOMPtr.h"
#include "nsCRT.h"
#include "nsIRDFService.h"
#include "nsIRDFResource.h"
#include "nsIMsgHeaderParser.h"
#include "nsIAbMDBDirectory.h"
#include "nsIAbMDBCard.h"
#include "nsIAbCard.h"
#include "nsIMsgMailNewsUrl.h"
#include "nsIMsgWindow.h"
#include "nsIMimeMiscStatus.h"
#include "nsIMsgMessageService.h"
#include "nsIMsgIncomingServer.h"
#include "nsIRssIncomingServer.h"
#include "nsIMsgHdr.h"
#include "nsMsgUtils.h"
#include "nsIMsgComposeService.h"
#include "nsIMsgCompose.h"
#include "nsMsgCompCID.h"
#include "nsIExternalProtocolService.h"
#include "nsCExternalHandlerService.h"
#include "nsNetUtil.h"
#include "nsICookie2.h"
#include "nsICookieManager2.h"
#include "nsIDOMElement.h"
#include "nsIDOMDocument.h"
#include "nsIDOMWindowInternal.h"
#include "nsIDocShell.h"
#include "nsIWebNavigation.h"
#include "nsIDocShellTreeNode.h"
#include "nsContentPolicyUtils.h"
#include "nsIDOMHTMLImageElement.h"

Go to the source code of this file.

Defines

#define kNoRemoteContentPolicy   0
#define kBlockRemoteContent   1
#define kAllowRemoteContent   2

Functions

 NS_IMPL_ISUPPORTS3 (nsMsgContentPolicy, nsIContentPolicy, nsIObserver, nsISupportsWeakReference) nsMsgContentPolicy

Variables

static const char kBlockRemoteImages [] = "mailnews.message_display.disable_remote_image"
static const char kAllowPlugins [] = "mailnews.message_display.allow.plugins"
static const char kTrustedDomains [] = "mail.trusteddomains"

Define Documentation

Definition at line 95 of file nsMsgContentPolicy.cpp.

Definition at line 94 of file nsMsgContentPolicy.cpp.

Definition at line 93 of file nsMsgContentPolicy.cpp.


Function Documentation

Definition at line 97 of file nsMsgContentPolicy.cpp.

{
  mAllowPlugins = PR_FALSE;
  mBlockRemoteImages = PR_TRUE;
}

Variable Documentation

const char kAllowPlugins[] = "mailnews.message_display.allow.plugins" [static]

Definition at line 86 of file nsMsgContentPolicy.cpp.

const char kBlockRemoteImages[] = "mailnews.message_display.disable_remote_image" [static]

Definition at line 85 of file nsMsgContentPolicy.cpp.

const char kTrustedDomains[] = "mail.trusteddomains" [static]

Definition at line 87 of file nsMsgContentPolicy.cpp.