mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1015664. Part 2: Remove some NS_HIDDEN usage. r=bsmedberg
This commit is contained in:
parent
9170085906
commit
a8bbe633b9
@ -18,7 +18,7 @@ public:
|
|||||||
NS_DECL_ISUPPORTS
|
NS_DECL_ISUPPORTS
|
||||||
NS_DECL_NSISHELLSERVICE
|
NS_DECL_NSISHELLSERVICE
|
||||||
|
|
||||||
nsresult Init() NS_HIDDEN;
|
nsresult Init();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
~nsGNOMEShellService() {}
|
~nsGNOMEShellService() {}
|
||||||
|
@ -66,7 +66,7 @@ public:
|
|||||||
~nsXMLNameSpaceMap() { Clear(); }
|
~nsXMLNameSpaceMap() { Clear(); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
nsXMLNameSpaceMap() NS_HIDDEN; // use Create() to create new instances
|
nsXMLNameSpaceMap(); // use Create() to create new instances
|
||||||
|
|
||||||
nsTArray<nsNameSpaceEntry> mNameSpaces;
|
nsTArray<nsNameSpaceEntry> mNameSpaces;
|
||||||
};
|
};
|
||||||
|
@ -320,7 +320,7 @@ struct FireChangeArgs {
|
|||||||
// XXX Workaround for bug 980560 to maintain the existing broken semantics
|
// XXX Workaround for bug 980560 to maintain the existing broken semantics
|
||||||
template<>
|
template<>
|
||||||
struct nsIStyleRule::COMTypeInfo<css::Rule, void> {
|
struct nsIStyleRule::COMTypeInfo<css::Rule, void> {
|
||||||
static const nsIID kIID NS_HIDDEN;
|
static const nsIID kIID;
|
||||||
};
|
};
|
||||||
const nsIID nsIStyleRule::COMTypeInfo<css::Rule, void>::kIID = NS_ISTYLE_RULE_IID;
|
const nsIID nsIStyleRule::COMTypeInfo<css::Rule, void>::kIID = NS_ISTYLE_RULE_IID;
|
||||||
|
|
||||||
|
@ -40,8 +40,8 @@ public:
|
|||||||
PropertyList(nsIAtom* aName,
|
PropertyList(nsIAtom* aName,
|
||||||
NSPropertyDtorFunc aDtorFunc,
|
NSPropertyDtorFunc aDtorFunc,
|
||||||
void* aDtorData,
|
void* aDtorData,
|
||||||
bool aTransfer) NS_HIDDEN;
|
bool aTransfer);
|
||||||
~PropertyList() NS_HIDDEN;
|
~PropertyList();
|
||||||
|
|
||||||
// Removes the property associated with the given object, and destroys
|
// Removes the property associated with the given object, and destroys
|
||||||
// the property value
|
// the property value
|
||||||
|
@ -311,7 +311,7 @@ MaybeTestPBackground()
|
|||||||
// XXX Workaround for bug 986973 to maintain the existing broken semantics
|
// XXX Workaround for bug 986973 to maintain the existing broken semantics
|
||||||
template<>
|
template<>
|
||||||
struct nsIConsoleService::COMTypeInfo<nsConsoleService, void> {
|
struct nsIConsoleService::COMTypeInfo<nsConsoleService, void> {
|
||||||
static const nsIID kIID NS_HIDDEN;
|
static const nsIID kIID;
|
||||||
};
|
};
|
||||||
const nsIID nsIConsoleService::COMTypeInfo<nsConsoleService, void>::kIID = NS_ICONSOLESERVICE_IID;
|
const nsIID nsIConsoleService::COMTypeInfo<nsConsoleService, void>::kIID = NS_ICONSOLESERVICE_IID;
|
||||||
|
|
||||||
|
@ -62,12 +62,12 @@
|
|||||||
// XXX Workaround for bug 986974 to maintain the existing broken semantics
|
// XXX Workaround for bug 986974 to maintain the existing broken semantics
|
||||||
template<>
|
template<>
|
||||||
struct nsIMediaDevice::COMTypeInfo<mozilla::VideoDevice, void> {
|
struct nsIMediaDevice::COMTypeInfo<mozilla::VideoDevice, void> {
|
||||||
static const nsIID kIID NS_HIDDEN;
|
static const nsIID kIID;
|
||||||
};
|
};
|
||||||
const nsIID nsIMediaDevice::COMTypeInfo<mozilla::VideoDevice, void>::kIID = NS_IMEDIADEVICE_IID;
|
const nsIID nsIMediaDevice::COMTypeInfo<mozilla::VideoDevice, void>::kIID = NS_IMEDIADEVICE_IID;
|
||||||
template<>
|
template<>
|
||||||
struct nsIMediaDevice::COMTypeInfo<mozilla::AudioDevice, void> {
|
struct nsIMediaDevice::COMTypeInfo<mozilla::AudioDevice, void> {
|
||||||
static const nsIID kIID NS_HIDDEN;
|
static const nsIID kIID;
|
||||||
};
|
};
|
||||||
const nsIID nsIMediaDevice::COMTypeInfo<mozilla::AudioDevice, void>::kIID = NS_IMEDIADEVICE_IID;
|
const nsIID nsIMediaDevice::COMTypeInfo<mozilla::AudioDevice, void>::kIID = NS_IMEDIADEVICE_IID;
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ public:
|
|||||||
virtual nsIAtom* GetLanguageGroup(nsIAtom *aLanguage,
|
virtual nsIAtom* GetLanguageGroup(nsIAtom *aLanguage,
|
||||||
nsresult *aError);
|
nsresult *aError);
|
||||||
|
|
||||||
nsLanguageAtomService() NS_HIDDEN;
|
nsLanguageAtomService();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
NS_HIDDEN ~nsLanguageAtomService() { }
|
NS_HIDDEN ~nsLanguageAtomService() { }
|
||||||
|
@ -84,8 +84,8 @@ static const PLDHashTableOps PlaceholderMapOps = {
|
|||||||
|
|
||||||
class nsFrameManagerBase::UndisplayedMap {
|
class nsFrameManagerBase::UndisplayedMap {
|
||||||
public:
|
public:
|
||||||
UndisplayedMap(uint32_t aNumBuckets = 16) NS_HIDDEN;
|
UndisplayedMap(uint32_t aNumBuckets = 16);
|
||||||
~UndisplayedMap(void) NS_HIDDEN;
|
~UndisplayedMap(void);
|
||||||
|
|
||||||
UndisplayedNode* GetFirstNode(nsIContent* aParentContent);
|
UndisplayedNode* GetFirstNode(nsIContent* aParentContent);
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@ public:
|
|||||||
MOZ_ASSERT(mPresShell, "need a pres shell");
|
MOZ_ASSERT(mPresShell, "need a pres shell");
|
||||||
MOZ_ASSERT(mStyleSet, "need a style set");
|
MOZ_ASSERT(mStyleSet, "need a style set");
|
||||||
}
|
}
|
||||||
~nsFrameManager() NS_HIDDEN;
|
~nsFrameManager();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* After Destroy is called, it is an error to call any FrameManager methods.
|
* After Destroy is called, it is an error to call any FrameManager methods.
|
||||||
|
@ -155,7 +155,7 @@ public:
|
|||||||
eAlwaysRebuildStyle
|
eAlwaysRebuildStyle
|
||||||
};
|
};
|
||||||
|
|
||||||
nsPresContext(nsIDocument* aDocument, nsPresContextType aType) NS_HIDDEN;
|
nsPresContext(nsIDocument* aDocument, nsPresContextType aType);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialize the presentation context from a particular device.
|
* Initialize the presentation context from a particular device.
|
||||||
@ -1345,7 +1345,7 @@ protected:
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
virtual ~nsPresContext() NS_HIDDEN;
|
virtual ~nsPresContext();
|
||||||
|
|
||||||
// these are private, use the list in nsFont.h if you want a public list
|
// these are private, use the list in nsFont.h if you want a public list
|
||||||
enum {
|
enum {
|
||||||
@ -1377,7 +1377,7 @@ public:
|
|||||||
|
|
||||||
class nsRootPresContext MOZ_FINAL : public nsPresContext {
|
class nsRootPresContext MOZ_FINAL : public nsPresContext {
|
||||||
public:
|
public:
|
||||||
nsRootPresContext(nsIDocument* aDocument, nsPresContextType aType) NS_HIDDEN;
|
nsRootPresContext(nsIDocument* aDocument, nsPresContextType aType);
|
||||||
virtual ~nsRootPresContext();
|
virtual ~nsRootPresContext();
|
||||||
virtual void Detach() MOZ_OVERRIDE;
|
virtual void Detach() MOZ_OVERRIDE;
|
||||||
|
|
||||||
|
@ -32,8 +32,8 @@ class nsStyleSheetService MOZ_FINAL
|
|||||||
, public nsIMemoryReporter
|
, public nsIMemoryReporter
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
nsStyleSheetService() NS_HIDDEN;
|
nsStyleSheetService();
|
||||||
~nsStyleSheetService() NS_HIDDEN;
|
~nsStyleSheetService();
|
||||||
|
|
||||||
NS_DECL_ISUPPORTS
|
NS_DECL_ISUPPORTS
|
||||||
NS_DECL_NSISTYLESHEETSERVICE
|
NS_DECL_NSISTYLESHEETSERVICE
|
||||||
|
@ -31,8 +31,8 @@ public:
|
|||||||
nsRenderingContext* aRenderingContext = nullptr,
|
nsRenderingContext* aRenderingContext = nullptr,
|
||||||
// see OuterReflowState() below
|
// see OuterReflowState() below
|
||||||
const nsHTMLReflowState* aOuterReflowState = nullptr,
|
const nsHTMLReflowState* aOuterReflowState = nullptr,
|
||||||
uint16_t aReflowDepth = 0) NS_HIDDEN;
|
uint16_t aReflowDepth = 0);
|
||||||
nsBoxLayoutState(const nsBoxLayoutState& aState) NS_HIDDEN;
|
nsBoxLayoutState(const nsBoxLayoutState& aState);
|
||||||
|
|
||||||
nsPresContext* PresContext() const { return mPresContext; }
|
nsPresContext* PresContext() const { return mPresContext; }
|
||||||
nsIPresShell* PresShell() const { return mPresContext->PresShell(); }
|
nsIPresShell* PresShell() const { return mPresContext->PresShell(); }
|
||||||
|
@ -151,7 +151,7 @@ PRLogModuleInfo *signalingLogInfo() {
|
|||||||
// XXX Workaround for bug 998092 to maintain the existing broken semantics
|
// XXX Workaround for bug 998092 to maintain the existing broken semantics
|
||||||
template<>
|
template<>
|
||||||
struct nsISupportsWeakReference::COMTypeInfo<nsSupportsWeakReference, void> {
|
struct nsISupportsWeakReference::COMTypeInfo<nsSupportsWeakReference, void> {
|
||||||
static const nsIID kIID NS_HIDDEN;
|
static const nsIID kIID;
|
||||||
};
|
};
|
||||||
const nsIID nsISupportsWeakReference::COMTypeInfo<nsSupportsWeakReference, void>::kIID = NS_ISUPPORTSWEAKREFERENCE_IID;
|
const nsIID nsISupportsWeakReference::COMTypeInfo<nsSupportsWeakReference, void>::kIID = NS_ISUPPORTSWEAKREFERENCE_IID;
|
||||||
|
|
||||||
|
@ -78,8 +78,8 @@ private:
|
|||||||
// These shouldn't be called directly:
|
// These shouldn't be called directly:
|
||||||
// - construct using GetInstance
|
// - construct using GetInstance
|
||||||
// - destroy using Release
|
// - destroy using Release
|
||||||
nsIOService() NS_HIDDEN;
|
nsIOService();
|
||||||
~nsIOService() NS_HIDDEN;
|
~nsIOService();
|
||||||
|
|
||||||
nsresult TrackNetworkLinkStatusForOffline();
|
nsresult TrackNetworkLinkStatusForOffline();
|
||||||
|
|
||||||
|
@ -36,14 +36,14 @@ public:
|
|||||||
NS_DECL_NSIPROTOCOLPROXYSERVICE
|
NS_DECL_NSIPROTOCOLPROXYSERVICE
|
||||||
NS_DECL_NSIOBSERVER
|
NS_DECL_NSIOBSERVER
|
||||||
|
|
||||||
nsProtocolProxyService() NS_HIDDEN;
|
nsProtocolProxyService();
|
||||||
|
|
||||||
nsresult Init();
|
nsresult Init();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
friend class nsAsyncResolveRequest;
|
friend class nsAsyncResolveRequest;
|
||||||
|
|
||||||
~nsProtocolProxyService() NS_HIDDEN;
|
~nsProtocolProxyService();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method is called whenever a preference may have changed or
|
* This method is called whenever a preference may have changed or
|
||||||
|
@ -23,7 +23,7 @@ public:
|
|||||||
nsresult Init();
|
nsresult Init();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
~nsGConfService() NS_HIDDEN;
|
~nsGConfService();
|
||||||
|
|
||||||
GConfClient *mClient;
|
GConfClient *mClient;
|
||||||
};
|
};
|
||||||
|
@ -58,7 +58,7 @@ nsAndroidHandlerApp::SetDetailedDescription(const nsAString & aDescription)
|
|||||||
// XXX Workaround for bug 986975 to maintain the existing broken semantics
|
// XXX Workaround for bug 986975 to maintain the existing broken semantics
|
||||||
template<>
|
template<>
|
||||||
struct nsISharingHandlerApp::COMTypeInfo<nsAndroidHandlerApp, void> {
|
struct nsISharingHandlerApp::COMTypeInfo<nsAndroidHandlerApp, void> {
|
||||||
static const nsIID kIID NS_HIDDEN;
|
static const nsIID kIID;
|
||||||
};
|
};
|
||||||
const nsIID nsISharingHandlerApp::COMTypeInfo<nsAndroidHandlerApp, void>::kIID = NS_IHANDLERAPP_IID;
|
const nsIID nsISharingHandlerApp::COMTypeInfo<nsAndroidHandlerApp, void>::kIID = NS_IHANDLERAPP_IID;
|
||||||
|
|
||||||
|
@ -405,7 +405,7 @@ nsMIMEInfoAndroid::SystemChooser::SetDetailedDescription(const nsAString&) {
|
|||||||
// XXX Workaround for bug 986975 to maintain the existing broken semantics
|
// XXX Workaround for bug 986975 to maintain the existing broken semantics
|
||||||
template<>
|
template<>
|
||||||
struct nsIHandlerApp::COMTypeInfo<nsMIMEInfoAndroid::SystemChooser, void> {
|
struct nsIHandlerApp::COMTypeInfo<nsMIMEInfoAndroid::SystemChooser, void> {
|
||||||
static const nsIID kIID NS_HIDDEN;
|
static const nsIID kIID;
|
||||||
};
|
};
|
||||||
const nsIID nsIHandlerApp::COMTypeInfo<nsMIMEInfoAndroid::SystemChooser, void>::kIID = NS_IHANDLERAPP_IID;
|
const nsIID nsIHandlerApp::COMTypeInfo<nsMIMEInfoAndroid::SystemChooser, void>::kIID = NS_IHANDLERAPP_IID;
|
||||||
|
|
||||||
|
@ -67,9 +67,9 @@ class nsMIMEInfoBase : public nsIMIMEInfo {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// nsMIMEInfoBase methods
|
// nsMIMEInfoBase methods
|
||||||
nsMIMEInfoBase(const char *aMIMEType = "") NS_HIDDEN;
|
nsMIMEInfoBase(const char *aMIMEType = "");
|
||||||
nsMIMEInfoBase(const nsACString& aMIMEType) NS_HIDDEN;
|
nsMIMEInfoBase(const nsACString& aMIMEType);
|
||||||
nsMIMEInfoBase(const nsACString& aType, HandlerClass aClass) NS_HIDDEN;
|
nsMIMEInfoBase(const nsACString& aType, HandlerClass aClass);
|
||||||
virtual ~nsMIMEInfoBase(); // must be virtual, as the the base class's Release should call the subclass's destructor
|
virtual ~nsMIMEInfoBase(); // must be virtual, as the the base class's Release should call the subclass's destructor
|
||||||
|
|
||||||
void SetMIMEType(const nsACString & aMIMEType) { mSchemeOrType = aMIMEType; }
|
void SetMIMEType(const nsACString & aMIMEType) { mSchemeOrType = aMIMEType; }
|
||||||
|
@ -66,7 +66,7 @@
|
|||||||
* Other examples:
|
* Other examples:
|
||||||
*
|
*
|
||||||
* NS_HIDDEN_(int) someMethod();
|
* NS_HIDDEN_(int) someMethod();
|
||||||
* SomeCtor() NS_HIDDEN;
|
* SomeCtor();
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_VISIBILITY_HIDDEN_ATTRIBUTE
|
#ifdef HAVE_VISIBILITY_HIDDEN_ATTRIBUTE
|
||||||
|
Loading…
Reference in New Issue
Block a user