зеркало из https://github.com/mozilla/gecko-dev.git
Fix base class specifiers, since be default if they aren't specified it is Private
# 23237 r= warren@netscape.com, ftang@netscape.com, jband@netscape.com
This commit is contained in:
Родитель
1f37b81420
Коммит
cb0c532e85
|
@ -32,7 +32,7 @@
|
|||
{ 0x7ee2a4c0, 0x4b91, 0x11d3, \
|
||||
{ 0xba, 0x18, 0x00, 0x60, 0xb0, 0xf1, 0x99, 0xa2 }}
|
||||
|
||||
class nsCertificatePrincipal : public nsICertificatePrincipal, nsBasePrincipal {
|
||||
class nsCertificatePrincipal : public nsICertificatePrincipal, public nsBasePrincipal {
|
||||
public:
|
||||
|
||||
NS_DEFINE_STATIC_CID_ACCESSOR(NS_CERTIFICATEPRINCIPALMANAGER_CID)
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
{ 0x7ee2a400, 0x0b91, 0xaad3, \
|
||||
{ 0xba, 0x18, 0xd7, 0x60, 0xb0, 0xf1, 0x99, 0xa2 }}
|
||||
|
||||
class nsCodebasePrincipal : public nsBasePrincipal, nsICodebasePrincipal {
|
||||
class nsCodebasePrincipal : public nsBasePrincipal, public nsICodebasePrincipal {
|
||||
public:
|
||||
|
||||
NS_DEFINE_STATIC_CID_ACCESSOR(NS_CODEBASEPRINCIPAL_CID)
|
||||
|
|
|
@ -318,7 +318,7 @@ static nsVerifier *gCJKVerifierSet[CJK_DETECTOR_NUM_VERIFIERS] = {
|
|||
};
|
||||
//==========================================================
|
||||
class nsXPCOMDetector :
|
||||
nsPSMDetector,
|
||||
private nsPSMDetector,
|
||||
public nsICharsetDetector // Implement the interface
|
||||
{
|
||||
NS_DECL_ISUPPORTS
|
||||
|
@ -389,7 +389,7 @@ void nsXPCOMDetector::Report(const char* charset)
|
|||
}
|
||||
//==========================================================
|
||||
class nsXPCOMStringDetector :
|
||||
nsPSMDetector,
|
||||
private nsPSMDetector,
|
||||
public nsIStringCharsetDetector // Implement the interface
|
||||
{
|
||||
NS_DECL_ISUPPORTS
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
#include "xpctest_inout.h"
|
||||
#include "xpctest_private.h"
|
||||
|
||||
class xpcTestInOut : nsIXPCTestInOut {
|
||||
class xpcTestInOut : public nsIXPCTestInOut {
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
NS_DECL_NSIXPCTESTINOUT
|
||||
|
|
|
@ -169,7 +169,7 @@ xpctest::ConstructXPCTestParentTwo(nsISupports *aOuter, REFNSIID aIID, void **aR
|
|||
* nsIXPCTestChild2 inherits from nsISupports
|
||||
*/
|
||||
|
||||
class xpcTestChild2 : public nsIXPCTestChild2, nsIXPCTestParentOne, nsIXPCTestParentTwo {
|
||||
class xpcTestChild2 : public nsIXPCTestChild2, public nsIXPCTestParentOne, public nsIXPCTestParentTwo {
|
||||
public:
|
||||
NS_DECL_NSIXPCTESTCHILD2
|
||||
NS_DECL_NSIXPCTESTPARENTONE
|
||||
|
@ -391,7 +391,7 @@ xpctest::ConstructXPCTestChild3(nsISupports *aOuter, REFNSIID aIID, void **aResu
|
|||
* directly from nsISupports) and two classes.
|
||||
*/
|
||||
|
||||
class xpcTestChild4 : public nsIXPCTestChild4, xpcTestParentOne, xpcTestParentTwo {
|
||||
class xpcTestChild4 : public nsIXPCTestChild4, public xpcTestParentOne, public xpcTestParentTwo {
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
NS_DECL_NSIXPCTESTCHILD4
|
||||
|
@ -461,7 +461,7 @@ xpctest::ConstructXPCTestChild4(nsISupports *aOuter, REFNSIID aIID, void **aResu
|
|||
* from nsIXPCTestParentOne) and the class xpcTestParentTwo
|
||||
*/
|
||||
|
||||
class xpcTestChild5 : public nsIXPCTestChild5, xpcTestParentTwo {
|
||||
class xpcTestChild5 : public nsIXPCTestChild5, public xpcTestParentTwo {
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
NS_DECL_NSIXPCTESTCHILD5
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
#include "nsIView.h"
|
||||
|
||||
|
||||
class AnonymousElement : public nsXMLElement, nsIStyledContent, nsIAnonymousContent
|
||||
class AnonymousElement : public nsXMLElement, public nsIStyledContent, public nsIAnonymousContent
|
||||
{
|
||||
public:
|
||||
AnonymousElement(nsIAtom *aTag):nsXMLElement(aTag) {}
|
||||
|
|
|
@ -48,9 +48,9 @@ nsresult NS_NewSliderFrame(nsIPresShell* aPresShell, nsIFrame** aResult) ;
|
|||
|
||||
|
||||
class nsSliderFrame : public nsHTMLContainerFrame,
|
||||
nsIDOMMouseListener,
|
||||
nsIAnonymousContentCreator,
|
||||
nsITimerCallback
|
||||
public nsIDOMMouseListener,
|
||||
public nsIAnonymousContentCreator,
|
||||
public nsITimerCallback
|
||||
{
|
||||
public:
|
||||
nsSliderFrame();
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
#include "nsCOMPtr.h"
|
||||
|
||||
class nsMsgWindow : public nsIMsgWindow, nsIURIContentListener {
|
||||
class nsMsgWindow : public nsIMsgWindow, public nsIURIContentListener {
|
||||
|
||||
public:
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include "nsIContentHandler.h"
|
||||
#include "nsCOMPtr.h"
|
||||
|
||||
class nsMsgComposeService : public nsIMsgComposeService, nsIContentHandler
|
||||
class nsMsgComposeService : public nsIMsgComposeService, public nsIContentHandler
|
||||
{
|
||||
public:
|
||||
nsMsgComposeService();
|
||||
|
|
|
@ -219,7 +219,7 @@ NS_IMETHODIMP nsSmtpService::GetDefaultPort(PRInt32 *aDefaultPort)
|
|||
// But we need to have a channel to return for nsSmtpService::NewChannel
|
||||
// that can simulate a real channel such that the uri loader can then get the
|
||||
// content type for the channel.
|
||||
class nsMailtoChannel : nsIChannel
|
||||
class nsMailtoChannel : public nsIChannel
|
||||
{
|
||||
public:
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ typedef struct {
|
|||
char *value;
|
||||
} headerInfoType;
|
||||
|
||||
class nsMimeBaseEmitter : public nsIMimeEmitter, nsIPipeObserver {
|
||||
class nsMimeBaseEmitter : public nsIMimeEmitter, public nsIPipeObserver {
|
||||
public:
|
||||
nsMimeBaseEmitter ();
|
||||
virtual ~nsMimeBaseEmitter (void);
|
||||
|
|
|
@ -30,8 +30,8 @@
|
|||
#include "nsRDFResource.h"
|
||||
#include "nsIDOMViewerElement.h"
|
||||
|
||||
class nsRDFDOMViewerElement : nsRDFResource,
|
||||
nsIDOMViewerElement
|
||||
class nsRDFDOMViewerElement : public nsRDFResource,
|
||||
public nsIDOMViewerElement
|
||||
{
|
||||
public:
|
||||
nsRDFDOMViewerElement();
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include "nsIRDFDOMViewerObject.h"
|
||||
#include "nsHashtable.h"
|
||||
|
||||
class nsDOMViewerObject : nsIRDFDOMViewerObject {
|
||||
class nsDOMViewerObject : public nsIRDFDOMViewerObject {
|
||||
public:
|
||||
nsDOMViewerObject();
|
||||
virtual ~nsDOMViewerObject();
|
||||
|
|
|
@ -475,7 +475,7 @@ NS_IMETHODIMP BarImpl::BarMethod2(PRInt32 i)
|
|||
|
||||
/***************************/
|
||||
|
||||
class FooBarImpl : FooImpl, BarImpl
|
||||
class FooBarImpl : public FooImpl, public BarImpl
|
||||
{
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
|
|
|
@ -212,7 +212,7 @@ NS_NewInternetSearchContext(nsIRDFResource *aParent, nsIRDFResource *aEngine,
|
|||
|
||||
|
||||
class InternetSearchDataSource : public nsIInternetSearchService,
|
||||
public nsIRDFDataSource, nsIStreamListener
|
||||
public nsIRDFDataSource, public nsIStreamListener
|
||||
{
|
||||
private:
|
||||
static PRInt32 gRefCnt;
|
||||
|
|
Загрузка…
Ссылка в новой задаче