From 5b31654c498eac00c40ebe8389cdd39c9a0e57a3 Mon Sep 17 00:00:00 2001 From: "bzbarsky%mit.edu" Date: Sun, 18 Apr 2004 17:15:03 +0000 Subject: [PATCH] Forgot to commit this file. Bug 232175, patch by Isaac Hwak Han , r=bryner, sr=bzbarsky --- gfx/src/windows/nsNativeThemeWin.h | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/gfx/src/windows/nsNativeThemeWin.h b/gfx/src/windows/nsNativeThemeWin.h index 00656dcf6130..bc2e3db6c5c4 100644 --- a/gfx/src/windows/nsNativeThemeWin.h +++ b/gfx/src/windows/nsNativeThemeWin.h @@ -40,9 +40,11 @@ #include "nsITheme.h" #include "nsCOMPtr.h" #include "nsIAtom.h" +#include "nsNativeTheme.h" #include -class nsNativeThemeWin: public nsITheme { +class nsNativeThemeWin : private nsNativeTheme, + public nsITheme { public: NS_DECL_ISUPPORTS @@ -103,15 +105,6 @@ protected: nsIFrame* aFrame, PRUint8 aWidgetType); - - PRBool IsDisabled(nsIFrame* aFrame); - PRBool IsReadOnly(nsIFrame* aFrame); - PRBool IsChecked(nsIFrame* aFrame); - PRBool IsSelected(nsIFrame* aFrame); - PRBool IsBottomTab(nsIFrame* aFrame); - - PRBool IsWidgetStyled(nsIPresContext* aPresContext, nsIFrame* aFrame, PRUint8 aWidgetType); - private: HMODULE mThemeDLL; HANDLE mButtonTheme; @@ -127,15 +120,9 @@ private: HANDLE mComboBoxTheme; HANDLE mHeaderTheme; - nsCOMPtr mCheckedAtom; nsCOMPtr mInputAtom; nsCOMPtr mInputCheckedAtom; - nsCOMPtr mDisabledAtom; - nsCOMPtr mSelectedAtom; nsCOMPtr mTypeAtom; - nsCOMPtr mReadOnlyAtom; - nsCOMPtr mDefaultAtom; - nsCOMPtr mClassAtom; }; // Creator function