Bug 1020971 - Port bug 1015664: Remove NS_HIDDEN and friends.

Tag #1273
This commit is contained in:
Matt A. Tobin 2019-11-11 00:27:30 -05:00 • committed by Roy Tam
commit 707ff44b81
6 changed files with 0 additions and 33 deletions

View file

@ -40,9 +40,6 @@ class nsMsgKeySetU;
* class derived from nsMsgFolder for those folders that use an nsIMsgDatabase * class derived from nsMsgFolder for those folders that use an nsIMsgDatabase
*/ */
#undef IMETHOD_VISIBILITY
#define IMETHOD_VISIBILITY NS_VISIBILITY_DEFAULT
class NS_MSG_BASE nsMsgDBFolder: public nsRDFResource, class NS_MSG_BASE nsMsgDBFolder: public nsRDFResource,
public nsSupportsWeakReference, public nsSupportsWeakReference,
public nsIMsgFolder, public nsIMsgFolder,
@ -291,7 +288,4 @@ protected:
nsMsgKeySet* hiKeySet; nsMsgKeySet* hiKeySet;
}; };
#undef IMETHOD_VISIBILITY
#define IMETHOD_VISIBILITY NS_VISIBILITY_HIDDEN
#endif #endif

View file

@ -33,9 +33,6 @@ class nsIMsgProtocolInfo;
* this particular implementation is not meant to be used directly. * this particular implementation is not meant to be used directly.
*/ */
#undef IMETHOD_VISIBILITY
#define IMETHOD_VISIBILITY NS_VISIBILITY_DEFAULT
class NS_MSG_BASE nsMsgIncomingServer : public nsIMsgIncomingServer, class NS_MSG_BASE nsMsgIncomingServer : public nsIMsgIncomingServer,
public nsSupportsWeakReference, public nsSupportsWeakReference,
public nsIObserver public nsIObserver
@ -101,7 +98,4 @@ protected:
bool mPerformingBiff; bool mPerformingBiff;
}; };
#undef IMETHOD_VISIBILITY
#define IMETHOD_VISIBILITY NS_VISIBILITY_HIDDEN
#endif // nsMsgIncomingServer_h__ #endif // nsMsgIncomingServer_h__

View file

@ -34,9 +34,6 @@
// //
////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////
#undef IMETHOD_VISIBILITY
#define IMETHOD_VISIBILITY NS_VISIBILITY_DEFAULT
class NS_MSG_BASE nsMsgMailNewsUrl : public nsIMsgMailNewsUrl, class NS_MSG_BASE nsMsgMailNewsUrl : public nsIMsgMailNewsUrl,
public nsIURIWithPrincipal public nsIURIWithPrincipal
{ {
@ -80,7 +77,4 @@ protected:
nsTObserverArray<nsCOMPtr<nsIUrlListener> > mUrlListeners; nsTObserverArray<nsCOMPtr<nsIUrlListener> > mUrlListeners;
}; };
#undef IMETHOD_VISIBILITY
#define IMETHOD_VISIBILITY NS_VISIBILITY_HIDDEN
#endif /* nsMsgMailNewsUrl_h___ */ #endif /* nsMsgMailNewsUrl_h___ */

View file

@ -31,9 +31,6 @@ class nsIMsgMailNewsUrl;
class nsMsgFilePostHelper; class nsMsgFilePostHelper;
class nsIProxyInfo; class nsIProxyInfo;
#undef IMETHOD_VISIBILITY
#define IMETHOD_VISIBILITY NS_VISIBILITY_DEFAULT
// This is a helper class used to encapsulate code shared between all of the // This is a helper class used to encapsulate code shared between all of the
// mailnews protocol objects (imap, news, pop, smtp, etc.) In particular, // mailnews protocol objects (imap, news, pop, smtp, etc.) In particular,
// it unifies the core networking code for the protocols. My hope is that // it unifies the core networking code for the protocols. My hope is that
@ -233,7 +230,4 @@ protected:
virtual nsresult CloseSocket() override; virtual nsresult CloseSocket() override;
}; };
#undef IMETHOD_VISIBILITY
#define IMETHOD_VISIBILITY NS_VISIBILITY_HIDDEN
#endif /* nsMsgProtocol_h__ */ #endif /* nsMsgProtocol_h__ */

View file

@ -25,9 +25,6 @@
* base class for all message undo/redo transactions. * base class for all message undo/redo transactions.
*/ */
#undef IMETHOD_VISIBILITY
#define IMETHOD_VISIBILITY NS_VISIBILITY_DEFAULT
class NS_MSG_BASE nsMsgTxn : public nsITransaction, class NS_MSG_BASE nsMsgTxn : public nsITransaction,
public nsIWritablePropertyBag, public nsIWritablePropertyBag,
public nsIWritablePropertyBag2 public nsIWritablePropertyBag2
@ -67,7 +64,4 @@ protected:
nsresult CheckForToggleDelete(nsIMsgFolder *aFolder, const nsMsgKey &aMsgKey, bool *aResult); nsresult CheckForToggleDelete(nsIMsgFolder *aFolder, const nsMsgKey &aMsgKey, bool *aResult);
}; };
#undef IMETHOD_VISIBILITY
#define IMETHOD_VISIBILITY NS_VISIBILITY_HIDDEN
#endif #endif

View file

@ -14,9 +14,6 @@
#define NS_STOPWATCH_CONTRACTID "@mozilla.org/stopwatch;1" #define NS_STOPWATCH_CONTRACTID "@mozilla.org/stopwatch;1"
#undef IMETHOD_VISIBILITY
#define IMETHOD_VISIBILITY NS_VISIBILITY_DEFAULT
class NS_MSG_BASE nsStopwatch : public nsIStopwatch class NS_MSG_BASE nsStopwatch : public nsIStopwatch
{ {
public: public: