Make --disable-xul work (bug 69995). We build enough XUL to support

scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree.  r=bzbarsky, sr=alecf.


git-svn-id: svn://10.0.0.236/trunk@141016 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bryner%netscape.com
2003-04-11 00:56:27 +00:00
parent 38ba53b615
commit 0c66a2052e
103 changed files with 491 additions and 534 deletions

View File

@@ -39,7 +39,9 @@
#include "nsNSSCertificateDB.h"
#include "nsNSSCertCache.h"
#include "nsCMS.h"
#ifdef MOZ_XUL
#include "nsCertTree.h"
#endif
#include "nsCrypto.h"
//For the NS_CRYPTO_CONTRACTID define
#include "nsDOMCID.h"
@@ -151,7 +153,9 @@ NS_NSS_GENERIC_FACTORY_CONSTRUCTOR(PR_FALSE, nsPKCS11ModuleDB)
NS_NSS_GENERIC_FACTORY_CONSTRUCTOR_INIT(PR_FALSE, PSMContentListener, init)
NS_NSS_GENERIC_FACTORY_CONSTRUCTOR(PR_FALSE, nsNSSCertificateDB)
NS_NSS_GENERIC_FACTORY_CONSTRUCTOR(PR_FALSE, nsNSSCertCache)
#ifdef MOZ_XUL
NS_NSS_GENERIC_FACTORY_CONSTRUCTOR(PR_FALSE, nsCertTree)
#endif
NS_NSS_GENERIC_FACTORY_CONSTRUCTOR(PR_FALSE, nsCrypto)
NS_NSS_GENERIC_FACTORY_CONSTRUCTOR(PR_FALSE, nsPkcs11)
NS_NSS_GENERIC_FACTORY_CONSTRUCTOR(PR_FALSE, nsCMSSecureMessage)
@@ -284,14 +288,14 @@ static const nsModuleComponentInfo components[] =
NS_FORMPROCESSOR_CONTRACTID,
nsKeygenFormProcessor::Create
},
#ifdef MOZ_XUL
{
"Certificate Tree",
NS_CERTTREE_CID,
NS_CERTTREE_CONTRACTID,
nsCertTreeConstructor
},
#endif
{
NS_PKCS11_CLASSNAME,
NS_PKCS11_CID,