mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-19 01:10:22 +00:00
Bug 1038200 - Fix the rest of the public refcounted destructors in widget/windows; r=bjacob
This commit is contained in:
parent
bf8a74902a
commit
9f8a55b140
@ -24,10 +24,10 @@ struct IDataObject;
|
||||
class nsClipboard : public nsBaseClipboard,
|
||||
public nsIObserver
|
||||
{
|
||||
virtual ~nsClipboard();
|
||||
|
||||
public:
|
||||
nsClipboard();
|
||||
virtual ~nsClipboard();
|
||||
|
||||
NS_DECL_ISUPPORTS_INHERITED
|
||||
|
||||
|
@ -36,9 +36,10 @@ private:
|
||||
class nsColorPicker :
|
||||
public nsIColorPicker
|
||||
{
|
||||
virtual ~nsColorPicker();
|
||||
|
||||
public:
|
||||
nsColorPicker();
|
||||
virtual ~nsColorPicker();
|
||||
|
||||
NS_DECL_ISUPPORTS
|
||||
|
||||
|
@ -72,9 +72,10 @@ protected:
|
||||
//-------------------------------------------------------------------------
|
||||
class nsPrinterEnumeratorWin MOZ_FINAL : public nsIPrinterEnumerator
|
||||
{
|
||||
~nsPrinterEnumeratorWin();
|
||||
|
||||
public:
|
||||
nsPrinterEnumeratorWin();
|
||||
~nsPrinterEnumeratorWin();
|
||||
NS_DECL_ISUPPORTS
|
||||
NS_DECL_NSIPRINTERENUMERATOR
|
||||
};
|
||||
|
@ -20,6 +20,8 @@ struct nsIntSize;
|
||||
|
||||
class nsNativeThemeWin : private nsNativeTheme,
|
||||
public nsITheme {
|
||||
virtual ~nsNativeThemeWin();
|
||||
|
||||
public:
|
||||
typedef mozilla::TimeStamp TimeStamp;
|
||||
typedef mozilla::TimeDuration TimeDuration;
|
||||
@ -75,7 +77,6 @@ public:
|
||||
virtual bool ShouldHideScrollbars() MOZ_OVERRIDE;
|
||||
|
||||
nsNativeThemeWin();
|
||||
virtual ~nsNativeThemeWin();
|
||||
|
||||
protected:
|
||||
HANDLE GetTheme(uint8_t aWidgetType);
|
||||
|
@ -18,13 +18,14 @@
|
||||
class nsPrintSettingsWin : public nsPrintSettings,
|
||||
public nsIPrintSettingsWin
|
||||
{
|
||||
virtual ~nsPrintSettingsWin();
|
||||
|
||||
public:
|
||||
NS_DECL_ISUPPORTS_INHERITED
|
||||
NS_DECL_NSIPRINTSETTINGSWIN
|
||||
|
||||
nsPrintSettingsWin();
|
||||
nsPrintSettingsWin(const nsPrintSettingsWin& aPS);
|
||||
virtual ~nsPrintSettingsWin();
|
||||
|
||||
/**
|
||||
* Makes a new copy
|
||||
|
@ -31,12 +31,12 @@ class nsScreenManagerWin MOZ_FINAL : public nsIScreenManager
|
||||
{
|
||||
public:
|
||||
nsScreenManagerWin ( );
|
||||
~nsScreenManagerWin();
|
||||
|
||||
NS_DECL_ISUPPORTS
|
||||
NS_DECL_NSISCREENMANAGER
|
||||
|
||||
private:
|
||||
~nsScreenManagerWin();
|
||||
|
||||
nsIScreen* CreateNewScreenObject ( HMONITOR inScreen ) ;
|
||||
|
||||
|
@ -19,7 +19,6 @@ class nsSound : public nsISound,
|
||||
{
|
||||
public:
|
||||
nsSound();
|
||||
virtual ~nsSound();
|
||||
void ShutdownOldPlayerThread();
|
||||
|
||||
NS_DECL_ISUPPORTS
|
||||
@ -27,6 +26,7 @@ public:
|
||||
NS_DECL_NSISTREAMLOADEROBSERVER
|
||||
|
||||
private:
|
||||
virtual ~nsSound();
|
||||
void PurgeLastSound();
|
||||
|
||||
private:
|
||||
|
@ -77,7 +77,6 @@ class nsWindow : public nsWindowBase
|
||||
typedef mozilla::widget::MSGResult MSGResult;
|
||||
public:
|
||||
nsWindow();
|
||||
virtual ~nsWindow();
|
||||
|
||||
NS_DECL_ISUPPORTS_INHERITED
|
||||
|
||||
@ -290,6 +289,7 @@ public:
|
||||
virtual bool ShouldUseOffMainThreadCompositing();
|
||||
|
||||
protected:
|
||||
virtual ~nsWindow();
|
||||
|
||||
virtual void WindowUsesOMTC() MOZ_OVERRIDE;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user